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
[ 27, 56, 22, 81 ]
24
[ "27+56=83", "81-22=59", "83-59=24" ]
Current State: 24:[27, 56, 22, 81], Operations: [] Exploring Operation: 27+56=83, Resulting Numbers: [22, 81, 83] Generated Node #2: [22, 81, 83] from Operation: 27+56=83 Current State: 24:[22, 81, 83], Operations: ['27+56=83'] Exploring Operation: 81-22=59, Resulting Numbers: [83, 59] Generated Node #3: [83, 59] from Operation: 81-22=59 Current State: 24:[83, 59], Operations: ['27+56=83', '81-22=59'] Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[27, 56, 22, 81], Operations: [] Exploring Operation: 81-56=25, Resulting Numbers: [27, 22, 25] Generated Node #0,0: 24:[27, 22, 25] Operation: 81-56=25 Exploring Operation: 81/27=3, Resulting Numbers: [56, 22, 3] Generated Node #0,1: 24:[56, 22, 3] Operation: 81/27=3 Exploring Operation: 56-27=29, Resulting Numbers: [22, 81, 29] Generated Node #0,2: 24:[22, 81, 29] Operation: 56-27=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[27, 22, 25], Operations: ['81-56=25'] Exploring Operation: 27-25=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 24:[22, 2] Operation: 27-25=2 Exploring Operation: 27-22=5, Resulting Numbers: [25, 5] Generated Node #0,0,1: 24:[25, 5] Operation: 27-22=5 Exploring Operation: 25-22=3, Resulting Numbers: [27, 3] Generated Node #0,0,2: 24:[27, 3] Operation: 25-22=3 Moving to Node #0,0,0 Current State: 24:[22, 2], Operations: ['81-56=25', '27-25=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[27, 56, 22, 81], Operations: [] Exploring Operation: 81-56=25, Resulting Numbers: [27, 22, 25] Generated Node #0,0: 24:[27, 22, 25] Operation: 81-56=25 Moving to Node #0,0 Current State: 24:[27, 22, 25], Operations: ['81-56=25'] Exploring Operation: 27-25=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 24:[22, 2] Operation: 27-25=2 Moving to Node #0,0,0 Current State: 24:[22, 2], Operations: ['81-56=25', '27-25=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 88, 1, 2, 59 ]
74
[ "88+1=89", "59+89=148", "148/2=74" ]
Current State: 74:[88, 1, 2, 59], Operations: [] Exploring Operation: 88+1=89, Resulting Numbers: [2, 59, 89] Generated Node #2: [2, 59, 89] from Operation: 88+1=89 Current State: 74:[2, 59, 89], Operations: ['88+1=89'] Exploring Operation: 59+89=148, Resulting Numbers: [2, 148] Generated Node #3: [2, 148] from Operation: 59+89=148 Current State: 74:[2, 148], Operations: ['88+1=89', '59+89=148'] Exploring Operation: 148/2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[88, 1, 2, 59], Operations: [] Exploring Operation: 88-59=29, Resulting Numbers: [1, 2, 29] Generated Node #0,0: 74:[1, 2, 29] Operation: 88-59=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[1, 2, 29], Operations: ['88-59=29'] Exploring Operation: 1+29=30, Resulting Numbers: [2, 30] Generated Node #0,0,0: 74:[2, 30] Operation: 1+29=30 Moving to Node #0,0,0 Current State: 74:[2, 30], Operations: ['88-59=29', '1+29=30'] Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 36, 47, 44, 68 ]
13
[ "47-36=11", "68-44=24", "24-11=13" ]
Current State: 13:[36, 47, 44, 68], Operations: [] Exploring Operation: 47-36=11, Resulting Numbers: [44, 68, 11] Generated Node #2: [44, 68, 11] from Operation: 47-36=11 Current State: 13:[44, 68, 11], Operations: ['47-36=11'] Exploring Operation: 68-44=24, Resulting Numbers: [11, 24] Generated Node #3: [11, 24] from Operation: 68-44=24 Current State: 13:[11, 24], Operations: ['47-36=11', '68-44=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[36, 47, 44, 68], Operations: [] Exploring Operation: 68-36=32, Resulting Numbers: [47, 44, 32] Generated Node #0,0: 13:[47, 44, 32] Operation: 68-36=32 Exploring Operation: 68-47=21, Resulting Numbers: [36, 44, 21] Generated Node #0,1: 13:[36, 44, 21] Operation: 68-47=21 Exploring Operation: 68-44=24, Resulting Numbers: [36, 47, 24] Generated Node #0,2: 13:[36, 47, 24] Operation: 68-44=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[36, 44, 21], Operations: ['68-47=21'] Exploring Operation: 36-21=15, Resulting Numbers: [44, 15] Generated Node #0,1,0: 13:[44, 15] Operation: 36-21=15 Exploring Operation: 44-21=23, Resulting Numbers: [36, 23] Generated Node #0,1,1: 13:[36, 23] Operation: 44-21=23 Exploring Operation: 44-36=8, Resulting Numbers: [21, 8] Generated Node #0,1,2: 13:[21, 8] Operation: 44-36=8 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 13:[21, 8], Operations: ['68-47=21', '44-36=8'] Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,13 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[36, 47, 44, 68], Operations: [] Exploring Operation: 68-47=21, Resulting Numbers: [36, 44, 21] Generated Node #0,1: 13:[36, 44, 21] Operation: 68-47=21 Moving to Node #0,1 Current State: 13:[36, 44, 21], Operations: ['68-47=21'] Exploring Operation: 44-36=8, Resulting Numbers: [21, 8] Generated Node #0,1,2: 13:[21, 8] Operation: 44-36=8 Moving to Node #0,1,2 Current State: 13:[21, 8], Operations: ['68-47=21', '44-36=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 58, 98, 51, 62 ]
43
[ "58+98=156", "51+62=113", "156-113=43" ]
Current State: 43:[58, 98, 51, 62], Operations: [] Exploring Operation: 58+98=156, Resulting Numbers: [51, 62, 156] Generated Node #2: [51, 62, 156] from Operation: 58+98=156 Current State: 43:[51, 62, 156], Operations: ['58+98=156'] Exploring Operation: 51+62=113, Resulting Numbers: [156, 113] Generated Node #3: [156, 113] from Operation: 51+62=113 Current State: 43:[156, 113], Operations: ['58+98=156', '51+62=113'] Exploring Operation: 156-113=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[58, 98, 51, 62], Operations: [] Exploring Operation: 98-51=47, Resulting Numbers: [58, 62, 47] Generated Node #0,0: 43:[58, 62, 47] Operation: 98-51=47 Exploring Operation: 98-62=36, Resulting Numbers: [58, 51, 36] Generated Node #0,1: 43:[58, 51, 36] Operation: 98-62=36 Exploring Operation: 98-58=40, Resulting Numbers: [51, 62, 40] Generated Node #0,2: 43:[51, 62, 40] Operation: 98-58=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[58, 51, 36], Operations: ['98-62=36'] Exploring Operation: 58-51=7, Resulting Numbers: [36, 7] Generated Node #0,1,0: 43:[36, 7] Operation: 58-51=7 Exploring Operation: 58-36=22, Resulting Numbers: [51, 22] Generated Node #0,1,1: 43:[51, 22] Operation: 58-36=22 Exploring Operation: 51-36=15, Resulting Numbers: [58, 15] Generated Node #0,1,2: 43:[58, 15] Operation: 51-36=15 Moving to Node #0,1,1 Current State: 43:[51, 22], Operations: ['98-62=36', '58-36=22'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 51*22=1122, Resulting Numbers: [1122] 1122,43 unequal: No Solution Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[36, 7], Operations: ['98-62=36', '58-51=7'] Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[58, 98, 51, 62], Operations: [] Exploring Operation: 98-62=36, Resulting Numbers: [58, 51, 36] Generated Node #0,1: 43:[58, 51, 36] Operation: 98-62=36 Moving to Node #0,1 Current State: 43:[58, 51, 36], Operations: ['98-62=36'] Exploring Operation: 58-51=7, Resulting Numbers: [36, 7] Generated Node #0,1,0: 43:[36, 7] Operation: 58-51=7 Moving to Node #0,1,0 Current State: 43:[36, 7], Operations: ['98-62=36', '58-51=7'] Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 57, 3, 12, 30 ]
12
[ "57-3=54", "12+30=42", "54-42=12" ]
Current State: 12:[57, 3, 12, 30], Operations: [] Exploring Operation: 57-3=54, Resulting Numbers: [12, 30, 54] Generated Node #2: [12, 30, 54] from Operation: 57-3=54 Current State: 12:[12, 30, 54], Operations: ['57-3=54'] Exploring Operation: 12+30=42, Resulting Numbers: [54, 42] Generated Node #3: [54, 42] from Operation: 12+30=42 Current State: 12:[54, 42], Operations: ['57-3=54', '12+30=42'] Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[57, 3, 12, 30], Operations: [] Exploring Operation: 57-30=27, Resulting Numbers: [3, 12, 27] Generated Node #0,0: 12:[3, 12, 27] Operation: 57-30=27 Moving to Node #0,0 Current State: 12:[3, 12, 27], Operations: ['57-30=27'] Exploring Operation: 27/3=9, Resulting Numbers: [12, 9] Generated Node #0,0,0: 12:[12, 9] Operation: 27/3=9 Moving to Node #0,0,0 Current State: 12:[12, 9], Operations: ['57-30=27', '27/3=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,12 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 19, 61, 80, 99 ]
100
[ "19+61=80", "80/80=1", "99+1=100" ]
Current State: 100:[19, 61, 80, 99], Operations: [] Exploring Operation: 19+61=80, Resulting Numbers: [80, 99, 80] Generated Node #2: [80, 99, 80] from Operation: 19+61=80 Current State: 100:[80, 99, 80], Operations: ['19+61=80'] Exploring Operation: 80/80=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 80/80=1 Current State: 100:[99, 1], Operations: ['19+61=80', '80/80=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[19, 61, 80, 99], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [19, 99, 19] Generated Node #0,0: 100:[19, 99, 19] Operation: 80-61=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[19, 99, 19], Operations: ['80-61=19'] Exploring Operation: 19/19=1, Resulting Numbers: [99, 1] Generated Node #0,0,0: 100:[99, 1] Operation: 19/19=1 Moving to Node #0,0,0 Current State: 100:[99, 1], Operations: ['80-61=19', '19/19=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[19, 61, 80, 99], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [19, 99, 19] Generated Node #0,0: 100:[19, 99, 19] Operation: 80-61=19 Moving to Node #0,0 Current State: 100:[19, 99, 19], Operations: ['80-61=19'] Exploring Operation: 19/19=1, Resulting Numbers: [99, 1] Generated Node #0,0,0: 100:[99, 1] Operation: 19/19=1 Moving to Node #0,0,0 Current State: 100:[99, 1], Operations: ['80-61=19', '19/19=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 94, 44, 64, 42 ]
28
[ "94-44=50", "64-42=22", "50-22=28" ]
Current State: 28:[94, 44, 64, 42], Operations: [] Exploring Operation: 94-44=50, Resulting Numbers: [64, 42, 50] Generated Node #2: [64, 42, 50] from Operation: 94-44=50 Current State: 28:[64, 42, 50], Operations: ['94-44=50'] Exploring Operation: 64-42=22, Resulting Numbers: [50, 22] Generated Node #3: [50, 22] from Operation: 64-42=22 Current State: 28:[50, 22], Operations: ['94-44=50', '64-42=22'] Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[94, 44, 64, 42], Operations: [] Exploring Operation: 94-44=50, Resulting Numbers: [64, 42, 50] Generated Node #0,0: 28:[64, 42, 50] Operation: 94-44=50 Exploring Operation: 94-64=30, Resulting Numbers: [44, 42, 30] Generated Node #0,1: 28:[44, 42, 30] Operation: 94-64=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[44, 42, 30], Operations: ['94-64=30'] Exploring Operation: 44-42=2, Resulting Numbers: [30, 2] Generated Node #0,1,0: 28:[30, 2] Operation: 44-42=2 Exploring Operation: 44-30=14, Resulting Numbers: [42, 14] Generated Node #0,1,1: 28:[42, 14] Operation: 44-30=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[30, 2], Operations: ['94-64=30', '44-42=2'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[94, 44, 64, 42], Operations: [] Exploring Operation: 94-64=30, Resulting Numbers: [44, 42, 30] Generated Node #0,1: 28:[44, 42, 30] Operation: 94-64=30 Moving to Node #0,1 Current State: 28:[44, 42, 30], Operations: ['94-64=30'] Exploring Operation: 44-42=2, Resulting Numbers: [30, 2] Generated Node #0,1,0: 28:[30, 2] Operation: 44-42=2 Moving to Node #0,1,0 Current State: 28:[30, 2], Operations: ['94-64=30', '44-42=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 57, 4, 16, 2 ]
50
[ "57*2=114", "4*16=64", "114-64=50" ]
Current State: 50:[57, 4, 16, 2], Operations: [] Exploring Operation: 57*2=114, Resulting Numbers: [4, 16, 114] Generated Node #2: [4, 16, 114] from Operation: 57*2=114 Current State: 50:[4, 16, 114], Operations: ['57*2=114'] Exploring Operation: 4*16=64, Resulting Numbers: [114, 64] Generated Node #3: [114, 64] from Operation: 4*16=64 Current State: 50:[114, 64], Operations: ['57*2=114', '4*16=64'] Exploring Operation: 114-64=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[57, 4, 16, 2], Operations: [] Exploring Operation: 57-4=53, Resulting Numbers: [16, 2, 53] Generated Node #0,0: 50:[16, 2, 53] Operation: 57-4=53 Exploring Operation: 16/4=4, Resulting Numbers: [57, 2, 4] Generated Node #0,1: 50:[57, 2, 4] Operation: 16/4=4 Exploring Operation: 16-4=12, Resulting Numbers: [57, 2, 12] Generated Node #0,2: 50:[57, 2, 12] Operation: 16-4=12 Moving to Node #0,1 Current State: 50:[57, 2, 4], Operations: ['16/4=4'] Exploring Operation: 57-4=53, Resulting Numbers: [2, 53] Generated Node #0,1,0: 50:[2, 53] Operation: 57-4=53 Exploring Operation: 57-2=55, Resulting Numbers: [4, 55] Generated Node #0,1,1: 50:[4, 55] Operation: 57-2=55 Exploring Operation: 4-2=2, Resulting Numbers: [57, 2] Generated Node #0,1,2: 50:[57, 2] Operation: 4-2=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[2, 53], Operations: ['16/4=4', '57-4=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,50 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[4, 55], Operations: ['16/4=4', '57-2=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[57, 2], Operations: ['16/4=4', '4-2=2'] Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,50 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,50 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: 50:[16, 2, 53], Operations: ['57-4=53'] Exploring Operation: 16-2=14, Resulting Numbers: [53, 14] Generated Node #0,0,0: 50:[53, 14] Operation: 16-2=14 Exploring Operation: 53-2=51, Resulting Numbers: [16, 51] Generated Node #0,0,1: 50:[16, 51] Operation: 53-2=51 Exploring Operation: 16/2=8, Resulting Numbers: [53, 8] Generated Node #0,0,2: 50:[53, 8] Operation: 16/2=8 Moving to Node #0,2 Current State: 50:[57, 2, 12], Operations: ['16-4=12'] Exploring Operation: 12-2=10, Resulting Numbers: [57, 10] Generated Node #0,2,0: 50:[57, 10] Operation: 12-2=10 Exploring Operation: 57-12=45, Resulting Numbers: [2, 45] Generated Node #0,2,1: 50:[2, 45] Operation: 57-12=45 Exploring Operation: 57-2=55, Resulting Numbers: [12, 55] Generated Node #0,2,2: 50:[12, 55] Operation: 57-2=55 Moving to Node #0,0,2 Current State: 50:[53, 8], Operations: ['57-4=53', '16/2=8'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 53*8=424, Resulting Numbers: [424] 424,50 unequal: No Solution Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[2, 45], Operations: ['16-4=12', '57-12=45'] Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,50 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[16, 51], Operations: ['57-4=53', '53-2=51'] Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,50 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[12, 55], Operations: ['16-4=12', '57-2=55'] Exploring Operation: 12*55=660, Resulting Numbers: [660] 660,50 unequal: No Solution Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,50 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[57, 10], Operations: ['16-4=12', '12-2=10'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,50 unequal: No Solution Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[53, 14], Operations: ['57-4=53', '16-2=14'] Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,50 unequal: No Solution Exploring Operation: 53*14=742, Resulting Numbers: [742] 742,50 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,50 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 51, 28, 74, 35 ]
86
[ "51-28=23", "74+35=109", "109-23=86" ]
Current State: 86:[51, 28, 74, 35], Operations: [] Exploring Operation: 51-28=23, Resulting Numbers: [74, 35, 23] Generated Node #2: [74, 35, 23] from Operation: 51-28=23 Current State: 86:[74, 35, 23], Operations: ['51-28=23'] Exploring Operation: 74+35=109, Resulting Numbers: [23, 109] Generated Node #3: [23, 109] from Operation: 74+35=109 Current State: 86:[23, 109], Operations: ['51-28=23', '74+35=109'] Exploring Operation: 109-23=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[51, 28, 74, 35], Operations: [] Exploring Operation: 74-35=39, Resulting Numbers: [51, 28, 39] Generated Node #0,0: 86:[51, 28, 39] Operation: 74-35=39 Exploring Operation: 51+28=79, Resulting Numbers: [74, 35, 79] Generated Node #0,1: 86:[74, 35, 79] Operation: 51+28=79 Exploring Operation: 35-28=7, Resulting Numbers: [51, 74, 7] Generated Node #0,2: 86:[51, 74, 7] Operation: 35-28=7 Exploring Operation: 51+35=86, Resulting Numbers: [28, 74, 86] Generated Node #0,3: 86:[28, 74, 86] Operation: 51+35=86 Exploring Operation: 74-28=46, Resulting Numbers: [51, 35, 46] Generated Node #0,4: 86:[51, 35, 46] Operation: 74-28=46 Start Sub Search at level 1: Moving to Node #0,4 Current State: 86:[51, 35, 46], Operations: ['74-28=46'] Exploring Operation: 51+35=86, Resulting Numbers: [46, 86] Generated Node #0,4,0: 86:[46, 86] Operation: 51+35=86 Exploring Operation: 35+46=81, Resulting Numbers: [51, 81] Generated Node #0,4,1: 86:[51, 81] Operation: 35+46=81 Exploring Operation: 46-35=11, Resulting Numbers: [51, 11] Generated Node #0,4,2: 86:[51, 11] Operation: 46-35=11 Exploring Operation: 51-46=5, Resulting Numbers: [35, 5] Generated Node #0,4,3: 86:[35, 5] Operation: 51-46=5 Exploring Operation: 51-35=16, Resulting Numbers: [46, 16] Generated Node #0,4,4: 86:[46, 16] Operation: 51-35=16 Moving to Node #0,4,0 Current State: 86:[46, 86], Operations: ['74-28=46', '51+35=86'] Exploring Operation: 46*86=3956, Resulting Numbers: [3956] 3956,86 unequal: No Solution Exploring Operation: 86-46=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 46+86=132, Resulting Numbers: [132] 132,86 unequal: No Solution Moving to Node #0,4,3 Current State: 86:[35, 5], Operations: ['74-28=46', '51-46=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,86 unequal: No Solution Moving to Node #0,4,1 Current State: 86:[51, 81], Operations: ['74-28=46', '35+46=81'] Exploring Operation: 51*81=4131, Resulting Numbers: [4131] 4131,86 unequal: No Solution Exploring Operation: 51+81=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,86 unequal: No Solution Moving to Node #0,4,2 Current State: 86:[51, 11], Operations: ['74-28=46', '46-35=11'] Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,86 unequal: No Solution Moving to Node #0,4,4 Current State: 86:[46, 16], Operations: ['74-28=46', '51-35=16'] Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,86 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,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,2 Current State: 86:[51, 74, 7], Operations: ['35-28=7'] Exploring Operation: 74+7=81, Resulting Numbers: [51, 81] Generated Node #0,2,0: 86:[51, 81] Operation: 74+7=81 Exploring Operation: 74-7=67, Resulting Numbers: [51, 67] Generated Node #0,2,1: 86:[51, 67] Operation: 74-7=67 Exploring Operation: 51-7=44, Resulting Numbers: [74, 44] Generated Node #0,2,2: 86:[74, 44] Operation: 51-7=44 Exploring Operation: 74-51=23, Resulting Numbers: [7, 23] Generated Node #0,2,3: 86:[7, 23] Operation: 74-51=23 Exploring Operation: 51+7=58, Resulting Numbers: [74, 58] Generated Node #0,2,4: 86:[74, 58] Operation: 51+7=58 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 86:[51, 81], Operations: ['35-28=7', '74+7=81'] Exploring Operation: 51*81=4131, Resulting Numbers: [4131] 4131,86 unequal: No Solution Exploring Operation: 51+81=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,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,2 Current State: 86:[74, 44], Operations: ['35-28=7', '51-7=44'] Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,86 unequal: No Solution Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,86 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,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, 23], Operations: ['35-28=7', '74-51=23'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,86 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,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:[51, 67], Operations: ['35-28=7', '74-7=67'] Exploring Operation: 67-51=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 51+67=118, Resulting Numbers: [118] 118,86 unequal: No Solution Exploring Operation: 51*67=3417, Resulting Numbers: [3417] 3417,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,4 Current State: 86:[74, 58], Operations: ['35-28=7', '51+7=58'] Exploring Operation: 74*58=4292, Resulting Numbers: [4292] 4292,86 unequal: No Solution Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 74+58=132, Resulting Numbers: [132] 132,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:[51, 28, 39], Operations: ['74-35=39'] Exploring Operation: 39-28=11, Resulting Numbers: [51, 11] Generated Node #0,0,0: 86:[51, 11] Operation: 39-28=11 Exploring Operation: 51+39=90, Resulting Numbers: [28, 90] Generated Node #0,0,1: 86:[28, 90] Operation: 51+39=90 Exploring Operation: 51-28=23, Resulting Numbers: [39, 23] Generated Node #0,0,2: 86:[39, 23] Operation: 51-28=23 Exploring Operation: 51-39=12, Resulting Numbers: [28, 12] Generated Node #0,0,3: 86:[28, 12] Operation: 51-39=12 Exploring Operation: 51+28=79, Resulting Numbers: [39, 79] Generated Node #0,0,4: 86:[39, 79] Operation: 51+28=79 Moving to Node #0,0,4 Current State: 86:[39, 79], Operations: ['74-35=39', '51+28=79'] Exploring Operation: 39+79=118, Resulting Numbers: [118] 118,86 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 39*79=3081, Resulting Numbers: [3081] 3081,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[51, 11], Operations: ['74-35=39', '39-28=11'] Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,86 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[28, 90], Operations: ['74-35=39', '51+39=90'] Exploring Operation: 28+90=118, Resulting Numbers: [118] 118,86 unequal: No Solution Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 28*90=2520, Resulting Numbers: [2520] 2520,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[39, 23], Operations: ['74-35=39', '51-28=23'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 39*23=897, Resulting Numbers: [897] 897,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[28, 12], Operations: ['74-35=39', '51-39=12'] Exploring Operation: 28*12=336, Resulting Numbers: [336] 336,86 unequal: No Solution Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,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 Current State: 86:[74, 35, 79], Operations: ['51+28=79'] Exploring Operation: 74+35=109, Resulting Numbers: [79, 109] Generated Node #0,1,0: 86:[79, 109] Operation: 74+35=109 Exploring Operation: 35+79=114, Resulting Numbers: [74, 114] Generated Node #0,1,1: 86:[74, 114] Operation: 35+79=114 Exploring Operation: 74-35=39, Resulting Numbers: [79, 39] Generated Node #0,1,2: 86:[79, 39] Operation: 74-35=39 Exploring Operation: 79-74=5, Resulting Numbers: [35, 5] Generated Node #0,1,3: 86:[35, 5] Operation: 79-74=5 Exploring Operation: 79-35=44, Resulting Numbers: [74, 44] Generated Node #0,1,4: 86:[74, 44] Operation: 79-35=44 Moving to Node #0,1,2 Current State: 86:[79, 39], Operations: ['51+28=79', '74-35=39'] Exploring Operation: 79+39=118, Resulting Numbers: [118] 118,86 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 79*39=3081, Resulting Numbers: [3081] 3081,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[35, 5], Operations: ['51+28=79', '79-74=5'] Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,86 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,86 unequal: No Solution Moving to Node #0,1,4 Current State: 86:[74, 44], Operations: ['51+28=79', '79-35=44'] Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,86 unequal: No Solution Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[79, 109], Operations: ['51+28=79', '74+35=109'] Exploring Operation: 79*109=8611, Resulting Numbers: [8611] 8611,86 unequal: No Solution Exploring Operation: 79+109=188, Resulting Numbers: [188] 188,86 unequal: No Solution Exploring Operation: 109-79=30, Resulting Numbers: [30] 30,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[74, 114], Operations: ['51+28=79', '35+79=114'] Exploring Operation: 74*114=8436, Resulting Numbers: [8436] 8436,86 unequal: No Solution Exploring Operation: 114-74=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 74+114=188, Resulting Numbers: [188] 188,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:[28, 74, 86], Operations: ['51+35=86'] Exploring Operation: 28+86=114, Resulting Numbers: [74, 114] Generated Node #0,3,0: 86:[74, 114] Operation: 28+86=114 Exploring Operation: 28+74=102, Resulting Numbers: [86, 102] Generated Node #0,3,1: 86:[86, 102] Operation: 28+74=102 Exploring Operation: 86-74=12, Resulting Numbers: [28, 12] Generated Node #0,3,2: 86:[28, 12] Operation: 86-74=12 Exploring Operation: 74-28=46, Resulting Numbers: [86, 46] Generated Node #0,3,3: 86:[86, 46] Operation: 74-28=46 Exploring Operation: 86-28=58, Resulting Numbers: [74, 58] Generated Node #0,3,4: 86:[74, 58] Operation: 86-28=58 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 86:[86, 46], Operations: ['51+35=86', '74-28=46'] Exploring Operation: 86+46=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 86*46=3956, Resulting Numbers: [3956] 3956,86 unequal: No Solution Exploring Operation: 86-46=40, Resulting Numbers: [40] 40,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,1 Current State: 86:[86, 102], Operations: ['51+35=86', '28+74=102'] Exploring Operation: 86*102=8772, Resulting Numbers: [8772] 8772,86 unequal: No Solution Exploring Operation: 102-86=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 86+102=188, Resulting Numbers: [188] 188,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:[28, 12], Operations: ['51+35=86', '86-74=12'] Exploring Operation: 28*12=336, Resulting Numbers: [336] 336,86 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,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,4 Current State: 86:[74, 58], Operations: ['51+35=86', '86-28=58'] Exploring Operation: 74+58=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 74*58=4292, Resulting Numbers: [4292] 4292,86 unequal: No Solution Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,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:[74, 114], Operations: ['51+35=86', '28+86=114'] Exploring Operation: 74*114=8436, Resulting Numbers: [8436] 8436,86 unequal: No Solution Exploring Operation: 114-74=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 74+114=188, Resulting Numbers: [188] 188,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 No solution found.
0
hs_5
mult_heuristic
[ 13, 58, 17, 6 ]
61
[ "13-6=7", "17*7=119", "119-58=61" ]
Current State: 61:[13, 58, 17, 6], Operations: [] Exploring Operation: 13-6=7, Resulting Numbers: [58, 17, 7] Generated Node #2: [58, 17, 7] from Operation: 13-6=7 Current State: 61:[58, 17, 7], Operations: ['13-6=7'] Exploring Operation: 17*7=119, Resulting Numbers: [58, 119] Generated Node #3: [58, 119] from Operation: 17*7=119 Current State: 61:[58, 119], Operations: ['13-6=7', '17*7=119'] Exploring Operation: 119-58=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[13, 58, 17, 6], Operations: [] Exploring Operation: 17+6=23, Resulting Numbers: [13, 58, 23] Generated Node #0,0: 61:[13, 58, 23] Operation: 17+6=23 Exploring Operation: 13+6=19, Resulting Numbers: [58, 17, 19] Generated Node #0,1: 61:[58, 17, 19] Operation: 13+6=19 Exploring Operation: 13*6=78, Resulting Numbers: [58, 17, 78] Generated Node #0,2: 61:[58, 17, 78] Operation: 13*6=78 Exploring Operation: 13+17=30, Resulting Numbers: [58, 6, 30] Generated Node #0,3: 61:[58, 6, 30] Operation: 13+17=30 Moving to Node #0,2 Current State: 61:[58, 17, 78], Operations: ['13*6=78'] Exploring Operation: 17+78=95, Resulting Numbers: [58, 95] Generated Node #0,2,0: 61:[58, 95] Operation: 17+78=95 Exploring Operation: 78-17=61, Resulting Numbers: [58, 61] Generated Node #0,2,1: 61:[58, 61] Operation: 78-17=61 Exploring Operation: 58-17=41, Resulting Numbers: [78, 41] Generated Node #0,2,2: 61:[78, 41] Operation: 58-17=41 Exploring Operation: 58+17=75, Resulting Numbers: [78, 75] Generated Node #0,2,3: 61:[78, 75] Operation: 58+17=75 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[58, 61], Operations: ['13*6=78', '78-17=61'] Exploring Operation: 58*61=3538, Resulting Numbers: [3538] 3538,61 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 58+61=119, Resulting Numbers: [119] 119,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[78, 75], Operations: ['13*6=78', '58+17=75'] Exploring Operation: 78+75=153, Resulting Numbers: [153] 153,61 unequal: No Solution Exploring Operation: 78*75=5850, Resulting Numbers: [5850] 5850,61 unequal: No Solution Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[58, 95], Operations: ['13*6=78', '17+78=95'] Exploring Operation: 58+95=153, Resulting Numbers: [153] 153,61 unequal: No Solution Exploring Operation: 58*95=5510, Resulting Numbers: [5510] 5510,61 unequal: No Solution Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[78, 41], Operations: ['13*6=78', '58-17=41'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,61 unequal: No Solution Exploring Operation: 78*41=3198, Resulting Numbers: [3198] 3198,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[58, 17, 19], Operations: ['13+6=19'] Exploring Operation: 17+19=36, Resulting Numbers: [58, 36] Generated Node #0,1,0: 61:[58, 36] Operation: 17+19=36 Exploring Operation: 58+19=77, Resulting Numbers: [17, 77] Generated Node #0,1,1: 61:[17, 77] Operation: 58+19=77 Exploring Operation: 58+17=75, Resulting Numbers: [19, 75] Generated Node #0,1,2: 61:[19, 75] Operation: 58+17=75 Exploring Operation: 58-17=41, Resulting Numbers: [19, 41] Generated Node #0,1,3: 61:[19, 41] Operation: 58-17=41 Moving to Node #0,0 Current State: 61:[13, 58, 23], Operations: ['17+6=23'] Exploring Operation: 13+23=36, Resulting Numbers: [58, 36] Generated Node #0,0,0: 61:[58, 36] Operation: 13+23=36 Exploring Operation: 13+58=71, Resulting Numbers: [23, 71] Generated Node #0,0,1: 61:[23, 71] Operation: 13+58=71 Exploring Operation: 23-13=10, Resulting Numbers: [58, 10] Generated Node #0,0,2: 61:[58, 10] Operation: 23-13=10 Exploring Operation: 58-13=45, Resulting Numbers: [23, 45] Generated Node #0,0,3: 61:[23, 45] Operation: 58-13=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[58, 36], Operations: ['17+6=23', '13+23=36'] Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 58*36=2088, Resulting Numbers: [2088] 2088,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[23, 71], Operations: ['17+6=23', '13+58=71'] Exploring Operation: 23*71=1633, Resulting Numbers: [1633] 1633,61 unequal: No Solution Exploring Operation: 23+71=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[58, 10], Operations: ['17+6=23', '23-13=10'] Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,61 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,61 unequal: No Solution Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[23, 45], Operations: ['17+6=23', '58-13=45'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 23+45=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 23*45=1035, Resulting Numbers: [1035] 1035,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 61:[58, 6, 30], Operations: ['13+17=30'] Exploring Operation: 30-6=24, Resulting Numbers: [58, 24] Generated Node #0,3,0: 61:[58, 24] Operation: 30-6=24 Exploring Operation: 58-6=52, Resulting Numbers: [30, 52] Generated Node #0,3,1: 61:[30, 52] Operation: 58-6=52 Exploring Operation: 6+30=36, Resulting Numbers: [58, 36] Generated Node #0,3,2: 61:[58, 36] Operation: 6+30=36 Exploring Operation: 58+6=64, Resulting Numbers: [30, 64] Generated Node #0,3,3: 61:[30, 64] Operation: 58+6=64 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[58, 36], Operations: ['13+17=30', '6+30=36'] Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 58*36=2088, Resulting Numbers: [2088] 2088,61 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[30, 64], Operations: ['13+17=30', '58+6=64'] Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[58, 24], Operations: ['13+17=30', '30-6=24'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,61 unequal: No Solution Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[30, 52], Operations: ['13+17=30', '58-6=52'] Exploring Operation: 30*52=1560, Resulting Numbers: [1560] 1560,61 unequal: No Solution Exploring Operation: 30+52=82, Resulting Numbers: [82] 82,61 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,61 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: 61:[58, 36], Operations: ['13+6=19', '17+19=36'] Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 58*36=2088, Resulting Numbers: [2088] 2088,61 unequal: No Solution Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[19, 75], Operations: ['13+6=19', '58+17=75'] Exploring Operation: 19*75=1425, Resulting Numbers: [1425] 1425,61 unequal: No Solution Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,61 unequal: No Solution Exploring Operation: 19+75=94, Resulting Numbers: [94] 94,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[17, 77], Operations: ['13+6=19', '58+19=77'] Exploring Operation: 17+77=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 17*77=1309, Resulting Numbers: [1309] 1309,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[19, 41], Operations: ['13+6=19', '58-17=41'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 19*41=779, Resulting Numbers: [779] 779,61 unequal: No Solution Exploring Operation: 19+41=60, Resulting Numbers: [60] 60,61 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 15, 83, 79, 87 ]
18
[ "87-15=72", "83-79=4", "72/4=18" ]
Current State: 18:[15, 83, 79, 87], Operations: [] Exploring Operation: 87-15=72, Resulting Numbers: [83, 79, 72] Generated Node #2: [83, 79, 72] from Operation: 87-15=72 Current State: 18:[83, 79, 72], Operations: ['87-15=72'] Exploring Operation: 83-79=4, Resulting Numbers: [72, 4] Generated Node #3: [72, 4] from Operation: 83-79=4 Current State: 18:[72, 4], Operations: ['87-15=72', '83-79=4'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[15, 83, 79, 87], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [15, 83, 8] Generated Node #0,0: 18:[15, 83, 8] Operation: 87-79=8 Exploring Operation: 83-79=4, Resulting Numbers: [15, 87, 4] Generated Node #0,1: 18:[15, 87, 4] Operation: 83-79=4 Exploring Operation: 87-83=4, Resulting Numbers: [15, 79, 4] Generated Node #0,2: 18:[15, 79, 4] Operation: 87-83=4 Moving to Node #0,2 Current State: 18:[15, 79, 4], Operations: ['87-83=4'] Exploring Operation: 15+4=19, Resulting Numbers: [79, 19] Generated Node #0,2,0: 18:[79, 19] Operation: 15+4=19 Exploring Operation: 79-15=64, Resulting Numbers: [4, 64] Generated Node #0,2,1: 18:[4, 64] Operation: 79-15=64 Exploring Operation: 79-4=75, Resulting Numbers: [15, 75] Generated Node #0,2,2: 18:[15, 75] Operation: 79-4=75 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[4, 64], Operations: ['87-83=4', '79-15=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[15, 75], Operations: ['87-83=4', '79-4=75'] Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[79, 19], Operations: ['87-83=4', '15+4=19'] Exploring Operation: 79-19=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 79*19=1501, Resulting Numbers: [1501] 1501,18 unequal: No Solution Exploring Operation: 79+19=98, Resulting Numbers: [98] 98,18 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: 18:[15, 83, 8], Operations: ['87-79=8'] Exploring Operation: 83-8=75, Resulting Numbers: [15, 75] Generated Node #0,0,0: 18:[15, 75] Operation: 83-8=75 Exploring Operation: 15-8=7, Resulting Numbers: [83, 7] Generated Node #0,0,1: 18:[83, 7] Operation: 15-8=7 Exploring Operation: 83-15=68, Resulting Numbers: [8, 68] Generated Node #0,0,2: 18:[8, 68] Operation: 83-15=68 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[8, 68], Operations: ['87-79=8', '83-15=68'] Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 8+68=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 8*68=544, Resulting Numbers: [544] 544,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[15, 75], Operations: ['87-79=8', '83-8=75'] Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[83, 7], Operations: ['87-79=8', '15-8=7'] Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,18 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[15, 87, 4], Operations: ['83-79=4'] Exploring Operation: 87-4=83, Resulting Numbers: [15, 83] Generated Node #0,1,0: 18:[15, 83] Operation: 87-4=83 Exploring Operation: 87-15=72, Resulting Numbers: [4, 72] Generated Node #0,1,1: 18:[4, 72] Operation: 87-15=72 Exploring Operation: 15+4=19, Resulting Numbers: [87, 19] Generated Node #0,1,2: 18:[87, 19] Operation: 15+4=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[4, 72], Operations: ['83-79=4', '87-15=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[15, 83, 79, 87], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [15, 87, 4] Generated Node #0,1: 18:[15, 87, 4] Operation: 83-79=4 Moving to Node #0,1 Current State: 18:[15, 87, 4], Operations: ['83-79=4'] Exploring Operation: 87-15=72, Resulting Numbers: [4, 72] Generated Node #0,1,1: 18:[4, 72] Operation: 87-15=72 Moving to Node #0,1,1 Current State: 18:[4, 72], Operations: ['83-79=4', '87-15=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 91, 40, 16, 82 ]
65
[ "91+40=131", "82-16=66", "131-66=65" ]
Current State: 65:[91, 40, 16, 82], Operations: [] Exploring Operation: 91+40=131, Resulting Numbers: [16, 82, 131] Generated Node #2: [16, 82, 131] from Operation: 91+40=131 Current State: 65:[16, 82, 131], Operations: ['91+40=131'] Exploring Operation: 82-16=66, Resulting Numbers: [131, 66] Generated Node #3: [131, 66] from Operation: 82-16=66 Current State: 65:[131, 66], Operations: ['91+40=131', '82-16=66'] Exploring Operation: 131-66=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[91, 40, 16, 82], Operations: [] Exploring Operation: 91-16=75, Resulting Numbers: [40, 82, 75] Generated Node #0,0: 65:[40, 82, 75] Operation: 91-16=75 Exploring Operation: 91-82=9, Resulting Numbers: [40, 16, 9] Generated Node #0,1: 65:[40, 16, 9] Operation: 91-82=9 Exploring Operation: 91-40=51, Resulting Numbers: [16, 82, 51] Generated Node #0,2: 65:[16, 82, 51] Operation: 91-40=51 Moving to Node #0,1 Current State: 65:[40, 16, 9], Operations: ['91-82=9'] Exploring Operation: 40+9=49, Resulting Numbers: [16, 49] Generated Node #0,1,0: 65:[16, 49] Operation: 40+9=49 Exploring Operation: 40-16=24, Resulting Numbers: [9, 24] Generated Node #0,1,1: 65:[9, 24] Operation: 40-16=24 Exploring Operation: 40+16=56, Resulting Numbers: [9, 56] Generated Node #0,1,2: 65:[9, 56] Operation: 40+16=56 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[9, 56], Operations: ['91-82=9', '40+16=56'] Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,65 unequal: No Solution Exploring Operation: 9+56=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[91, 40, 16, 82], Operations: [] Exploring Operation: 91-82=9, Resulting Numbers: [40, 16, 9] Generated Node #0,1: 65:[40, 16, 9] Operation: 91-82=9 Moving to Node #0,1 Current State: 65:[40, 16, 9], Operations: ['91-82=9'] Exploring Operation: 40+16=56, Resulting Numbers: [9, 56] Generated Node #0,1,2: 65:[9, 56] Operation: 40+16=56 Moving to Node #0,1,2 Current State: 65:[9, 56], Operations: ['91-82=9', '40+16=56'] Exploring Operation: 9+56=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 31, 40, 20, 40 ]
49
[ "40/20=2", "40*2=80", "80-31=49" ]
Current State: 49:[31, 40, 20, 40], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [31, 2] Generated Node #2: [31, 2] from Operation: 40/20=2 Current State: 49:[31, 2], Operations: ['40/20=2'] Exploring Operation: 40*2=80, Resulting Numbers: [31, 80] Generated Node #3: [31, 80] from Operation: 40*2=80 Current State: 49:[31, 80], Operations: ['40/20=2', '40*2=80'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[31, 40, 20, 40], Operations: [] Exploring Operation: 31+20=51, Resulting Numbers: [40, 40, 51] Generated Node #0,0: 49:[40, 40, 51] Operation: 31+20=51 Exploring Operation: 31-20=11, Resulting Numbers: [40, 40, 11] Generated Node #0,1: 49:[40, 40, 11] Operation: 31-20=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[40, 40, 51], Operations: ['31+20=51'] Exploring Operation: 40/40=1, Resulting Numbers: [51, 1] Generated Node #0,0,0: 49:[51, 1] Operation: 40/40=1 Exploring Operation: 40-40=0, Resulting Numbers: [51, 0] Generated Node #0,0,1: 49:[51, 0] Operation: 40-40=0 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[51, 1], Operations: ['31+20=51', '40/40=1'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[51, 0], Operations: ['31+20=51', '40-40=0'] Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 51-0=51, Resulting Numbers: [51] 51,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[40, 40, 11], Operations: ['31-20=11'] Exploring Operation: 40/40=1, Resulting Numbers: [11, 1] Generated Node #0,1,0: 49:[11, 1] Operation: 40/40=1 Exploring Operation: 40-40=0, Resulting Numbers: [11, 0] Generated Node #0,1,1: 49:[11, 0] Operation: 40-40=0 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[11, 1], Operations: ['31-20=11', '40/40=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[11, 0], Operations: ['31-20=11', '40-40=0'] Exploring Operation: 11+0=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 11-0=11, Resulting Numbers: [11] 11,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 65, 61, 70, 42 ]
67
[ "65+61=126", "126/42=3", "70-3=67" ]
Current State: 67:[65, 61, 70, 42], Operations: [] Exploring Operation: 65+61=126, Resulting Numbers: [70, 42, 126] Generated Node #2: [70, 42, 126] from Operation: 65+61=126 Current State: 67:[70, 42, 126], Operations: ['65+61=126'] Exploring Operation: 126/42=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 126/42=3 Current State: 67:[70, 3], Operations: ['65+61=126', '126/42=3'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[65, 61, 70, 42], Operations: [] Exploring Operation: 61+42=103, Resulting Numbers: [65, 70, 103] Generated Node #0,0: 67:[65, 70, 103] Operation: 61+42=103 Exploring Operation: 70-42=28, Resulting Numbers: [65, 61, 28] Generated Node #0,1: 67:[65, 61, 28] Operation: 70-42=28 Moving to Node #0,0 Current State: 67:[65, 70, 103], Operations: ['61+42=103'] Exploring Operation: 103-65=38, Resulting Numbers: [70, 38] Generated Node #0,0,0: 67:[70, 38] Operation: 103-65=38 Exploring Operation: 103-70=33, Resulting Numbers: [65, 33] Generated Node #0,0,1: 67:[65, 33] Operation: 103-70=33 Moving to Node #0,1 Current State: 67:[65, 61, 28], Operations: ['70-42=28'] Exploring Operation: 65+28=93, Resulting Numbers: [61, 93] Generated Node #0,1,0: 67:[61, 93] Operation: 65+28=93 Exploring Operation: 61+28=89, Resulting Numbers: [65, 89] Generated Node #0,1,1: 67:[65, 89] Operation: 61+28=89 Moving to Node #0,1,1 Current State: 67:[65, 89], Operations: ['70-42=28', '61+28=89'] Exploring Operation: 89-65=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 65+89=154, Resulting Numbers: [154] 154,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[70, 38], Operations: ['61+42=103', '103-65=38'] Exploring Operation: 70+38=108, Resulting Numbers: [108] 108,67 unequal: No Solution Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[61, 93], Operations: ['70-42=28', '65+28=93'] Exploring Operation: 93-61=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 61+93=154, Resulting Numbers: [154] 154,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[65, 33], Operations: ['61+42=103', '103-70=33'] Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 65+33=98, Resulting Numbers: [98] 98,67 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 38, 39, 58, 44 ]
88
[ "38*44=1672", "58-39=19", "1672/19=88" ]
Current State: 88:[38, 39, 58, 44], Operations: [] Exploring Operation: 38*44=1672, Resulting Numbers: [39, 58, 1672] Generated Node #2: [39, 58, 1672] from Operation: 38*44=1672 Current State: 88:[39, 58, 1672], Operations: ['38*44=1672'] Exploring Operation: 58-39=19, Resulting Numbers: [1672, 19] Generated Node #3: [1672, 19] from Operation: 58-39=19 Current State: 88:[1672, 19], Operations: ['38*44=1672', '58-39=19'] Exploring Operation: 1672/19=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[38, 39, 58, 44], Operations: [] Exploring Operation: 58-38=20, Resulting Numbers: [39, 44, 20] Generated Node #0,0: 88:[39, 44, 20] Operation: 58-38=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[39, 44, 20], Operations: ['58-38=20'] Exploring Operation: 44-39=5, Resulting Numbers: [20, 5] Generated Node #0,0,0: 88:[20, 5] Operation: 44-39=5 Moving to Node #0,0,0 Current State: 88:[20, 5], Operations: ['58-38=20', '44-39=5'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,88 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
[ 87, 14, 98, 44 ]
50
[ "87-44=43", "98/14=7", "43+7=50" ]
Current State: 50:[87, 14, 98, 44], Operations: [] Exploring Operation: 87-44=43, Resulting Numbers: [14, 98, 43] Generated Node #2: [14, 98, 43] from Operation: 87-44=43 Current State: 50:[14, 98, 43], Operations: ['87-44=43'] Exploring Operation: 98/14=7, Resulting Numbers: [43, 7] Generated Node #3: [43, 7] from Operation: 98/14=7 Current State: 50:[43, 7], Operations: ['87-44=43', '98/14=7'] Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[87, 14, 98, 44], Operations: [] Exploring Operation: 98-44=54, Resulting Numbers: [87, 14, 54] Generated Node #0,0: 50:[87, 14, 54] Operation: 98-44=54 Exploring Operation: 98-87=11, Resulting Numbers: [14, 44, 11] Generated Node #0,1: 50:[14, 44, 11] Operation: 98-87=11 Exploring Operation: 98/14=7, Resulting Numbers: [87, 44, 7] Generated Node #0,2: 50:[87, 44, 7] Operation: 98/14=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[14, 44, 11], Operations: ['98-87=11'] Exploring Operation: 14+11=25, Resulting Numbers: [44, 25] Generated Node #0,1,0: 50:[44, 25] Operation: 14+11=25 Exploring Operation: 44/11=4, Resulting Numbers: [14, 4] Generated Node #0,1,1: 50:[14, 4] Operation: 44/11=4 Exploring Operation: 44-14=30, Resulting Numbers: [11, 30] Generated Node #0,1,2: 50:[11, 30] Operation: 44-14=30 Moving to Node #0,1,1 Current State: 50:[14, 4], Operations: ['98-87=11', '44/11=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[44, 25], Operations: ['98-87=11', '14+11=25'] Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 44*25=1100, Resulting Numbers: [1100] 1100,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[11, 30], Operations: ['98-87=11', '44-14=30'] Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[87, 14, 54], Operations: ['98-44=54'] Exploring Operation: 87-14=73, Resulting Numbers: [54, 73] Generated Node #0,0,0: 50:[54, 73] Operation: 87-14=73 Exploring Operation: 87-54=33, Resulting Numbers: [14, 33] Generated Node #0,0,1: 50:[14, 33] Operation: 87-54=33 Exploring Operation: 54-14=40, Resulting Numbers: [87, 40] Generated Node #0,0,2: 50:[87, 40] Operation: 54-14=40 Moving to Node #0,0,1 Current State: 50:[14, 33], Operations: ['98-44=54', '87-54=33'] Exploring Operation: 14*33=462, Resulting Numbers: [462] 462,50 unequal: No Solution Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[54, 73], Operations: ['98-44=54', '87-14=73'] Exploring Operation: 54*73=3942, Resulting Numbers: [3942] 3942,50 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 54+73=127, Resulting Numbers: [127] 127,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[87, 40], Operations: ['98-44=54', '54-14=40'] Exploring Operation: 87*40=3480, Resulting Numbers: [3480] 3480,50 unequal: No Solution Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 87+40=127, Resulting Numbers: [127] 127,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[87, 44, 7], Operations: ['98/14=7'] Exploring Operation: 44+7=51, Resulting Numbers: [87, 51] Generated Node #0,2,0: 50:[87, 51] Operation: 44+7=51 Exploring Operation: 87-44=43, Resulting Numbers: [7, 43] Generated Node #0,2,1: 50:[7, 43] Operation: 87-44=43 Exploring Operation: 87-7=80, Resulting Numbers: [44, 80] Generated Node #0,2,2: 50:[44, 80] Operation: 87-7=80 Moving to Node #0,2,1 Current State: 50:[7, 43], Operations: ['98/14=7', '87-44=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[87, 14, 98, 44], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [87, 44, 7] Generated Node #0,2: 50:[87, 44, 7] Operation: 98/14=7 Moving to Node #0,2 Current State: 50:[87, 44, 7], Operations: ['98/14=7'] Exploring Operation: 87-44=43, Resulting Numbers: [7, 43] Generated Node #0,2,1: 50:[7, 43] Operation: 87-44=43 Moving to Node #0,2,1 Current State: 50:[7, 43], Operations: ['98/14=7', '87-44=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 73, 37, 53, 3 ]
20
[ "73-37=36", "53+3=56", "56-36=20" ]
Current State: 20:[73, 37, 53, 3], Operations: [] Exploring Operation: 73-37=36, Resulting Numbers: [53, 3, 36] Generated Node #2: [53, 3, 36] from Operation: 73-37=36 Current State: 20:[53, 3, 36], Operations: ['73-37=36'] Exploring Operation: 53+3=56, Resulting Numbers: [36, 56] Generated Node #3: [36, 56] from Operation: 53+3=56 Current State: 20:[36, 56], Operations: ['73-37=36', '53+3=56'] Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[73, 37, 53, 3], Operations: [] Exploring Operation: 73-3=70, Resulting Numbers: [37, 53, 70] Generated Node #0,0: 20:[37, 53, 70] Operation: 73-3=70 Exploring Operation: 73-37=36, Resulting Numbers: [53, 3, 36] Generated Node #0,1: 20:[53, 3, 36] Operation: 73-37=36 Exploring Operation: 73-53=20, Resulting Numbers: [37, 3, 20] Generated Node #0,2: 20:[37, 3, 20] Operation: 73-53=20 Exploring Operation: 53-37=16, Resulting Numbers: [73, 3, 16] Generated Node #0,3: 20:[73, 3, 16] Operation: 53-37=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[37, 3, 20], Operations: ['73-53=20'] Exploring Operation: 37+3=40, Resulting Numbers: [20, 40] Generated Node #0,2,0: 20:[20, 40] Operation: 37+3=40 Exploring Operation: 37-3=34, Resulting Numbers: [20, 34] Generated Node #0,2,1: 20:[20, 34] Operation: 37-3=34 Exploring Operation: 37-20=17, Resulting Numbers: [3, 17] Generated Node #0,2,2: 20:[3, 17] Operation: 37-20=17 Exploring Operation: 3+20=23, Resulting Numbers: [37, 23] Generated Node #0,2,3: 20:[37, 23] Operation: 3+20=23 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 20:[3, 17], Operations: ['73-53=20', '37-20=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[73, 37, 53, 3], Operations: [] Exploring Operation: 73-53=20, Resulting Numbers: [37, 3, 20] Generated Node #0,2: 20:[37, 3, 20] Operation: 73-53=20 Moving to Node #0,2 Current State: 20:[37, 3, 20], Operations: ['73-53=20'] Exploring Operation: 37-20=17, Resulting Numbers: [3, 17] Generated Node #0,2,2: 20:[3, 17] Operation: 37-20=17 Moving to Node #0,2,2 Current State: 20:[3, 17], Operations: ['73-53=20', '37-20=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 37, 30, 3, 58 ]
62
[ "37-30=7", "58-3=55", "7+55=62" ]
Current State: 62:[37, 30, 3, 58], Operations: [] Exploring Operation: 37-30=7, Resulting Numbers: [3, 58, 7] Generated Node #2: [3, 58, 7] from Operation: 37-30=7 Current State: 62:[3, 58, 7], Operations: ['37-30=7'] Exploring Operation: 58-3=55, Resulting Numbers: [7, 55] Generated Node #3: [7, 55] from Operation: 58-3=55 Current State: 62:[7, 55], Operations: ['37-30=7', '58-3=55'] Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[37, 30, 3, 58], Operations: [] Exploring Operation: 37-3=34, Resulting Numbers: [30, 58, 34] Generated Node #0,0: 62:[30, 58, 34] Operation: 37-3=34 Exploring Operation: 37+30=67, Resulting Numbers: [3, 58, 67] Generated Node #0,1: 62:[3, 58, 67] Operation: 37+30=67 Exploring Operation: 3+58=61, Resulting Numbers: [37, 30, 61] Generated Node #0,2: 62:[37, 30, 61] Operation: 3+58=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[30, 58, 34], Operations: ['37-3=34'] Exploring Operation: 58-30=28, Resulting Numbers: [34, 28] Generated Node #0,0,0: 62:[34, 28] Operation: 58-30=28 Exploring Operation: 34-30=4, Resulting Numbers: [58, 4] Generated Node #0,0,1: 62:[58, 4] Operation: 34-30=4 Exploring Operation: 30+34=64, Resulting Numbers: [58, 64] Generated Node #0,0,2: 62:[58, 64] Operation: 30+34=64 Moving to Node #0,0,0 Current State: 62:[34, 28], Operations: ['37-3=34', '58-30=28'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[37, 30, 3, 58], Operations: [] Exploring Operation: 37-3=34, Resulting Numbers: [30, 58, 34] Generated Node #0,0: 62:[30, 58, 34] Operation: 37-3=34 Moving to Node #0,0 Current State: 62:[30, 58, 34], Operations: ['37-3=34'] Exploring Operation: 58-30=28, Resulting Numbers: [34, 28] Generated Node #0,0,0: 62:[34, 28] Operation: 58-30=28 Moving to Node #0,0,0 Current State: 62:[34, 28], Operations: ['37-3=34', '58-30=28'] Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 85, 70, 20, 80 ]
19
[ "85-70=15", "80/20=4", "15+4=19" ]
Current State: 19:[85, 70, 20, 80], Operations: [] Exploring Operation: 85-70=15, Resulting Numbers: [20, 80, 15] Generated Node #2: [20, 80, 15] from Operation: 85-70=15 Current State: 19:[20, 80, 15], Operations: ['85-70=15'] Exploring Operation: 80/20=4, Resulting Numbers: [15, 4] Generated Node #3: [15, 4] from Operation: 80/20=4 Current State: 19:[15, 4], Operations: ['85-70=15', '80/20=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[85, 70, 20, 80], Operations: [] Exploring Operation: 85-70=15, Resulting Numbers: [20, 80, 15] Generated Node #0,0: 19:[20, 80, 15] Operation: 85-70=15 Moving to Node #0,0 Current State: 19:[20, 80, 15], Operations: ['85-70=15'] Exploring Operation: 80/20=4, Resulting Numbers: [15, 4] Generated Node #0,0,0: 19:[15, 4] Operation: 80/20=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[15, 4], Operations: ['85-70=15', '80/20=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[85, 70, 20, 80], Operations: [] Exploring Operation: 85-70=15, Resulting Numbers: [20, 80, 15] Generated Node #0,0: 19:[20, 80, 15] Operation: 85-70=15 Moving to Node #0,0 Current State: 19:[20, 80, 15], Operations: ['85-70=15'] Exploring Operation: 80/20=4, Resulting Numbers: [15, 4] Generated Node #0,0,0: 19:[15, 4] Operation: 80/20=4 Moving to Node #0,0,0 Current State: 19:[15, 4], Operations: ['85-70=15', '80/20=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 87, 19, 10, 2 ]
63
[ "87+19=106", "106/2=53", "10+53=63" ]
Current State: 63:[87, 19, 10, 2], Operations: [] Exploring Operation: 87+19=106, Resulting Numbers: [10, 2, 106] Generated Node #2: [10, 2, 106] from Operation: 87+19=106 Current State: 63:[10, 2, 106], Operations: ['87+19=106'] Exploring Operation: 106/2=53, Resulting Numbers: [10, 53] Generated Node #3: [10, 53] from Operation: 106/2=53 Current State: 63:[10, 53], Operations: ['87+19=106', '106/2=53'] Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[87, 19, 10, 2], Operations: [] Exploring Operation: 19+2=21, Resulting Numbers: [87, 10, 21] Generated Node #0,0: 63:[87, 10, 21] Operation: 19+2=21 Exploring Operation: 87-10=77, Resulting Numbers: [19, 2, 77] Generated Node #0,1: 63:[19, 2, 77] Operation: 87-10=77 Exploring Operation: 19-10=9, Resulting Numbers: [87, 2, 9] Generated Node #0,2: 63:[87, 2, 9] Operation: 19-10=9 Exploring Operation: 87-19=68, Resulting Numbers: [10, 2, 68] Generated Node #0,3: 63:[10, 2, 68] Operation: 87-19=68 Exploring Operation: 87-2=85, Resulting Numbers: [19, 10, 85] Generated Node #0,4: 63:[19, 10, 85] Operation: 87-2=85 Moving to Node #0,3 Current State: 63:[10, 2, 68], Operations: ['87-19=68'] Exploring Operation: 10*2=20, Resulting Numbers: [68, 20] Generated Node #0,3,0: 63:[68, 20] Operation: 10*2=20 Exploring Operation: 10-2=8, Resulting Numbers: [68, 8] Generated Node #0,3,1: 63:[68, 8] Operation: 10-2=8 Exploring Operation: 10/2=5, Resulting Numbers: [68, 5] Generated Node #0,3,2: 63:[68, 5] Operation: 10/2=5 Exploring Operation: 68-10=58, Resulting Numbers: [2, 58] Generated Node #0,3,3: 63:[2, 58] Operation: 68-10=58 Exploring Operation: 68-2=66, Resulting Numbers: [10, 66] Generated Node #0,3,4: 63:[10, 66] Operation: 68-2=66 Moving to Node #0,1 Current State: 63:[19, 2, 77], Operations: ['87-10=77'] Exploring Operation: 2+77=79, Resulting Numbers: [19, 79] Generated Node #0,1,0: 63:[19, 79] Operation: 2+77=79 Exploring Operation: 19+2=21, Resulting Numbers: [77, 21] Generated Node #0,1,1: 63:[77, 21] Operation: 19+2=21 Exploring Operation: 19-2=17, Resulting Numbers: [77, 17] Generated Node #0,1,2: 63:[77, 17] Operation: 19-2=17 Exploring Operation: 77-2=75, Resulting Numbers: [19, 75] Generated Node #0,1,3: 63:[19, 75] Operation: 77-2=75 Exploring Operation: 77-19=58, Resulting Numbers: [2, 58] Generated Node #0,1,4: 63:[2, 58] Operation: 77-19=58 Moving to Node #0,0 Current State: 63:[87, 10, 21], Operations: ['19+2=21'] Exploring Operation: 10+21=31, Resulting Numbers: [87, 31] Generated Node #0,0,0: 63:[87, 31] Operation: 10+21=31 Exploring Operation: 21-10=11, Resulting Numbers: [87, 11] Generated Node #0,0,1: 63:[87, 11] Operation: 21-10=11 Exploring Operation: 87-10=77, Resulting Numbers: [21, 77] Generated Node #0,0,2: 63:[21, 77] Operation: 87-10=77 Exploring Operation: 87+10=97, Resulting Numbers: [21, 97] Generated Node #0,0,3: 63:[21, 97] Operation: 87+10=97 Exploring Operation: 87-21=66, Resulting Numbers: [10, 66] Generated Node #0,0,4: 63:[10, 66] Operation: 87-21=66 Moving to Node #0,2 Current State: 63:[87, 2, 9], Operations: ['19-10=9'] Exploring Operation: 87-2=85, Resulting Numbers: [9, 85] Generated Node #0,2,0: 63:[9, 85] Operation: 87-2=85 Exploring Operation: 9-2=7, Resulting Numbers: [87, 7] Generated Node #0,2,1: 63:[87, 7] Operation: 9-2=7 Exploring Operation: 2+9=11, Resulting Numbers: [87, 11] Generated Node #0,2,2: 63:[87, 11] Operation: 2+9=11 Exploring Operation: 87+2=89, Resulting Numbers: [9, 89] Generated Node #0,2,3: 63:[9, 89] Operation: 87+2=89 Exploring Operation: 87-9=78, Resulting Numbers: [2, 78] Generated Node #0,2,4: 63:[2, 78] Operation: 87-9=78 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 63:[2, 78], Operations: ['19-10=9', '87-9=78'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 2*78=156, Resulting Numbers: [156] 156,63 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[9, 85], Operations: ['19-10=9', '87-2=85'] Exploring Operation: 9*85=765, Resulting Numbers: [765] 765,63 unequal: No Solution Exploring Operation: 9+85=94, Resulting Numbers: [94] 94,63 unequal: No Solution Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[87, 7], Operations: ['19-10=9', '9-2=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,63 unequal: No Solution Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,63 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 63:[87, 11], Operations: ['19-10=9', '2+9=11'] Exploring Operation: 87*11=957, Resulting Numbers: [957] 957,63 unequal: No Solution Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 87+11=98, Resulting Numbers: [98] 98,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 63:[9, 89], Operations: ['19-10=9', '87+2=89'] Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,63 unequal: No Solution Exploring Operation: 9*89=801, Resulting Numbers: [801] 801,63 unequal: No Solution Exploring Operation: 9+89=98, Resulting Numbers: [98] 98,63 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: 63:[19, 10, 85], Operations: ['87-2=85'] Exploring Operation: 19-10=9, Resulting Numbers: [85, 9] Generated Node #0,4,0: 63:[85, 9] Operation: 19-10=9 Exploring Operation: 85-10=75, Resulting Numbers: [19, 75] Generated Node #0,4,1: 63:[19, 75] Operation: 85-10=75 Exploring Operation: 85-19=66, Resulting Numbers: [10, 66] Generated Node #0,4,2: 63:[10, 66] Operation: 85-19=66 Exploring Operation: 19+10=29, Resulting Numbers: [85, 29] Generated Node #0,4,3: 63:[85, 29] Operation: 19+10=29 Exploring Operation: 10+85=95, Resulting Numbers: [19, 95] Generated Node #0,4,4: 63:[19, 95] Operation: 10+85=95 Moving to Node #0,3,4 Current State: 63:[10, 66], Operations: ['87-19=68', '68-2=66'] Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 10*66=660, Resulting Numbers: [660] 660,63 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,63 unequal: No Solution Moving to Node #0,0,4 Current State: 63:[10, 66], Operations: ['19+2=21', '87-21=66'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 10*66=660, Resulting Numbers: [660] 660,63 unequal: No Solution Moving to Node #0,4,2 Current State: 63:[10, 66], Operations: ['87-2=85', '85-19=66'] Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 10*66=660, Resulting Numbers: [660] 660,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[68, 8], Operations: ['87-19=68', '10-2=8'] Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 68*8=544, Resulting Numbers: [544] 544,63 unequal: No Solution Moving to Node #0,1,4 Current State: 63:[2, 58], Operations: ['87-10=77', '77-19=58'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[68, 20], Operations: ['87-19=68', '10*2=20'] Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,63 unequal: No Solution Exploring Operation: 68*20=1360, Resulting Numbers: [1360] 1360,63 unequal: No Solution Exploring Operation: 68+20=88, Resulting Numbers: [88] 88,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[2, 58], Operations: ['87-19=68', '68-10=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[68, 5], Operations: ['87-19=68', '10/2=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,63 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[87, 19, 10, 2], Operations: [] Exploring Operation: 87-19=68, Resulting Numbers: [10, 2, 68] Generated Node #0,3: 63:[10, 2, 68] Operation: 87-19=68 Moving to Node #0,3 Current State: 63:[10, 2, 68], Operations: ['87-19=68'] Exploring Operation: 10/2=5, Resulting Numbers: [68, 5] Generated Node #0,3,2: 63:[68, 5] Operation: 10/2=5 Moving to Node #0,3,2 Current State: 63:[68, 5], Operations: ['87-19=68', '10/2=5'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.934896
hs_5
mult_heuristic
[ 81, 99, 3, 71 ]
77
[ "99-81=18", "18/3=6", "71+6=77" ]
Current State: 77:[81, 99, 3, 71], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [3, 71, 18] Generated Node #2: [3, 71, 18] from Operation: 99-81=18 Current State: 77:[3, 71, 18], Operations: ['99-81=18'] Exploring Operation: 18/3=6, Resulting Numbers: [71, 6] Generated Node #3: [71, 6] from Operation: 18/3=6 Current State: 77:[71, 6], Operations: ['99-81=18', '18/3=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[81, 99, 3, 71], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [3, 71, 18] Generated Node #0,0: 77:[3, 71, 18] Operation: 99-81=18 Exploring Operation: 81-71=10, Resulting Numbers: [99, 3, 10] Generated Node #0,1: 77:[99, 3, 10] Operation: 81-71=10 Exploring Operation: 99-71=28, Resulting Numbers: [81, 3, 28] Generated Node #0,2: 77:[81, 3, 28] Operation: 99-71=28 Exploring Operation: 81-3=78, Resulting Numbers: [99, 71, 78] Generated Node #0,3: 77:[99, 71, 78] Operation: 81-3=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[3, 71, 18], Operations: ['99-81=18'] Exploring Operation: 18-3=15, Resulting Numbers: [71, 15] Generated Node #0,0,0: 77:[71, 15] Operation: 18-3=15 Exploring Operation: 71-3=68, Resulting Numbers: [18, 68] Generated Node #0,0,1: 77:[18, 68] Operation: 71-3=68 Exploring Operation: 3+71=74, Resulting Numbers: [18, 74] Generated Node #0,0,2: 77:[18, 74] Operation: 3+71=74 Exploring Operation: 18/3=6, Resulting Numbers: [71, 6] Generated Node #0,0,3: 77:[71, 6] Operation: 18/3=6 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 77:[71, 6], Operations: ['99-81=18', '18/3=6'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[81, 99, 3, 71], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [3, 71, 18] Generated Node #0,0: 77:[3, 71, 18] Operation: 99-81=18 Moving to Node #0,0 Current State: 77:[3, 71, 18], Operations: ['99-81=18'] Exploring Operation: 18/3=6, Resulting Numbers: [71, 6] Generated Node #0,0,3: 77:[71, 6] Operation: 18/3=6 Moving to Node #0,0,3 Current State: 77:[71, 6], Operations: ['99-81=18', '18/3=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 80, 50, 91, 67 ]
57
[ "80-67=13", "91/13=7", "50+7=57" ]
Current State: 57:[80, 50, 91, 67], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [50, 91, 13] Generated Node #2: [50, 91, 13] from Operation: 80-67=13 Current State: 57:[50, 91, 13], Operations: ['80-67=13'] Exploring Operation: 91/13=7, Resulting Numbers: [50, 7] Generated Node #3: [50, 7] from Operation: 91/13=7 Current State: 57:[50, 7], Operations: ['80-67=13', '91/13=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[80, 50, 91, 67], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [50, 91, 13] Generated Node #0,0: 57:[50, 91, 13] Operation: 80-67=13 Exploring Operation: 91-50=41, Resulting Numbers: [80, 67, 41] Generated Node #0,1: 57:[80, 67, 41] Operation: 91-50=41 Exploring Operation: 91-80=11, Resulting Numbers: [50, 67, 11] Generated Node #0,2: 57:[50, 67, 11] Operation: 91-80=11 Exploring Operation: 91-67=24, Resulting Numbers: [80, 50, 24] Generated Node #0,3: 57:[80, 50, 24] Operation: 91-67=24 Moving to Node #0,2 Current State: 57:[50, 67, 11], Operations: ['91-80=11'] Exploring Operation: 50+11=61, Resulting Numbers: [67, 61] Generated Node #0,2,0: 57:[67, 61] Operation: 50+11=61 Exploring Operation: 50-11=39, Resulting Numbers: [67, 39] Generated Node #0,2,1: 57:[67, 39] Operation: 50-11=39 Exploring Operation: 67-50=17, Resulting Numbers: [11, 17] Generated Node #0,2,2: 57:[11, 17] Operation: 67-50=17 Exploring Operation: 67-11=56, Resulting Numbers: [50, 56] Generated Node #0,2,3: 57:[50, 56] Operation: 67-11=56 Moving to Node #0,3 Current State: 57:[80, 50, 24], Operations: ['91-67=24'] Exploring Operation: 80-50=30, Resulting Numbers: [24, 30] Generated Node #0,3,0: 57:[24, 30] Operation: 80-50=30 Exploring Operation: 50-24=26, Resulting Numbers: [80, 26] Generated Node #0,3,1: 57:[80, 26] Operation: 50-24=26 Exploring Operation: 80-24=56, Resulting Numbers: [50, 56] Generated Node #0,3,2: 57:[50, 56] Operation: 80-24=56 Exploring Operation: 50+24=74, Resulting Numbers: [80, 74] Generated Node #0,3,3: 57:[80, 74] Operation: 50+24=74 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 57:[50, 56], Operations: ['91-67=24', '80-24=56'] Exploring Operation: 50+56=106, Resulting Numbers: [106] 106,57 unequal: No Solution Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 50*56=2800, Resulting Numbers: [2800] 2800,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:[24, 30], Operations: ['91-67=24', '80-50=30'] Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,57 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,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:[80, 26], Operations: ['91-67=24', '50-24=26'] Exploring Operation: 80*26=2080, Resulting Numbers: [2080] 2080,57 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 80+26=106, Resulting Numbers: [106] 106,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 57:[80, 74], Operations: ['91-67=24', '50+24=74'] Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 80*74=5920, Resulting Numbers: [5920] 5920,57 unequal: No Solution Exploring Operation: 80+74=154, Resulting Numbers: [154] 154,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:[50, 91, 13], Operations: ['80-67=13'] Exploring Operation: 91/13=7, Resulting Numbers: [50, 7] Generated Node #0,0,0: 57:[50, 7] Operation: 91/13=7 Exploring Operation: 91-13=78, Resulting Numbers: [50, 78] Generated Node #0,0,1: 57:[50, 78] Operation: 91-13=78 Exploring Operation: 91-50=41, Resulting Numbers: [13, 41] Generated Node #0,0,2: 57:[13, 41] Operation: 91-50=41 Exploring Operation: 50+13=63, Resulting Numbers: [91, 63] Generated Node #0,0,3: 57:[91, 63] Operation: 50+13=63 Moving to Node #0,1 Current State: 57:[80, 67, 41], Operations: ['91-50=41'] Exploring Operation: 80+41=121, Resulting Numbers: [67, 121] Generated Node #0,1,0: 57:[67, 121] Operation: 80+41=121 Exploring Operation: 67-41=26, Resulting Numbers: [80, 26] Generated Node #0,1,1: 57:[80, 26] Operation: 67-41=26 Exploring Operation: 80-67=13, Resulting Numbers: [41, 13] Generated Node #0,1,2: 57:[41, 13] Operation: 80-67=13 Exploring Operation: 80-41=39, Resulting Numbers: [67, 39] Generated Node #0,1,3: 57:[67, 39] Operation: 80-41=39 Moving to Node #0,2,3 Current State: 57:[50, 56], Operations: ['91-80=11', '67-11=56'] Exploring Operation: 50+56=106, Resulting Numbers: [106] 106,57 unequal: No Solution Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 50*56=2800, Resulting Numbers: [2800] 2800,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[11, 17], Operations: ['91-80=11', '67-50=17'] Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,57 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[50, 7], Operations: ['80-67=13', '91/13=7'] Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,57 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[80, 50, 91, 67], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [50, 91, 13] Generated Node #0,0: 57:[50, 91, 13] Operation: 80-67=13 Moving to Node #0,0 Current State: 57:[50, 91, 13], Operations: ['80-67=13'] Exploring Operation: 91/13=7, Resulting Numbers: [50, 7] Generated Node #0,0,0: 57:[50, 7] Operation: 91/13=7 Moving to Node #0,0,0 Current State: 57:[50, 7], Operations: ['80-67=13', '91/13=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.960938
hs_4
mult_heuristic
[ 24, 98, 97, 23 ]
74
[ "24*97=2328", "98*23=2254", "2328-2254=74" ]
Current State: 74:[24, 98, 97, 23], Operations: [] Exploring Operation: 24*97=2328, Resulting Numbers: [98, 23, 2328] Generated Node #2: [98, 23, 2328] from Operation: 24*97=2328 Current State: 74:[98, 23, 2328], Operations: ['24*97=2328'] Exploring Operation: 98*23=2254, Resulting Numbers: [2328, 2254] Generated Node #3: [2328, 2254] from Operation: 98*23=2254 Current State: 74:[2328, 2254], Operations: ['24*97=2328', '98*23=2254'] Exploring Operation: 2328-2254=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[24, 98, 97, 23], Operations: [] Exploring Operation: 97-24=73, Resulting Numbers: [98, 23, 73] Generated Node #0,0: 74:[98, 23, 73] Operation: 97-24=73 Exploring Operation: 98-24=74, Resulting Numbers: [97, 23, 74] Generated Node #0,1: 74:[97, 23, 74] Operation: 98-24=74 Exploring Operation: 97-23=74, Resulting Numbers: [24, 98, 74] Generated Node #0,2: 74:[24, 98, 74] Operation: 97-23=74 Exploring Operation: 98-97=1, Resulting Numbers: [24, 23, 1] Generated Node #0,3: 74:[24, 23, 1] Operation: 98-97=1 Exploring Operation: 98-23=75, Resulting Numbers: [24, 97, 75] Generated Node #0,4: 74:[24, 97, 75] Operation: 98-23=75 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[24, 23, 1], Operations: ['98-97=1'] Exploring Operation: 24+1=25, Resulting Numbers: [23, 25] Generated Node #0,3,0: 74:[23, 25] Operation: 24+1=25 Exploring Operation: 24+23=47, Resulting Numbers: [1, 47] Generated Node #0,3,1: 74:[1, 47] Operation: 24+23=47 Exploring Operation: 23+1=24, Resulting Numbers: [24, 24] Generated Node #0,3,2: 74:[24, 24] Operation: 23+1=24 Exploring Operation: 24*1=24, Resulting Numbers: [23, 24] Generated Node #0,3,3: 74:[23, 24] Operation: 24*1=24 Exploring Operation: 24-23=1, Resulting Numbers: [1, 1] Generated Node #0,3,4: 74:[1, 1] Operation: 24-23=1 Moving to Node #0,3,4 Current State: 74:[1, 1], Operations: ['98-97=1', '24-23=1'] Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[1, 47], Operations: ['98-97=1', '24+23=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,74 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[23, 25], Operations: ['98-97=1', '24+1=25'] Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,74 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[24, 24], Operations: ['98-97=1', '23+1=24'] Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,74 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,74 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[23, 24], Operations: ['98-97=1', '24*1=24'] Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,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 Current State: 74:[97, 23, 74], Operations: ['98-24=74'] Exploring Operation: 97-74=23, Resulting Numbers: [23, 23] Generated Node #0,1,0: 74:[23, 23] Operation: 97-74=23 Exploring Operation: 23+74=97, Resulting Numbers: [97, 97] Generated Node #0,1,1: 74:[97, 97] Operation: 23+74=97 Exploring Operation: 97+23=120, Resulting Numbers: [74, 120] Generated Node #0,1,2: 74:[74, 120] Operation: 97+23=120 Exploring Operation: 97-23=74, Resulting Numbers: [74, 74] Generated Node #0,1,3: 74:[74, 74] Operation: 97-23=74 Exploring Operation: 74-23=51, Resulting Numbers: [97, 51] Generated Node #0,1,4: 74:[97, 51] Operation: 74-23=51 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 74:[74, 74], Operations: ['98-24=74', '97-23=74'] Exploring Operation: 74+74=148, Resulting Numbers: [148] 148,74 unequal: No Solution Exploring Operation: 74*74=5476, Resulting Numbers: [5476] 5476,74 unequal: No Solution Exploring Operation: 74-74=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 74/74=1, Resulting Numbers: [1] 1,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[23, 23], Operations: ['98-24=74', '97-74=23'] Exploring Operation: 23*23=529, Resulting Numbers: [529] 529,74 unequal: No Solution Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 74:[97, 51], Operations: ['98-24=74', '74-23=51'] Exploring Operation: 97-51=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 97+51=148, Resulting Numbers: [148] 148,74 unequal: No Solution Exploring Operation: 97*51=4947, Resulting Numbers: [4947] 4947,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[97, 97], Operations: ['98-24=74', '23+74=97'] Exploring Operation: 97-97=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 97*97=9409, Resulting Numbers: [9409] 9409,74 unequal: No Solution Exploring Operation: 97/97=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 97+97=194, Resulting Numbers: [194] 194,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 74:[74, 120], Operations: ['98-24=74', '97+23=120'] Exploring Operation: 74*120=8880, Resulting Numbers: [8880] 8880,74 unequal: No Solution Exploring Operation: 74+120=194, Resulting Numbers: [194] 194,74 unequal: No Solution Exploring Operation: 120-74=46, Resulting Numbers: [46] 46,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[24, 98, 74], Operations: ['97-23=74'] Exploring Operation: 24+98=122, Resulting Numbers: [74, 122] Generated Node #0,2,0: 74:[74, 122] Operation: 24+98=122 Exploring Operation: 98-24=74, Resulting Numbers: [74, 74] Generated Node #0,2,1: 74:[74, 74] Operation: 98-24=74 Exploring Operation: 74-24=50, Resulting Numbers: [98, 50] Generated Node #0,2,2: 74:[98, 50] Operation: 74-24=50 Exploring Operation: 98-74=24, Resulting Numbers: [24, 24] Generated Node #0,2,3: 74:[24, 24] Operation: 98-74=24 Exploring Operation: 24+74=98, Resulting Numbers: [98, 98] Generated Node #0,2,4: 74:[98, 98] Operation: 24+74=98 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[74, 74], Operations: ['97-23=74', '98-24=74'] Exploring Operation: 74*74=5476, Resulting Numbers: [5476] 5476,74 unequal: No Solution Exploring Operation: 74-74=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 74/74=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 74+74=148, Resulting Numbers: [148] 148,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 74:[24, 24], Operations: ['97-23=74', '98-74=24'] Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,74 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,74 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 74:[98, 50], Operations: ['97-23=74', '74-24=50'] Exploring Operation: 98+50=148, Resulting Numbers: [148] 148,74 unequal: No Solution Exploring Operation: 98*50=4900, Resulting Numbers: [4900] 4900,74 unequal: No Solution Exploring Operation: 98-50=48, Resulting Numbers: [48] 48,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 74:[74, 122], Operations: ['97-23=74', '24+98=122'] Exploring Operation: 74*122=9028, Resulting Numbers: [9028] 9028,74 unequal: No Solution Exploring Operation: 74+122=196, Resulting Numbers: [196] 196,74 unequal: No Solution Exploring Operation: 122-74=48, Resulting Numbers: [48] 48,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 74:[98, 98], Operations: ['97-23=74', '24+74=98'] Exploring Operation: 98-98=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 98/98=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 98+98=196, Resulting Numbers: [196] 196,74 unequal: No Solution Exploring Operation: 98*98=9604, Resulting Numbers: [9604] 9604,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 74:[24, 97, 75], Operations: ['98-23=75'] Exploring Operation: 24+97=121, Resulting Numbers: [75, 121] Generated Node #0,4,0: 74:[75, 121] Operation: 24+97=121 Exploring Operation: 75-24=51, Resulting Numbers: [97, 51] Generated Node #0,4,1: 74:[97, 51] Operation: 75-24=51 Exploring Operation: 97-24=73, Resulting Numbers: [75, 73] Generated Node #0,4,2: 74:[75, 73] Operation: 97-24=73 Exploring Operation: 97-75=22, Resulting Numbers: [24, 22] Generated Node #0,4,3: 74:[24, 22] Operation: 97-75=22 Exploring Operation: 24+75=99, Resulting Numbers: [97, 99] Generated Node #0,4,4: 74:[97, 99] Operation: 24+75=99 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 74:[75, 73], Operations: ['98-23=75', '97-24=73'] Exploring Operation: 75-73=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 75+73=148, Resulting Numbers: [148] 148,74 unequal: No Solution Exploring Operation: 75*73=5475, Resulting Numbers: [5475] 5475,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 74:[24, 22], Operations: ['98-23=75', '97-75=22'] Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,74 unequal: No Solution Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 74:[97, 51], Operations: ['98-23=75', '75-24=51'] Exploring Operation: 97*51=4947, Resulting Numbers: [4947] 4947,74 unequal: No Solution Exploring Operation: 97+51=148, Resulting Numbers: [148] 148,74 unequal: No Solution Exploring Operation: 97-51=46, Resulting Numbers: [46] 46,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 74:[75, 121], Operations: ['98-23=75', '24+97=121'] Exploring Operation: 75+121=196, Resulting Numbers: [196] 196,74 unequal: No Solution Exploring Operation: 75*121=9075, Resulting Numbers: [9075] 9075,74 unequal: No Solution Exploring Operation: 121-75=46, Resulting Numbers: [46] 46,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 74:[97, 99], Operations: ['98-23=75', '24+75=99'] Exploring Operation: 97*99=9603, Resulting Numbers: [9603] 9603,74 unequal: No Solution Exploring Operation: 99-97=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 97+99=196, Resulting Numbers: [196] 196,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[98, 23, 73], Operations: ['97-24=73'] Exploring Operation: 23+73=96, Resulting Numbers: [98, 96] Generated Node #0,0,0: 74:[98, 96] Operation: 23+73=96 Exploring Operation: 73-23=50, Resulting Numbers: [98, 50] Generated Node #0,0,1: 74:[98, 50] Operation: 73-23=50 Exploring Operation: 98-23=75, Resulting Numbers: [73, 75] Generated Node #0,0,2: 74:[73, 75] Operation: 98-23=75 Exploring Operation: 98-73=25, Resulting Numbers: [23, 25] Generated Node #0,0,3: 74:[23, 25] Operation: 98-73=25 Exploring Operation: 98+23=121, Resulting Numbers: [73, 121] Generated Node #0,0,4: 74:[73, 121] Operation: 98+23=121 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[73, 75], Operations: ['97-24=73', '98-23=75'] Exploring Operation: 75-73=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 73+75=148, Resulting Numbers: [148] 148,74 unequal: No Solution Exploring Operation: 73*75=5475, Resulting Numbers: [5475] 5475,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[23, 25], Operations: ['97-24=73', '98-73=25'] Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,74 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[98, 50], Operations: ['97-24=73', '73-23=50'] Exploring Operation: 98*50=4900, Resulting Numbers: [4900] 4900,74 unequal: No Solution Exploring Operation: 98+50=148, Resulting Numbers: [148] 148,74 unequal: No Solution Exploring Operation: 98-50=48, Resulting Numbers: [48] 48,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[98, 96], Operations: ['97-24=73', '23+73=96'] Exploring Operation: 98*96=9408, Resulting Numbers: [9408] 9408,74 unequal: No Solution Exploring Operation: 98+96=194, Resulting Numbers: [194] 194,74 unequal: No Solution Exploring Operation: 98-96=2, Resulting Numbers: [2] 2,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 74:[73, 121], Operations: ['97-24=73', '98+23=121'] Exploring Operation: 121-73=48, Resulting Numbers: [48] 48,74 unequal: No Solution Exploring Operation: 73+121=194, Resulting Numbers: [194] 194,74 unequal: No Solution Exploring Operation: 73*121=8833, Resulting Numbers: [8833] 8833,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 69, 22, 13, 79 ]
86
[ "69+22=91", "91/13=7", "79+7=86" ]
Current State: 86:[69, 22, 13, 79], Operations: [] Exploring Operation: 69+22=91, Resulting Numbers: [13, 79, 91] Generated Node #2: [13, 79, 91] from Operation: 69+22=91 Current State: 86:[13, 79, 91], Operations: ['69+22=91'] Exploring Operation: 91/13=7, Resulting Numbers: [79, 7] Generated Node #3: [79, 7] from Operation: 91/13=7 Current State: 86:[79, 7], Operations: ['69+22=91', '91/13=7'] Exploring Operation: 79+7=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[69, 22, 13, 79], Operations: [] Exploring Operation: 69-22=47, Resulting Numbers: [13, 79, 47] Generated Node #0,0: 86:[13, 79, 47] Operation: 69-22=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[13, 79, 47], Operations: ['69-22=47'] Exploring Operation: 13+79=92, Resulting Numbers: [47, 92] Generated Node #0,0,0: 86:[47, 92] Operation: 13+79=92 Moving to Node #0,0,0 Current State: 86:[47, 92], Operations: ['69-22=47', '13+79=92'] Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 13, 11, 34, 54 ]
18
[ "13-11=2", "54-34=20", "20-2=18" ]
Current State: 18:[13, 11, 34, 54], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [34, 54, 2] Generated Node #2: [34, 54, 2] from Operation: 13-11=2 Current State: 18:[34, 54, 2], Operations: ['13-11=2'] Exploring Operation: 54-34=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 54-34=20 Current State: 18:[2, 20], Operations: ['13-11=2', '54-34=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[13, 11, 34, 54], Operations: [] Exploring Operation: 34-13=21, Resulting Numbers: [11, 54, 21] Generated Node #0,0: 18:[11, 54, 21] Operation: 34-13=21 Exploring Operation: 54-34=20, Resulting Numbers: [13, 11, 20] Generated Node #0,1: 18:[13, 11, 20] Operation: 54-34=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[13, 11, 20], Operations: ['54-34=20'] Exploring Operation: 13-11=2, Resulting Numbers: [20, 2] Generated Node #0,1,0: 18:[20, 2] Operation: 13-11=2 Exploring Operation: 20-13=7, Resulting Numbers: [11, 7] Generated Node #0,1,1: 18:[11, 7] Operation: 20-13=7 Moving to Node #0,1,0 Current State: 18:[20, 2], Operations: ['54-34=20', '13-11=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[13, 11, 34, 54], Operations: [] Exploring Operation: 54-34=20, Resulting Numbers: [13, 11, 20] Generated Node #0,1: 18:[13, 11, 20] Operation: 54-34=20 Moving to Node #0,1 Current State: 18:[13, 11, 20], Operations: ['54-34=20'] Exploring Operation: 13-11=2, Resulting Numbers: [20, 2] Generated Node #0,1,0: 18:[20, 2] Operation: 13-11=2 Moving to Node #0,1,0 Current State: 18:[20, 2], Operations: ['54-34=20', '13-11=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 2, 22, 40, 19 ]
11
[ "40-2=38", "22*19=418", "418/38=11" ]
Current State: 11:[2, 22, 40, 19], Operations: [] Exploring Operation: 40-2=38, Resulting Numbers: [22, 19, 38] Generated Node #2: [22, 19, 38] from Operation: 40-2=38 Current State: 11:[22, 19, 38], Operations: ['40-2=38'] Exploring Operation: 22*19=418, Resulting Numbers: [38, 418] Generated Node #3: [38, 418] from Operation: 22*19=418 Current State: 11:[38, 418], Operations: ['40-2=38', '22*19=418'] Exploring Operation: 418/38=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[2, 22, 40, 19], Operations: [] Exploring Operation: 40-19=21, Resulting Numbers: [2, 22, 21] Generated Node #0,0: 11:[2, 22, 21] Operation: 40-19=21 Exploring Operation: 22-2=20, Resulting Numbers: [40, 19, 20] Generated Node #0,1: 11:[40, 19, 20] Operation: 22-2=20 Exploring Operation: 22/2=11, Resulting Numbers: [40, 19, 11] Generated Node #0,2: 11:[40, 19, 11] Operation: 22/2=11 Exploring Operation: 40/2=20, Resulting Numbers: [22, 19, 20] Generated Node #0,3: 11:[22, 19, 20] Operation: 40/2=20 Exploring Operation: 40-22=18, Resulting Numbers: [2, 19, 18] Generated Node #0,4: 11:[2, 19, 18] Operation: 40-22=18 Moving to Node #0,4 Current State: 11:[2, 19, 18], Operations: ['40-22=18'] Exploring Operation: 2+19=21, Resulting Numbers: [18, 21] Generated Node #0,4,0: 11:[18, 21] Operation: 2+19=21 Exploring Operation: 2+18=20, Resulting Numbers: [19, 20] Generated Node #0,4,1: 11:[19, 20] Operation: 2+18=20 Exploring Operation: 18-2=16, Resulting Numbers: [19, 16] Generated Node #0,4,2: 11:[19, 16] Operation: 18-2=16 Exploring Operation: 19-2=17, Resulting Numbers: [18, 17] Generated Node #0,4,3: 11:[18, 17] Operation: 19-2=17 Exploring Operation: 18/2=9, Resulting Numbers: [19, 9] Generated Node #0,4,4: 11:[19, 9] Operation: 18/2=9 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 11:[19, 9], Operations: ['40-22=18', '18/2=9'] Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,11 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 11:[19, 16], Operations: ['40-22=18', '18-2=16'] Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 11:[18, 17], Operations: ['40-22=18', '19-2=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 11:[18, 21], Operations: ['40-22=18', '2+19=21'] Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,11 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 11:[19, 20], Operations: ['40-22=18', '2+18=20'] Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,11 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,11 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: 11:[22, 19, 20], Operations: ['40/2=20'] Exploring Operation: 22+19=41, Resulting Numbers: [20, 41] Generated Node #0,3,0: 11:[20, 41] Operation: 22+19=41 Exploring Operation: 22+20=42, Resulting Numbers: [19, 42] Generated Node #0,3,1: 11:[19, 42] Operation: 22+20=42 Exploring Operation: 22-20=2, Resulting Numbers: [19, 2] Generated Node #0,3,2: 11:[19, 2] Operation: 22-20=2 Exploring Operation: 22-19=3, Resulting Numbers: [20, 3] Generated Node #0,3,3: 11:[20, 3] Operation: 22-19=3 Exploring Operation: 20-19=1, Resulting Numbers: [22, 1] Generated Node #0,3,4: 11:[22, 1] Operation: 20-19=1 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[19, 2], Operations: ['40/2=20', '22-20=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[20, 3], Operations: ['40/2=20', '22-19=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 11:[22, 1], Operations: ['40/2=20', '20-19=1'] Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[20, 41], Operations: ['40/2=20', '22+19=41'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 20*41=820, Resulting Numbers: [820] 820,11 unequal: No Solution Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[19, 42], Operations: ['40/2=20', '22+20=42'] Exploring Operation: 19+42=61, Resulting Numbers: [61] 61,11 unequal: No Solution Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 19*42=798, Resulting Numbers: [798] 798,11 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: 11:[2, 22, 21], Operations: ['40-19=21'] Exploring Operation: 22/2=11, Resulting Numbers: [21, 11] Generated Node #0,0,0: 11:[21, 11] Operation: 22/2=11 Exploring Operation: 22-21=1, Resulting Numbers: [2, 1] Generated Node #0,0,1: 11:[2, 1] Operation: 22-21=1 Exploring Operation: 21-2=19, Resulting Numbers: [22, 19] Generated Node #0,0,2: 11:[22, 19] Operation: 21-2=19 Exploring Operation: 22-2=20, Resulting Numbers: [21, 20] Generated Node #0,0,3: 11:[21, 20] Operation: 22-2=20 Exploring Operation: 2+22=24, Resulting Numbers: [21, 24] Generated Node #0,0,4: 11:[21, 24] Operation: 2+22=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[21, 11], Operations: ['40-19=21', '22/2=11'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,11 unequal: No Solution Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[2, 1], Operations: ['40-19=21', '22-21=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[22, 19], Operations: ['40-19=21', '21-2=19'] Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,11 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[21, 20], Operations: ['40-19=21', '22-2=20'] Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,11 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 11:[21, 24], Operations: ['40-19=21', '2+22=24'] Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,11 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: 11:[40, 19, 11], Operations: ['22/2=11'] Exploring Operation: 40+19=59, Resulting Numbers: [11, 59] Generated Node #0,2,0: 11:[11, 59] Operation: 40+19=59 Exploring Operation: 19-11=8, Resulting Numbers: [40, 8] Generated Node #0,2,1: 11:[40, 8] Operation: 19-11=8 Exploring Operation: 40+11=51, Resulting Numbers: [19, 51] Generated Node #0,2,2: 11:[19, 51] Operation: 40+11=51 Exploring Operation: 40-19=21, Resulting Numbers: [11, 21] Generated Node #0,2,3: 11:[11, 21] Operation: 40-19=21 Exploring Operation: 40-11=29, Resulting Numbers: [19, 29] Generated Node #0,2,4: 11:[19, 29] Operation: 40-11=29 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 11:[11, 21], Operations: ['22/2=11', '40-19=21'] Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 11*21=231, Resulting Numbers: [231] 231,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 11:[19, 29], Operations: ['22/2=11', '40-11=29'] Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,11 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[40, 8], Operations: ['22/2=11', '19-11=8'] Exploring Operation: 40*8=320, Resulting Numbers: [320] 320,11 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[11, 59], Operations: ['22/2=11', '40+19=59'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,11 unequal: No Solution Exploring Operation: 11*59=649, Resulting Numbers: [649] 649,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[19, 51], Operations: ['22/2=11', '40+11=51'] Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,11 unequal: No Solution Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,11 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: 11:[40, 19, 20], Operations: ['22-2=20'] Exploring Operation: 20-19=1, Resulting Numbers: [40, 1] Generated Node #0,1,0: 11:[40, 1] Operation: 20-19=1 Exploring Operation: 40-19=21, Resulting Numbers: [20, 21] Generated Node #0,1,1: 11:[20, 21] Operation: 40-19=21 Exploring Operation: 40-20=20, Resulting Numbers: [19, 20] Generated Node #0,1,2: 11:[19, 20] Operation: 40-20=20 Exploring Operation: 40/20=2, Resulting Numbers: [19, 2] Generated Node #0,1,3: 11:[19, 2] Operation: 40/20=2 Exploring Operation: 40+19=59, Resulting Numbers: [20, 59] Generated Node #0,1,4: 11:[20, 59] Operation: 40+19=59 Moving to Node #0,1,2 Current State: 11:[19, 20], Operations: ['22-2=20', '40-20=20'] Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[19, 2], Operations: ['22-2=20', '40/20=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[20, 21], Operations: ['22-2=20', '40-19=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,11 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,11 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[40, 1], Operations: ['22-2=20', '20-19=1'] Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,11 unequal: No Solution Moving to Node #0,1,4 Current State: 11:[20, 59], Operations: ['22-2=20', '40+19=59'] Exploring Operation: 20+59=79, Resulting Numbers: [79] 79,11 unequal: No Solution Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 20*59=1180, Resulting Numbers: [1180] 1180,11 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 28, 34, 3, 23 ]
87
[ "34-28=6", "23+6=29", "3*29=87" ]
Current State: 87:[28, 34, 3, 23], Operations: [] Exploring Operation: 34-28=6, Resulting Numbers: [3, 23, 6] Generated Node #2: [3, 23, 6] from Operation: 34-28=6 Current State: 87:[3, 23, 6], Operations: ['34-28=6'] Exploring Operation: 23+6=29, Resulting Numbers: [3, 29] Generated Node #3: [3, 29] from Operation: 23+6=29 Current State: 87:[3, 29], Operations: ['34-28=6', '23+6=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[28, 34, 3, 23], Operations: [] Exploring Operation: 28-23=5, Resulting Numbers: [34, 3, 5] Generated Node #0,0: 87:[34, 3, 5] Operation: 28-23=5 Exploring Operation: 34-28=6, Resulting Numbers: [3, 23, 6] Generated Node #0,1: 87:[3, 23, 6] Operation: 34-28=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[34, 3, 5], Operations: ['28-23=5'] Exploring Operation: 34-5=29, Resulting Numbers: [3, 29] Generated Node #0,0,0: 87:[3, 29] Operation: 34-5=29 Exploring Operation: 34-3=31, Resulting Numbers: [5, 31] Generated Node #0,0,1: 87:[5, 31] Operation: 34-3=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[3, 29], Operations: ['28-23=5', '34-5=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[28, 34, 3, 23], Operations: [] Exploring Operation: 28-23=5, Resulting Numbers: [34, 3, 5] Generated Node #0,0: 87:[34, 3, 5] Operation: 28-23=5 Moving to Node #0,0 Current State: 87:[34, 3, 5], Operations: ['28-23=5'] Exploring Operation: 34-5=29, Resulting Numbers: [3, 29] Generated Node #0,0,0: 87:[3, 29] Operation: 34-5=29 Moving to Node #0,0,0 Current State: 87:[3, 29], Operations: ['28-23=5', '34-5=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 76, 21, 75, 73 ]
53
[ "76-21=55", "75-73=2", "55-2=53" ]
Current State: 53:[76, 21, 75, 73], Operations: [] Exploring Operation: 76-21=55, Resulting Numbers: [75, 73, 55] Generated Node #2: [75, 73, 55] from Operation: 76-21=55 Current State: 53:[75, 73, 55], Operations: ['76-21=55'] Exploring Operation: 75-73=2, Resulting Numbers: [55, 2] Generated Node #3: [55, 2] from Operation: 75-73=2 Current State: 53:[55, 2], Operations: ['76-21=55', '75-73=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[76, 21, 75, 73], Operations: [] Exploring Operation: 76-21=55, Resulting Numbers: [75, 73, 55] Generated Node #0,0: 53:[75, 73, 55] Operation: 76-21=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[75, 73, 55], Operations: ['76-21=55'] Exploring Operation: 75-73=2, Resulting Numbers: [55, 2] Generated Node #0,0,0: 53:[55, 2] Operation: 75-73=2 Moving to Node #0,0,0 Current State: 53:[55, 2], Operations: ['76-21=55', '75-73=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[76, 21, 75, 73], Operations: [] Exploring Operation: 76-21=55, Resulting Numbers: [75, 73, 55] Generated Node #0,0: 53:[75, 73, 55] Operation: 76-21=55 Moving to Node #0,0 Current State: 53:[75, 73, 55], Operations: ['76-21=55'] Exploring Operation: 75-73=2, Resulting Numbers: [55, 2] Generated Node #0,0,0: 53:[55, 2] Operation: 75-73=2 Moving to Node #0,0,0 Current State: 53:[55, 2], Operations: ['76-21=55', '75-73=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 70, 37, 37, 44 ]
47
[ "44-37=7", "70/7=10", "37+10=47" ]
Current State: 47:[70, 37, 37, 44], Operations: [] Exploring Operation: 44-37=7, Resulting Numbers: [70, 7] Generated Node #2: [70, 7] from Operation: 44-37=7 Current State: 47:[70, 7], Operations: ['44-37=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,47 equal: Goal Reached Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[70, 37, 37, 44], Operations: [] Exploring Operation: 37+44=81, Resulting Numbers: [70, 37, 81] Generated Node #0,0: 47:[70, 37, 81] Operation: 37+44=81 Exploring Operation: 37+37=74, Resulting Numbers: [70, 44, 74] Generated Node #0,1: 47:[70, 44, 74] Operation: 37+37=74 Exploring Operation: 70-37=33, Resulting Numbers: [37, 44, 33] Generated Node #0,2: 47:[37, 44, 33] Operation: 70-37=33 Exploring Operation: 70-44=26, Resulting Numbers: [37, 37, 26] Generated Node #0,3: 47:[37, 37, 26] Operation: 70-44=26 Exploring Operation: 70-37=33, Resulting Numbers: [37, 44, 33] Generated Node #0,4: 47:[37, 44, 33] Operation: 70-37=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[37, 44, 33], Operations: ['70-37=33'] Exploring Operation: 44-33=11, Resulting Numbers: [37, 11] Generated Node #0,2,0: 47:[37, 11] Operation: 44-33=11 Exploring Operation: 37+33=70, Resulting Numbers: [44, 70] Generated Node #0,2,1: 47:[44, 70] Operation: 37+33=70 Exploring Operation: 37-33=4, Resulting Numbers: [44, 4] Generated Node #0,2,2: 47:[44, 4] Operation: 37-33=4 Exploring Operation: 44+33=77, Resulting Numbers: [37, 77] Generated Node #0,2,3: 47:[37, 77] Operation: 44+33=77 Exploring Operation: 37+44=81, Resulting Numbers: [33, 81] Generated Node #0,2,4: 47:[33, 81] Operation: 37+44=81 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[44, 70], Operations: ['70-37=33', '37+33=70'] Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[37, 77], Operations: ['70-37=33', '44+33=77'] Exploring Operation: 37*77=2849, Resulting Numbers: [2849] 2849,47 unequal: No Solution Exploring Operation: 37+77=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[37, 11], Operations: ['70-37=33', '44-33=11'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,47 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[44, 4], Operations: ['70-37=33', '37-33=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,47 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 47:[33, 81], Operations: ['70-37=33', '37+44=81'] Exploring Operation: 33+81=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 33*81=2673, Resulting Numbers: [2673] 2673,47 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 47:[37, 44, 33], Operations: ['70-37=33'] Exploring Operation: 37+44=81, Resulting Numbers: [33, 81] Generated Node #0,4,0: 47:[33, 81] Operation: 37+44=81 Exploring Operation: 37+33=70, Resulting Numbers: [44, 70] Generated Node #0,4,1: 47:[44, 70] Operation: 37+33=70 Exploring Operation: 44-33=11, Resulting Numbers: [37, 11] Generated Node #0,4,2: 47:[37, 11] Operation: 44-33=11 Exploring Operation: 44+33=77, Resulting Numbers: [37, 77] Generated Node #0,4,3: 47:[37, 77] Operation: 44+33=77 Exploring Operation: 37-33=4, Resulting Numbers: [44, 4] Generated Node #0,4,4: 47:[44, 4] Operation: 37-33=4 Moving to Node #0,4,1 Current State: 47:[44, 70], Operations: ['70-37=33', '37+33=70'] Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,47 unequal: No Solution Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,47 unequal: No Solution Moving to Node #0,4,3 Current State: 47:[37, 77], Operations: ['70-37=33', '44+33=77'] Exploring Operation: 37+77=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 37*77=2849, Resulting Numbers: [2849] 2849,47 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,47 unequal: No Solution Moving to Node #0,4,2 Current State: 47:[37, 11], Operations: ['70-37=33', '44-33=11'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,47 unequal: No Solution Moving to Node #0,4,4 Current State: 47:[44, 4], Operations: ['70-37=33', '37-33=4'] Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,47 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,47 unequal: No Solution Moving to Node #0,4,0 Current State: 47:[33, 81], Operations: ['70-37=33', '37+44=81'] Exploring Operation: 33*81=2673, Resulting Numbers: [2673] 2673,47 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 33+81=114, Resulting Numbers: [114] 114,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,3 Current State: 47:[37, 37, 26], Operations: ['70-44=26'] Exploring Operation: 37+26=63, Resulting Numbers: [37, 63] Generated Node #0,3,0: 47:[37, 63] Operation: 37+26=63 Exploring Operation: 37+37=74, Resulting Numbers: [26, 74] Generated Node #0,3,1: 47:[26, 74] Operation: 37+37=74 Exploring Operation: 37-26=11, Resulting Numbers: [37, 11] Generated Node #0,3,2: 47:[37, 11] Operation: 37-26=11 Exploring Operation: 37-26=11, Resulting Numbers: [37, 11] Generated Node #0,3,3: 47:[37, 11] Operation: 37-26=11 Exploring Operation: 37+26=63, Resulting Numbers: [37, 63] Generated Node #0,3,4: 47:[37, 63] Operation: 37+26=63 Moving to Node #0,3,0 Current State: 47:[37, 63], Operations: ['70-44=26', '37+26=63'] Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 37*63=2331, Resulting Numbers: [2331] 2331,47 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,47 unequal: No Solution Moving to Node #0,3,4 Current State: 47:[37, 63], Operations: ['70-44=26', '37+26=63'] Exploring Operation: 37*63=2331, Resulting Numbers: [2331] 2331,47 unequal: No Solution Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[37, 11], Operations: ['70-44=26', '37-26=11'] Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[37, 11], Operations: ['70-44=26', '37-26=11'] Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,47 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[26, 74], Operations: ['70-44=26', '37+37=74'] Exploring Operation: 26*74=1924, Resulting Numbers: [1924] 1924,47 unequal: No Solution Exploring Operation: 26+74=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,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 Current State: 47:[70, 44, 74], Operations: ['37+37=74'] Exploring Operation: 70+44=114, Resulting Numbers: [74, 114] Generated Node #0,1,0: 47:[74, 114] Operation: 70+44=114 Exploring Operation: 70-44=26, Resulting Numbers: [74, 26] Generated Node #0,1,1: 47:[74, 26] Operation: 70-44=26 Exploring Operation: 74-70=4, Resulting Numbers: [44, 4] Generated Node #0,1,2: 47:[44, 4] Operation: 74-70=4 Exploring Operation: 74-44=30, Resulting Numbers: [70, 30] Generated Node #0,1,3: 47:[70, 30] Operation: 74-44=30 Exploring Operation: 44+74=118, Resulting Numbers: [70, 118] Generated Node #0,1,4: 47:[70, 118] Operation: 44+74=118 Moving to Node #0,1,3 Current State: 47:[70, 30], Operations: ['37+37=74', '74-44=30'] Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,47 unequal: No Solution Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[44, 4], Operations: ['37+37=74', '74-70=4'] Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,47 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[74, 26], Operations: ['37+37=74', '70-44=26'] Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 74*26=1924, Resulting Numbers: [1924] 1924,47 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[74, 114], Operations: ['37+37=74', '70+44=114'] Exploring Operation: 74*114=8436, Resulting Numbers: [8436] 8436,47 unequal: No Solution Exploring Operation: 74+114=188, Resulting Numbers: [188] 188,47 unequal: No Solution Exploring Operation: 114-74=40, Resulting Numbers: [40] 40,47 unequal: No Solution Moving to Node #0,1,4 Current State: 47:[70, 118], Operations: ['37+37=74', '44+74=118'] Exploring Operation: 118-70=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 70+118=188, Resulting Numbers: [188] 188,47 unequal: No Solution Exploring Operation: 70*118=8260, Resulting Numbers: [8260] 8260,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,0 Current State: 47:[70, 37, 81], Operations: ['37+44=81'] Exploring Operation: 70-37=33, Resulting Numbers: [81, 33] Generated Node #0,0,0: 47:[81, 33] Operation: 70-37=33 Exploring Operation: 37+81=118, Resulting Numbers: [70, 118] Generated Node #0,0,1: 47:[70, 118] Operation: 37+81=118 Exploring Operation: 81-70=11, Resulting Numbers: [37, 11] Generated Node #0,0,2: 47:[37, 11] Operation: 81-70=11 Exploring Operation: 70+37=107, Resulting Numbers: [81, 107] Generated Node #0,0,3: 47:[81, 107] Operation: 70+37=107 Exploring Operation: 81-37=44, Resulting Numbers: [70, 44] Generated Node #0,0,4: 47:[70, 44] Operation: 81-37=44 Moving to Node #0,0,4 Current State: 47:[70, 44], Operations: ['37+44=81', '81-37=44'] Exploring Operation: 70*44=3080, Resulting Numbers: [3080] 3080,47 unequal: No Solution Exploring Operation: 70+44=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[37, 11], Operations: ['37+44=81', '81-70=11'] Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,47 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[81, 33], Operations: ['37+44=81', '70-37=33'] Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,47 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[70, 118], Operations: ['37+44=81', '37+81=118'] Exploring Operation: 118-70=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 70*118=8260, Resulting Numbers: [8260] 8260,47 unequal: No Solution Exploring Operation: 70+118=188, Resulting Numbers: [188] 188,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[81, 107], Operations: ['37+44=81', '70+37=107'] Exploring Operation: 107-81=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 81+107=188, Resulting Numbers: [188] 188,47 unequal: No Solution Exploring Operation: 81*107=8667, Resulting Numbers: [8667] 8667,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 53, 68, 37, 63 ]
41
[ "68-53=15", "63-37=26", "15+26=41" ]
Current State: 41:[53, 68, 37, 63], Operations: [] Exploring Operation: 68-53=15, Resulting Numbers: [37, 63, 15] Generated Node #2: [37, 63, 15] from Operation: 68-53=15 Current State: 41:[37, 63, 15], Operations: ['68-53=15'] Exploring Operation: 63-37=26, Resulting Numbers: [15, 26] Generated Node #3: [15, 26] from Operation: 63-37=26 Current State: 41:[15, 26], Operations: ['68-53=15', '63-37=26'] Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[53, 68, 37, 63], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [53, 37, 5] Generated Node #0,0: 41:[53, 37, 5] Operation: 68-63=5 Exploring Operation: 68-53=15, Resulting Numbers: [37, 63, 15] Generated Node #0,1: 41:[37, 63, 15] Operation: 68-53=15 Exploring Operation: 68-37=31, Resulting Numbers: [53, 63, 31] Generated Node #0,2: 41:[53, 63, 31] Operation: 68-37=31 Moving to Node #0,2 Current State: 41:[53, 63, 31], Operations: ['68-37=31'] Exploring Operation: 63-31=32, Resulting Numbers: [53, 32] Generated Node #0,2,0: 41:[53, 32] Operation: 63-31=32 Exploring Operation: 53-31=22, Resulting Numbers: [63, 22] Generated Node #0,2,1: 41:[63, 22] Operation: 53-31=22 Exploring Operation: 63-53=10, Resulting Numbers: [31, 10] Generated Node #0,2,2: 41:[31, 10] Operation: 63-53=10 Moving to Node #0,0 Current State: 41:[53, 37, 5], Operations: ['68-63=5'] Exploring Operation: 37+5=42, Resulting Numbers: [53, 42] Generated Node #0,0,0: 41:[53, 42] Operation: 37+5=42 Exploring Operation: 53+5=58, Resulting Numbers: [37, 58] Generated Node #0,0,1: 41:[37, 58] Operation: 53+5=58 Exploring Operation: 53-5=48, Resulting Numbers: [37, 48] Generated Node #0,0,2: 41:[37, 48] Operation: 53-5=48 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[37, 48], Operations: ['68-63=5', '53-5=48'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 37*48=1776, Resulting Numbers: [1776] 1776,41 unequal: No Solution Exploring Operation: 37+48=85, Resulting Numbers: [85] 85,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[53, 42], Operations: ['68-63=5', '37+5=42'] Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 53*42=2226, Resulting Numbers: [2226] 2226,41 unequal: No Solution Exploring Operation: 53+42=95, Resulting Numbers: [95] 95,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[37, 58], Operations: ['68-63=5', '53+5=58'] Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,41 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,41 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: 41:[37, 63, 15], Operations: ['68-53=15'] Exploring Operation: 37+15=52, Resulting Numbers: [63, 52] Generated Node #0,1,0: 41:[63, 52] Operation: 37+15=52 Exploring Operation: 63-15=48, Resulting Numbers: [37, 48] Generated Node #0,1,1: 41:[37, 48] Operation: 63-15=48 Exploring Operation: 63-37=26, Resulting Numbers: [15, 26] Generated Node #0,1,2: 41:[15, 26] Operation: 63-37=26 Moving to Node #0,1,1 Current State: 41:[37, 48], Operations: ['68-53=15', '63-15=48'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 37+48=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 37*48=1776, Resulting Numbers: [1776] 1776,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[53, 32], Operations: ['68-37=31', '63-31=32'] Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,41 unequal: No Solution Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[63, 52], Operations: ['68-53=15', '37+15=52'] Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,41 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 63*52=3276, Resulting Numbers: [3276] 3276,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[31, 10], Operations: ['68-37=31', '63-53=10'] Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,41 unequal: No Solution Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[53, 68, 37, 63], Operations: [] Exploring Operation: 68-37=31, Resulting Numbers: [53, 63, 31] Generated Node #0,2: 41:[53, 63, 31] Operation: 68-37=31 Moving to Node #0,2 Current State: 41:[53, 63, 31], Operations: ['68-37=31'] Exploring Operation: 63-53=10, Resulting Numbers: [31, 10] Generated Node #0,2,2: 41:[31, 10] Operation: 63-53=10 Moving to Node #0,2,2 Current State: 41:[31, 10], Operations: ['68-37=31', '63-53=10'] Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 97, 95, 6, 59 ]
62
[ "97-95=2", "6/2=3", "59+3=62" ]
Current State: 62:[97, 95, 6, 59], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [6, 59, 2] Generated Node #2: [6, 59, 2] from Operation: 97-95=2 Current State: 62:[6, 59, 2], Operations: ['97-95=2'] Exploring Operation: 6/2=3, Resulting Numbers: [59, 3] Generated Node #3: [59, 3] from Operation: 6/2=3 Current State: 62:[59, 3], Operations: ['97-95=2', '6/2=3'] Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[97, 95, 6, 59], Operations: [] Exploring Operation: 97-59=38, Resulting Numbers: [95, 6, 38] Generated Node #0,0: 62:[95, 6, 38] Operation: 97-59=38 Exploring Operation: 95-59=36, Resulting Numbers: [97, 6, 36] Generated Node #0,1: 62:[97, 6, 36] Operation: 95-59=36 Exploring Operation: 97-95=2, Resulting Numbers: [6, 59, 2] Generated Node #0,2: 62:[6, 59, 2] Operation: 97-95=2 Moving to Node #0,2 Current State: 62:[6, 59, 2], Operations: ['97-95=2'] Exploring Operation: 6-2=4, Resulting Numbers: [59, 4] Generated Node #0,2,0: 62:[59, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [59, 3] Generated Node #0,2,1: 62:[59, 3] Operation: 6/2=3 Exploring Operation: 6+59=65, Resulting Numbers: [2, 65] Generated Node #0,2,2: 62:[2, 65] Operation: 6+59=65 Moving to Node #0,0 Current State: 62:[95, 6, 38], Operations: ['97-59=38'] Exploring Operation: 95-38=57, Resulting Numbers: [6, 57] Generated Node #0,0,0: 62:[6, 57] Operation: 95-38=57 Exploring Operation: 95-6=89, Resulting Numbers: [38, 89] Generated Node #0,0,1: 62:[38, 89] Operation: 95-6=89 Exploring Operation: 38-6=32, Resulting Numbers: [95, 32] Generated Node #0,0,2: 62:[95, 32] Operation: 38-6=32 Moving to Node #0,1 Current State: 62:[97, 6, 36], Operations: ['95-59=36'] Exploring Operation: 36-6=30, Resulting Numbers: [97, 30] Generated Node #0,1,0: 62:[97, 30] Operation: 36-6=30 Exploring Operation: 97-36=61, Resulting Numbers: [6, 61] Generated Node #0,1,1: 62:[6, 61] Operation: 97-36=61 Exploring Operation: 97-6=91, Resulting Numbers: [36, 91] Generated Node #0,1,2: 62:[36, 91] Operation: 97-6=91 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[6, 61], Operations: ['95-59=36', '97-36=61'] Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 6*61=366, Resulting Numbers: [366] 366,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[36, 91], Operations: ['95-59=36', '97-6=91'] Exploring Operation: 36+91=127, Resulting Numbers: [127] 127,62 unequal: No Solution Exploring Operation: 36*91=3276, Resulting Numbers: [3276] 3276,62 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[97, 30], Operations: ['95-59=36', '36-6=30'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,62 unequal: No Solution Exploring Operation: 97*30=2910, Resulting Numbers: [2910] 2910,62 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: 62:[2, 65], Operations: ['97-95=2', '6+59=65'] Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,62 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[59, 3], Operations: ['97-95=2', '6/2=3'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,62 unequal: No Solution Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[97, 95, 6, 59], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [6, 59, 2] Generated Node #0,2: 62:[6, 59, 2] Operation: 97-95=2 Moving to Node #0,2 Current State: 62:[6, 59, 2], Operations: ['97-95=2'] Exploring Operation: 6/2=3, Resulting Numbers: [59, 3] Generated Node #0,2,1: 62:[59, 3] Operation: 6/2=3 Moving to Node #0,2,1 Current State: 62:[59, 3], Operations: ['97-95=2', '6/2=3'] Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.97309
hs_3
sum_heuristic
[ 75, 13, 7, 81 ]
49
[ "75+13=88", "88-81=7", "7*7=49" ]
Current State: 49:[75, 13, 7, 81], Operations: [] Exploring Operation: 75+13=88, Resulting Numbers: [7, 81, 88] Generated Node #2: [7, 81, 88] from Operation: 75+13=88 Current State: 49:[7, 81, 88], Operations: ['75+13=88'] Exploring Operation: 88-81=7, Resulting Numbers: [7, 7] Generated Node #3: [7, 7] from Operation: 88-81=7 Current State: 49:[7, 7], Operations: ['75+13=88', '88-81=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[75, 13, 7, 81], Operations: [] Exploring Operation: 81-13=68, Resulting Numbers: [75, 7, 68] Generated Node #0,0: 49:[75, 7, 68] Operation: 81-13=68 Exploring Operation: 75-7=68, Resulting Numbers: [13, 81, 68] Generated Node #0,1: 49:[13, 81, 68] Operation: 75-7=68 Exploring Operation: 81-7=74, Resulting Numbers: [75, 13, 74] Generated Node #0,2: 49:[75, 13, 74] Operation: 81-7=74 Exploring Operation: 75-13=62, Resulting Numbers: [7, 81, 62] Generated Node #0,3: 49:[7, 81, 62] Operation: 75-13=62 Exploring Operation: 81-75=6, Resulting Numbers: [13, 7, 6] Generated Node #0,4: 49:[13, 7, 6] Operation: 81-75=6 Moving to Node #0,4 Current State: 49:[13, 7, 6], Operations: ['81-75=6'] Exploring Operation: 13+6=19, Resulting Numbers: [7, 19] Generated Node #0,4,0: 49:[7, 19] Operation: 13+6=19 Exploring Operation: 7+6=13, Resulting Numbers: [13, 13] Generated Node #0,4,1: 49:[13, 13] Operation: 7+6=13 Exploring Operation: 13-7=6, Resulting Numbers: [6, 6] Generated Node #0,4,2: 49:[6, 6] Operation: 13-7=6 Exploring Operation: 13-6=7, Resulting Numbers: [7, 7] Generated Node #0,4,3: 49:[7, 7] Operation: 13-6=7 Exploring Operation: 7-6=1, Resulting Numbers: [13, 1] Generated Node #0,4,4: 49:[13, 1] Operation: 7-6=1 Moving to Node #0,3 Current State: 49:[7, 81, 62], Operations: ['75-13=62'] Exploring Operation: 81-7=74, Resulting Numbers: [62, 74] Generated Node #0,3,0: 49:[62, 74] Operation: 81-7=74 Exploring Operation: 7+81=88, Resulting Numbers: [62, 88] Generated Node #0,3,1: 49:[62, 88] Operation: 7+81=88 Exploring Operation: 81-62=19, Resulting Numbers: [7, 19] Generated Node #0,3,2: 49:[7, 19] Operation: 81-62=19 Exploring Operation: 7+62=69, Resulting Numbers: [81, 69] Generated Node #0,3,3: 49:[81, 69] Operation: 7+62=69 Exploring Operation: 62-7=55, Resulting Numbers: [81, 55] Generated Node #0,3,4: 49:[81, 55] Operation: 62-7=55 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 49:[7, 19], Operations: ['75-13=62', '81-62=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,49 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 49:[62, 74], Operations: ['75-13=62', '81-7=74'] Exploring Operation: 62*74=4588, Resulting Numbers: [4588] 4588,49 unequal: No Solution Exploring Operation: 62+74=136, Resulting Numbers: [136] 136,49 unequal: No Solution Exploring Operation: 74-62=12, Resulting Numbers: [12] 12,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 49:[81, 55], Operations: ['75-13=62', '62-7=55'] Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,49 unequal: No Solution Exploring Operation: 81*55=4455, Resulting Numbers: [4455] 4455,49 unequal: No Solution Exploring Operation: 81+55=136, Resulting Numbers: [136] 136,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 49:[62, 88], Operations: ['75-13=62', '7+81=88'] Exploring Operation: 62*88=5456, Resulting Numbers: [5456] 5456,49 unequal: No Solution Exploring Operation: 88-62=26, Resulting Numbers: [26] 26,49 unequal: No Solution Exploring Operation: 62+88=150, Resulting Numbers: [150] 150,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 49:[81, 69], Operations: ['75-13=62', '7+62=69'] Exploring Operation: 81*69=5589, Resulting Numbers: [5589] 5589,49 unequal: No Solution Exploring Operation: 81+69=150, Resulting Numbers: [150] 150,49 unequal: No Solution Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,49 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: 49:[75, 7, 68], Operations: ['81-13=68'] Exploring Operation: 7+68=75, Resulting Numbers: [75, 75] Generated Node #0,0,0: 49:[75, 75] Operation: 7+68=75 Exploring Operation: 75+7=82, Resulting Numbers: [68, 82] Generated Node #0,0,1: 49:[68, 82] Operation: 75+7=82 Exploring Operation: 75-68=7, Resulting Numbers: [7, 7] Generated Node #0,0,2: 49:[7, 7] Operation: 75-68=7 Exploring Operation: 75-7=68, Resulting Numbers: [68, 68] Generated Node #0,0,3: 49:[68, 68] Operation: 75-7=68 Exploring Operation: 68-7=61, Resulting Numbers: [75, 61] Generated Node #0,0,4: 49:[75, 61] Operation: 68-7=61 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[7, 7], Operations: ['81-13=68', '75-68=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[75, 13, 7, 81], Operations: [] Exploring Operation: 81-13=68, Resulting Numbers: [75, 7, 68] Generated Node #0,0: 49:[75, 7, 68] Operation: 81-13=68 Moving to Node #0,0 Current State: 49:[75, 7, 68], Operations: ['81-13=68'] Exploring Operation: 75-68=7, Resulting Numbers: [7, 7] Generated Node #0,0,2: 49:[7, 7] Operation: 75-68=7 Moving to Node #0,0,2 Current State: 49:[7, 7], Operations: ['81-13=68', '75-68=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 20, 22, 50, 56 ]
78
[ "22-20=2", "56/2=28", "50+28=78" ]
Current State: 78:[20, 22, 50, 56], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [50, 56, 2] Generated Node #2: [50, 56, 2] from Operation: 22-20=2 Current State: 78:[50, 56, 2], Operations: ['22-20=2'] Exploring Operation: 56/2=28, Resulting Numbers: [50, 28] Generated Node #3: [50, 28] from Operation: 56/2=28 Current State: 78:[50, 28], Operations: ['22-20=2', '56/2=28'] Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[20, 22, 50, 56], Operations: [] Exploring Operation: 22+56=78, Resulting Numbers: [20, 50, 78] Generated Node #0,0: 78:[20, 50, 78] Operation: 22+56=78 Exploring Operation: 56-50=6, Resulting Numbers: [20, 22, 6] Generated Node #0,1: 78:[20, 22, 6] Operation: 56-50=6 Exploring Operation: 20+56=76, Resulting Numbers: [22, 50, 76] Generated Node #0,2: 78:[22, 50, 76] Operation: 20+56=76 Moving to Node #0,1 Current State: 78:[20, 22, 6], Operations: ['56-50=6'] Exploring Operation: 20+6=26, Resulting Numbers: [22, 26] Generated Node #0,1,0: 78:[22, 26] Operation: 20+6=26 Exploring Operation: 22-20=2, Resulting Numbers: [6, 2] Generated Node #0,1,1: 78:[6, 2] Operation: 22-20=2 Exploring Operation: 20+22=42, Resulting Numbers: [6, 42] Generated Node #0,1,2: 78:[6, 42] Operation: 20+22=42 Moving to Node #0,0 Current State: 78:[20, 50, 78], Operations: ['22+56=78'] Exploring Operation: 50-20=30, Resulting Numbers: [78, 30] Generated Node #0,0,0: 78:[78, 30] Operation: 50-20=30 Exploring Operation: 78-50=28, Resulting Numbers: [20, 28] Generated Node #0,0,1: 78:[20, 28] Operation: 78-50=28 Exploring Operation: 20+50=70, Resulting Numbers: [78, 70] Generated Node #0,0,2: 78:[78, 70] Operation: 20+50=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[78, 30], Operations: ['22+56=78', '50-20=30'] Exploring Operation: 78+30=108, Resulting Numbers: [108] 108,78 unequal: No Solution Exploring Operation: 78*30=2340, Resulting Numbers: [2340] 2340,78 unequal: No Solution Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,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,1 Current State: 78:[20, 28], Operations: ['22+56=78', '78-50=28'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,78 unequal: No Solution Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,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,2 Current State: 78:[78, 70], Operations: ['22+56=78', '20+50=70'] Exploring Operation: 78-70=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 78*70=5460, Resulting Numbers: [5460] 5460,78 unequal: No Solution Exploring Operation: 78+70=148, Resulting Numbers: [148] 148,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 78:[22, 50, 76], Operations: ['20+56=76'] Exploring Operation: 22+50=72, Resulting Numbers: [76, 72] Generated Node #0,2,0: 78:[76, 72] Operation: 22+50=72 Exploring Operation: 76-50=26, Resulting Numbers: [22, 26] Generated Node #0,2,1: 78:[22, 26] Operation: 76-50=26 Exploring Operation: 50-22=28, Resulting Numbers: [76, 28] Generated Node #0,2,2: 78:[76, 28] Operation: 50-22=28 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[22, 26], Operations: ['20+56=76', '76-50=26'] Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,78 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,78 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[76, 28], Operations: ['20+56=76', '50-22=28'] Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,78 unequal: No Solution Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,78 unequal: No Solution Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,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,0 Current State: 78:[76, 72], Operations: ['20+56=76', '22+50=72'] Exploring Operation: 76*72=5472, Resulting Numbers: [5472] 5472,78 unequal: No Solution Exploring Operation: 76+72=148, Resulting Numbers: [148] 148,78 unequal: No Solution Exploring Operation: 76-72=4, Resulting Numbers: [4] 4,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 78:[6, 2], Operations: ['56-50=6', '22-20=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[6, 42], Operations: ['56-50=6', '20+22=42'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,78 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[22, 26], Operations: ['56-50=6', '20+6=26'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,78 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,78 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 47, 29, 28, 6 ]
80
[ "47-29=18", "6*18=108", "108-28=80" ]
Current State: 80:[47, 29, 28, 6], Operations: [] Exploring Operation: 47-29=18, Resulting Numbers: [28, 6, 18] Generated Node #2: [28, 6, 18] from Operation: 47-29=18 Current State: 80:[28, 6, 18], Operations: ['47-29=18'] Exploring Operation: 6*18=108, Resulting Numbers: [28, 108] Generated Node #3: [28, 108] from Operation: 6*18=108 Current State: 80:[28, 108], Operations: ['47-29=18', '6*18=108'] Exploring Operation: 108-28=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[47, 29, 28, 6], Operations: [] Exploring Operation: 29-28=1, Resulting Numbers: [47, 6, 1] Generated Node #0,0: 80:[47, 6, 1] Operation: 29-28=1 Exploring Operation: 47-29=18, Resulting Numbers: [28, 6, 18] Generated Node #0,1: 80:[28, 6, 18] Operation: 47-29=18 Exploring Operation: 47+29=76, Resulting Numbers: [28, 6, 76] Generated Node #0,2: 80:[28, 6, 76] Operation: 47+29=76 Exploring Operation: 47-28=19, Resulting Numbers: [29, 6, 19] Generated Node #0,3: 80:[29, 6, 19] Operation: 47-28=19 Moving to Node #0,0 Current State: 80:[47, 6, 1], Operations: ['29-28=1'] Exploring Operation: 47-1=46, Resulting Numbers: [6, 46] Generated Node #0,0,0: 80:[6, 46] Operation: 47-1=46 Exploring Operation: 47-6=41, Resulting Numbers: [1, 41] Generated Node #0,0,1: 80:[1, 41] Operation: 47-6=41 Exploring Operation: 6-1=5, Resulting Numbers: [47, 5] Generated Node #0,0,2: 80:[47, 5] Operation: 6-1=5 Exploring Operation: 47*1=47, Resulting Numbers: [6, 47] Generated Node #0,0,3: 80:[6, 47] Operation: 47*1=47 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[1, 41], Operations: ['29-28=1', '47-6=41'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,80 unequal: No Solution Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[6, 46], Operations: ['29-28=1', '47-1=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 6*46=276, Resulting Numbers: [276] 276,80 unequal: No Solution Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[47, 5], Operations: ['29-28=1', '6-1=5'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,80 unequal: No Solution Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,80 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[6, 47], Operations: ['29-28=1', '47*1=47'] Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,80 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,80 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: 80:[29, 6, 19], Operations: ['47-28=19'] Exploring Operation: 29+19=48, Resulting Numbers: [6, 48] Generated Node #0,3,0: 80:[6, 48] Operation: 29+19=48 Exploring Operation: 29+6=35, Resulting Numbers: [19, 35] Generated Node #0,3,1: 80:[19, 35] Operation: 29+6=35 Exploring Operation: 29-19=10, Resulting Numbers: [6, 10] Generated Node #0,3,2: 80:[6, 10] Operation: 29-19=10 Exploring Operation: 29-6=23, Resulting Numbers: [19, 23] Generated Node #0,3,3: 80:[19, 23] Operation: 29-6=23 Moving to Node #0,1 Current State: 80:[28, 6, 18], Operations: ['47-29=18'] Exploring Operation: 28+18=46, Resulting Numbers: [6, 46] Generated Node #0,1,0: 80:[6, 46] Operation: 28+18=46 Exploring Operation: 28-6=22, Resulting Numbers: [18, 22] Generated Node #0,1,1: 80:[18, 22] Operation: 28-6=22 Exploring Operation: 28-18=10, Resulting Numbers: [6, 10] Generated Node #0,1,2: 80:[6, 10] Operation: 28-18=10 Exploring Operation: 28+6=34, Resulting Numbers: [18, 34] Generated Node #0,1,3: 80:[18, 34] Operation: 28+6=34 Moving to Node #0,2 Current State: 80:[28, 6, 76], Operations: ['47+29=76'] Exploring Operation: 28+6=34, Resulting Numbers: [76, 34] Generated Node #0,2,0: 80:[76, 34] Operation: 28+6=34 Exploring Operation: 28-6=22, Resulting Numbers: [76, 22] Generated Node #0,2,1: 80:[76, 22] Operation: 28-6=22 Exploring Operation: 76-28=48, Resulting Numbers: [6, 48] Generated Node #0,2,2: 80:[6, 48] Operation: 76-28=48 Exploring Operation: 6+76=82, Resulting Numbers: [28, 82] Generated Node #0,2,3: 80:[28, 82] Operation: 6+76=82 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[76, 22], Operations: ['47+29=76', '28-6=22'] Exploring Operation: 76*22=1672, Resulting Numbers: [1672] 1672,80 unequal: No Solution Exploring Operation: 76+22=98, Resulting Numbers: [98] 98,80 unequal: No Solution Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[6, 48], Operations: ['47+29=76', '76-28=48'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,80 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,80 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[76, 34], Operations: ['47+29=76', '28+6=34'] Exploring Operation: 76+34=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,80 unequal: No Solution Exploring Operation: 76*34=2584, Resulting Numbers: [2584] 2584,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 80:[28, 82], Operations: ['47+29=76', '6+76=82'] Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 28*82=2296, Resulting Numbers: [2296] 2296,80 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 80:[6, 10], Operations: ['47-28=19', '29-19=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[6, 10], Operations: ['47-29=18', '28-18=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[18, 22], Operations: ['47-29=18', '28-6=22'] Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[19, 23], Operations: ['47-28=19', '29-6=23'] Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,80 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[19, 35], Operations: ['47-28=19', '29+6=35'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,80 unequal: No Solution Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[6, 46], Operations: ['47-29=18', '28+18=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 6*46=276, Resulting Numbers: [276] 276,80 unequal: No Solution Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[18, 34], Operations: ['47-29=18', '28+6=34'] Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[6, 48], Operations: ['47-28=19', '29+19=48'] Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,80 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,80 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 24, 16, 47, 87 ]
80
[ "24+16=40", "87-47=40", "40+40=80" ]
Current State: 80:[24, 16, 47, 87], Operations: [] Exploring Operation: 24+16=40, Resulting Numbers: [47, 87, 40] Generated Node #2: [47, 87, 40] from Operation: 24+16=40 Current State: 80:[47, 87, 40], Operations: ['24+16=40'] Exploring Operation: 87-47=40, Resulting Numbers: [40, 40] Generated Node #3: [40, 40] from Operation: 87-47=40 Current State: 80:[40, 40], Operations: ['24+16=40', '87-47=40'] Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[24, 16, 47, 87], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [24, 16, 40] Generated Node #0,0: 80:[24, 16, 40] Operation: 87-47=40 Exploring Operation: 47-24=23, Resulting Numbers: [16, 87, 23] Generated Node #0,1: 80:[16, 87, 23] Operation: 47-24=23 Moving to Node #0,0 Current State: 80:[24, 16, 40], Operations: ['87-47=40'] Exploring Operation: 24-16=8, Resulting Numbers: [40, 8] Generated Node #0,0,0: 80:[40, 8] Operation: 24-16=8 Exploring Operation: 24+16=40, Resulting Numbers: [40, 40] Generated Node #0,0,1: 80:[40, 40] Operation: 24+16=40 Moving to Node #0,1 Current State: 80:[16, 87, 23], Operations: ['47-24=23'] Exploring Operation: 16+23=39, Resulting Numbers: [87, 39] Generated Node #0,1,0: 80:[87, 39] Operation: 16+23=39 Exploring Operation: 23-16=7, Resulting Numbers: [87, 7] Generated Node #0,1,1: 80:[87, 7] Operation: 23-16=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[87, 39], Operations: ['47-24=23', '16+23=39'] Exploring Operation: 87+39=126, Resulting Numbers: [126] 126,80 unequal: No Solution Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[87, 7], Operations: ['47-24=23', '23-16=7'] Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[24, 16, 47, 87], Operations: [] Exploring Operation: 47-24=23, Resulting Numbers: [16, 87, 23] Generated Node #0,1: 80:[16, 87, 23] Operation: 47-24=23 Moving to Node #0,1 Current State: 80:[16, 87, 23], Operations: ['47-24=23'] Exploring Operation: 23-16=7, Resulting Numbers: [87, 7] Generated Node #0,1,1: 80:[87, 7] Operation: 23-16=7 Moving to Node #0,1,1 Current State: 80:[87, 7], Operations: ['47-24=23', '23-16=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_2
mult_heuristic
[ 10, 61, 60, 9 ]
80
[ "61-60=1", "9-1=8", "10*8=80" ]
Current State: 80:[10, 61, 60, 9], Operations: [] Exploring Operation: 61-60=1, Resulting Numbers: [10, 9, 1] Generated Node #2: [10, 9, 1] from Operation: 61-60=1 Current State: 80:[10, 9, 1], Operations: ['61-60=1'] Exploring Operation: 9-1=8, Resulting Numbers: [10, 8] Generated Node #3: [10, 8] from Operation: 9-1=8 Current State: 80:[10, 8], Operations: ['61-60=1', '9-1=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[10, 61, 60, 9], Operations: [] Exploring Operation: 10+61=71, Resulting Numbers: [60, 9, 71] Generated Node #0,0: 80:[60, 9, 71] Operation: 10+61=71 Exploring Operation: 61-60=1, Resulting Numbers: [10, 9, 1] Generated Node #0,1: 80:[10, 9, 1] Operation: 61-60=1 Exploring Operation: 60/10=6, Resulting Numbers: [61, 9, 6] Generated Node #0,2: 80:[61, 9, 6] Operation: 60/10=6 Moving to Node #0,1 Current State: 80:[10, 9, 1], Operations: ['61-60=1'] Exploring Operation: 10*1=10, Resulting Numbers: [9, 10] Generated Node #0,1,0: 80:[9, 10] Operation: 10*1=10 Exploring Operation: 9-1=8, Resulting Numbers: [10, 8] Generated Node #0,1,1: 80:[10, 8] Operation: 9-1=8 Exploring Operation: 9+1=10, Resulting Numbers: [10, 10] Generated Node #0,1,2: 80:[10, 10] Operation: 9+1=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[10, 8], Operations: ['61-60=1', '9-1=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[10, 61, 60, 9], Operations: [] Exploring Operation: 61-60=1, Resulting Numbers: [10, 9, 1] Generated Node #0,1: 80:[10, 9, 1] Operation: 61-60=1 Moving to Node #0,1 Current State: 80:[10, 9, 1], Operations: ['61-60=1'] Exploring Operation: 9-1=8, Resulting Numbers: [10, 8] Generated Node #0,1,1: 80:[10, 8] Operation: 9-1=8 Moving to Node #0,1,1 Current State: 80:[10, 8], Operations: ['61-60=1', '9-1=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 42, 39, 4, 87 ]
94
[ "42-39=3", "4+87=91", "3+91=94" ]
Current State: 94:[42, 39, 4, 87], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [4, 87, 3] Generated Node #2: [4, 87, 3] from Operation: 42-39=3 Current State: 94:[4, 87, 3], Operations: ['42-39=3'] Exploring Operation: 4+87=91, Resulting Numbers: [3, 91] Generated Node #3: [3, 91] from Operation: 4+87=91 Current State: 94:[3, 91], Operations: ['42-39=3', '4+87=91'] Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[42, 39, 4, 87], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [42, 4, 48] Generated Node #0,0: 94:[42, 4, 48] Operation: 87-39=48 Moving to Node #0,0 Current State: 94:[42, 4, 48], Operations: ['87-39=48'] Exploring Operation: 42+4=46, Resulting Numbers: [48, 46] Generated Node #0,0,0: 94:[48, 46] Operation: 42+4=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[48, 46], Operations: ['87-39=48', '42+4=46'] Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[42, 39, 4, 87], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [42, 4, 48] Generated Node #0,0: 94:[42, 4, 48] Operation: 87-39=48 Moving to Node #0,0 Current State: 94:[42, 4, 48], Operations: ['87-39=48'] Exploring Operation: 42+4=46, Resulting Numbers: [48, 46] Generated Node #0,0,0: 94:[48, 46] Operation: 42+4=46 Moving to Node #0,0,0 Current State: 94:[48, 46], Operations: ['87-39=48', '42+4=46'] Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 36, 12, 64, 19 ]
40
[ "12+64=76", "76/19=4", "36+4=40" ]
Current State: 40:[36, 12, 64, 19], Operations: [] Exploring Operation: 12+64=76, Resulting Numbers: [36, 19, 76] Generated Node #2: [36, 19, 76] from Operation: 12+64=76 Current State: 40:[36, 19, 76], Operations: ['12+64=76'] Exploring Operation: 76/19=4, Resulting Numbers: [36, 4] Generated Node #3: [36, 4] from Operation: 76/19=4 Current State: 40:[36, 4], Operations: ['12+64=76', '76/19=4'] Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[36, 12, 64, 19], Operations: [] Exploring Operation: 64-36=28, Resulting Numbers: [12, 19, 28] Generated Node #0,0: 40:[12, 19, 28] Operation: 64-36=28 Exploring Operation: 64-19=45, Resulting Numbers: [36, 12, 45] Generated Node #0,1: 40:[36, 12, 45] Operation: 64-19=45 Moving to Node #0,0 Current State: 40:[12, 19, 28], Operations: ['64-36=28'] Exploring Operation: 12+28=40, Resulting Numbers: [19, 40] Generated Node #0,0,0: 40:[19, 40] Operation: 12+28=40 Exploring Operation: 28-19=9, Resulting Numbers: [12, 9] Generated Node #0,0,1: 40:[12, 9] Operation: 28-19=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[19, 40], Operations: ['64-36=28', '12+28=40'] Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[12, 9], Operations: ['64-36=28', '28-19=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,40 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: 40:[36, 12, 45], Operations: ['64-19=45'] Exploring Operation: 36/12=3, Resulting Numbers: [45, 3] Generated Node #0,1,0: 40:[45, 3] Operation: 36/12=3 Exploring Operation: 45-36=9, Resulting Numbers: [12, 9] Generated Node #0,1,1: 40:[12, 9] Operation: 45-36=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[12, 9], Operations: ['64-19=45', '45-36=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[45, 3], Operations: ['64-19=45', '36/12=3'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,40 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,40 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
[ 3, 39, 16, 54 ]
83
[ "39/3=13", "16+54=70", "13+70=83" ]
Current State: 83:[3, 39, 16, 54], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [16, 54, 13] Generated Node #2: [16, 54, 13] from Operation: 39/3=13 Current State: 83:[16, 54, 13], Operations: ['39/3=13'] Exploring Operation: 16+54=70, Resulting Numbers: [13, 70] Generated Node #3: [13, 70] from Operation: 16+54=70 Current State: 83:[13, 70], Operations: ['39/3=13', '16+54=70'] Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[3, 39, 16, 54], Operations: [] Exploring Operation: 3+16=19, Resulting Numbers: [39, 54, 19] Generated Node #0,0: 83:[39, 54, 19] Operation: 3+16=19 Exploring Operation: 3+39=42, Resulting Numbers: [16, 54, 42] Generated Node #0,1: 83:[16, 54, 42] Operation: 3+39=42 Exploring Operation: 3*16=48, Resulting Numbers: [39, 54, 48] Generated Node #0,2: 83:[39, 54, 48] Operation: 3*16=48 Exploring Operation: 3*39=117, Resulting Numbers: [16, 54, 117] Generated Node #0,3: 83:[16, 54, 117] Operation: 3*39=117 Exploring Operation: 3+54=57, Resulting Numbers: [39, 16, 57] Generated Node #0,4: 83:[39, 16, 57] Operation: 3+54=57 Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[39, 54, 48], Operations: ['3*16=48'] Exploring Operation: 39+48=87, Resulting Numbers: [54, 87] Generated Node #0,2,0: 83:[54, 87] Operation: 39+48=87 Exploring Operation: 54-39=15, Resulting Numbers: [48, 15] Generated Node #0,2,1: 83:[48, 15] Operation: 54-39=15 Exploring Operation: 54+48=102, Resulting Numbers: [39, 102] Generated Node #0,2,2: 83:[39, 102] Operation: 54+48=102 Exploring Operation: 48-39=9, Resulting Numbers: [54, 9] Generated Node #0,2,3: 83:[54, 9] Operation: 48-39=9 Exploring Operation: 39+54=93, Resulting Numbers: [48, 93] Generated Node #0,2,4: 83:[48, 93] Operation: 39+54=93 Moving to Node #0,2,0 Current State: 83:[54, 87], Operations: ['3*16=48', '39+48=87'] Exploring Operation: 87-54=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 54+87=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 54*87=4698, Resulting Numbers: [4698] 4698,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[48, 93], Operations: ['3*16=48', '39+54=93'] Exploring Operation: 48+93=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 93-48=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 48*93=4464, Resulting Numbers: [4464] 4464,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[39, 102], Operations: ['3*16=48', '54+48=102'] Exploring Operation: 39*102=3978, Resulting Numbers: [3978] 3978,83 unequal: No Solution Exploring Operation: 102-39=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 39+102=141, Resulting Numbers: [141] 141,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[48, 15], Operations: ['3*16=48', '54-39=15'] Exploring Operation: 48*15=720, Resulting Numbers: [720] 720,83 unequal: No Solution Exploring Operation: 48+15=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[54, 9], Operations: ['3*16=48', '48-39=9'] Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 54+9=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 54*9=486, Resulting Numbers: [486] 486,83 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[16, 54, 117], Operations: ['3*39=117'] Exploring Operation: 16+117=133, Resulting Numbers: [54, 133] Generated Node #0,3,0: 83:[54, 133] Operation: 16+117=133 Exploring Operation: 54-16=38, Resulting Numbers: [117, 38] Generated Node #0,3,1: 83:[117, 38] Operation: 54-16=38 Exploring Operation: 16+54=70, Resulting Numbers: [117, 70] Generated Node #0,3,2: 83:[117, 70] Operation: 16+54=70 Exploring Operation: 117-16=101, Resulting Numbers: [54, 101] Generated Node #0,3,3: 83:[54, 101] Operation: 117-16=101 Exploring Operation: 117-54=63, Resulting Numbers: [16, 63] Generated Node #0,3,4: 83:[16, 63] Operation: 117-54=63 Moving to Node #0,3,2 Current State: 83:[117, 70], Operations: ['3*39=117', '16+54=70'] Exploring Operation: 117+70=187, Resulting Numbers: [187] 187,83 unequal: No Solution Exploring Operation: 117-70=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 117*70=8190, Resulting Numbers: [8190] 8190,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[54, 101], Operations: ['3*39=117', '117-16=101'] Exploring Operation: 54*101=5454, Resulting Numbers: [5454] 5454,83 unequal: No Solution Exploring Operation: 54+101=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 101-54=47, Resulting Numbers: [47] 47,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[54, 133], Operations: ['3*39=117', '16+117=133'] Exploring Operation: 133-54=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 54*133=7182, Resulting Numbers: [7182] 7182,83 unequal: No Solution Exploring Operation: 54+133=187, Resulting Numbers: [187] 187,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[117, 38], Operations: ['3*39=117', '54-16=38'] Exploring Operation: 117*38=4446, Resulting Numbers: [4446] 4446,83 unequal: No Solution Exploring Operation: 117+38=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 117-38=79, Resulting Numbers: [79] 79,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[16, 63], Operations: ['3*39=117', '117-54=63'] Exploring Operation: 16*63=1008, Resulting Numbers: [1008] 1008,83 unequal: No Solution Exploring Operation: 16+63=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,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 Current State: 83:[39, 54, 19], Operations: ['3+16=19'] Exploring Operation: 39+19=58, Resulting Numbers: [54, 58] Generated Node #0,0,0: 83:[54, 58] Operation: 39+19=58 Exploring Operation: 39+54=93, Resulting Numbers: [19, 93] Generated Node #0,0,1: 83:[19, 93] Operation: 39+54=93 Exploring Operation: 39-19=20, Resulting Numbers: [54, 20] Generated Node #0,0,2: 83:[54, 20] Operation: 39-19=20 Exploring Operation: 54+19=73, Resulting Numbers: [39, 73] Generated Node #0,0,3: 83:[39, 73] Operation: 54+19=73 Exploring Operation: 54-19=35, Resulting Numbers: [39, 35] Generated Node #0,0,4: 83:[39, 35] Operation: 54-19=35 Moving to Node #0,0,0 Current State: 83:[54, 58], Operations: ['3+16=19', '39+19=58'] Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,83 unequal: No Solution Exploring Operation: 54+58=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 54*58=3132, Resulting Numbers: [3132] 3132,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[39, 73], Operations: ['3+16=19', '54+19=73'] Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 39*73=2847, Resulting Numbers: [2847] 2847,83 unequal: No Solution Exploring Operation: 39+73=112, Resulting Numbers: [112] 112,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[19, 93], Operations: ['3+16=19', '39+54=93'] Exploring Operation: 19*93=1767, Resulting Numbers: [1767] 1767,83 unequal: No Solution Exploring Operation: 19+93=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 93-19=74, Resulting Numbers: [74] 74,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[54, 20], Operations: ['3+16=19', '39-19=20'] Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,83 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[39, 35], Operations: ['3+16=19', '54-19=35'] Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,83 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,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:[16, 54, 42], Operations: ['3+39=42'] Exploring Operation: 54+42=96, Resulting Numbers: [16, 96] Generated Node #0,1,0: 83:[16, 96] Operation: 54+42=96 Exploring Operation: 54-16=38, Resulting Numbers: [42, 38] Generated Node #0,1,1: 83:[42, 38] Operation: 54-16=38 Exploring Operation: 16+42=58, Resulting Numbers: [54, 58] Generated Node #0,1,2: 83:[54, 58] Operation: 16+42=58 Exploring Operation: 16+54=70, Resulting Numbers: [42, 70] Generated Node #0,1,3: 83:[42, 70] Operation: 16+54=70 Exploring Operation: 42-16=26, Resulting Numbers: [54, 26] Generated Node #0,1,4: 83:[54, 26] Operation: 42-16=26 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[54, 58], Operations: ['3+39=42', '16+42=58'] Exploring Operation: 54*58=3132, Resulting Numbers: [3132] 3132,83 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,83 unequal: No Solution Exploring Operation: 54+58=112, Resulting Numbers: [112] 112,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,3 Current State: 83:[42, 70], Operations: ['3+39=42', '16+54=70'] Exploring Operation: 42+70=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 42*70=2940, Resulting Numbers: [2940] 2940,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,0 Current State: 83:[16, 96], Operations: ['3+39=42', '54+42=96'] Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 16+96=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 16*96=1536, Resulting Numbers: [1536] 1536,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:[42, 38], Operations: ['3+39=42', '54-16=38'] Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 42*38=1596, Resulting Numbers: [1596] 1596,83 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,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,4 Current State: 83:[54, 26], Operations: ['3+39=42', '42-16=26'] Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,83 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,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,4 Current State: 83:[39, 16, 57], Operations: ['3+54=57'] Exploring Operation: 39+16=55, Resulting Numbers: [57, 55] Generated Node #0,4,0: 83:[57, 55] Operation: 39+16=55 Exploring Operation: 39-16=23, Resulting Numbers: [57, 23] Generated Node #0,4,1: 83:[57, 23] Operation: 39-16=23 Exploring Operation: 57-16=41, Resulting Numbers: [39, 41] Generated Node #0,4,2: 83:[39, 41] Operation: 57-16=41 Exploring Operation: 16+57=73, Resulting Numbers: [39, 73] Generated Node #0,4,3: 83:[39, 73] Operation: 16+57=73 Exploring Operation: 39+57=96, Resulting Numbers: [16, 96] Generated Node #0,4,4: 83:[16, 96] Operation: 39+57=96 Moving to Node #0,4,0 Current State: 83:[57, 55], Operations: ['3+54=57', '39+16=55'] Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[39, 73], Operations: ['3+54=57', '16+57=73'] Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 39+73=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 39*73=2847, Resulting Numbers: [2847] 2847,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[16, 96], Operations: ['3+54=57', '39+57=96'] Exploring Operation: 16*96=1536, Resulting Numbers: [1536] 1536,83 unequal: No Solution Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 16+96=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[57, 23], Operations: ['3+54=57', '39-16=23'] Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,83 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[39, 41], Operations: ['3+54=57', '57-16=41'] Exploring Operation: 39*41=1599, Resulting Numbers: [1599] 1599,83 unequal: No Solution Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 99, 64, 52, 76 ]
97
[ "52+76=128", "128/64=2", "99-2=97" ]
Current State: 97:[99, 64, 52, 76], Operations: [] Exploring Operation: 52+76=128, Resulting Numbers: [99, 64, 128] Generated Node #2: [99, 64, 128] from Operation: 52+76=128 Current State: 97:[99, 64, 128], Operations: ['52+76=128'] Exploring Operation: 128/64=2, Resulting Numbers: [99, 2] Generated Node #3: [99, 2] from Operation: 128/64=2 Current State: 97:[99, 2], Operations: ['52+76=128', '128/64=2'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[99, 64, 52, 76], Operations: [] Exploring Operation: 64+52=116, Resulting Numbers: [99, 76, 116] Generated Node #0,0: 97:[99, 76, 116] Operation: 64+52=116 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[99, 76, 116], Operations: ['64+52=116'] Exploring Operation: 116-76=40, Resulting Numbers: [99, 40] Generated Node #0,0,0: 97:[99, 40] Operation: 116-76=40 Moving to Node #0,0,0 Current State: 97:[99, 40], Operations: ['64+52=116', '116-76=40'] Exploring Operation: 99-40=59, Resulting Numbers: [59] 59,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
[ 91, 7, 83, 68 ]
78
[ "91-68=23", "7*23=161", "161-83=78" ]
Current State: 78:[91, 7, 83, 68], Operations: [] Exploring Operation: 91-68=23, Resulting Numbers: [7, 83, 23] Generated Node #2: [7, 83, 23] from Operation: 91-68=23 Current State: 78:[7, 83, 23], Operations: ['91-68=23'] Exploring Operation: 7*23=161, Resulting Numbers: [83, 161] Generated Node #3: [83, 161] from Operation: 7*23=161 Current State: 78:[83, 161], Operations: ['91-68=23', '7*23=161'] Exploring Operation: 161-83=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[91, 7, 83, 68], Operations: [] Exploring Operation: 91-83=8, Resulting Numbers: [7, 68, 8] Generated Node #0,0: 78:[7, 68, 8] Operation: 91-83=8 Exploring Operation: 91-68=23, Resulting Numbers: [7, 83, 23] Generated Node #0,1: 78:[7, 83, 23] Operation: 91-68=23 Moving to Node #0,1 Current State: 78:[7, 83, 23], Operations: ['91-68=23'] Exploring Operation: 23-7=16, Resulting Numbers: [83, 16] Generated Node #0,1,0: 78:[83, 16] Operation: 23-7=16 Exploring Operation: 83-7=76, Resulting Numbers: [23, 76] Generated Node #0,1,1: 78:[23, 76] Operation: 83-7=76 Moving to Node #0,0 Current State: 78:[7, 68, 8], Operations: ['91-83=8'] Exploring Operation: 7+68=75, Resulting Numbers: [8, 75] Generated Node #0,0,0: 78:[8, 75] Operation: 7+68=75 Exploring Operation: 68+8=76, Resulting Numbers: [7, 76] Generated Node #0,0,1: 78:[7, 76] Operation: 68+8=76 Moving to Node #0,0,1 Current State: 78:[7, 76], Operations: ['91-83=8', '68+8=76'] Exploring Operation: 7+76=83, Resulting Numbers: [83] 83,78 unequal: No Solution Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[23, 76], Operations: ['91-68=23', '83-7=76'] Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 23+76=99, Resulting Numbers: [99] 99,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[8, 75], Operations: ['91-83=8', '7+68=75'] Exploring Operation: 8+75=83, Resulting Numbers: [83] 83,78 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[83, 16], Operations: ['91-68=23', '23-7=16'] Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,78 unequal: No Solution Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,78 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 55, 50, 10, 22 ]
46
[ "10*22=220", "220/55=4", "50-4=46" ]
Current State: 46:[55, 50, 10, 22], Operations: [] Exploring Operation: 10*22=220, Resulting Numbers: [55, 50, 220] Generated Node #2: [55, 50, 220] from Operation: 10*22=220 Current State: 46:[55, 50, 220], Operations: ['10*22=220'] Exploring Operation: 220/55=4, Resulting Numbers: [50, 4] Generated Node #3: [50, 4] from Operation: 220/55=4 Current State: 46:[50, 4], Operations: ['10*22=220', '220/55=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[55, 50, 10, 22], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [55, 22, 5] Generated Node #0,0: 46:[55, 22, 5] Operation: 50/10=5 Exploring Operation: 55-10=45, Resulting Numbers: [50, 22, 45] Generated Node #0,1: 46:[50, 22, 45] Operation: 55-10=45 Exploring Operation: 50-10=40, Resulting Numbers: [55, 22, 40] Generated Node #0,2: 46:[55, 22, 40] Operation: 50-10=40 Exploring Operation: 55-50=5, Resulting Numbers: [10, 22, 5] Generated Node #0,3: 46:[10, 22, 5] Operation: 55-50=5 Moving to Node #0,1 Current State: 46:[50, 22, 45], Operations: ['55-10=45'] Exploring Operation: 22+45=67, Resulting Numbers: [50, 67] Generated Node #0,1,0: 46:[50, 67] Operation: 22+45=67 Exploring Operation: 45-22=23, Resulting Numbers: [50, 23] Generated Node #0,1,1: 46:[50, 23] Operation: 45-22=23 Exploring Operation: 50-22=28, Resulting Numbers: [45, 28] Generated Node #0,1,2: 46:[45, 28] Operation: 50-22=28 Exploring Operation: 50-45=5, Resulting Numbers: [22, 5] Generated Node #0,1,3: 46:[22, 5] Operation: 50-45=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[50, 23], Operations: ['55-10=45', '45-22=23'] Exploring Operation: 50*23=1150, Resulting Numbers: [1150] 1150,46 unequal: No Solution Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,46 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[22, 5], Operations: ['55-10=45', '50-45=5'] Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,46 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[45, 28], Operations: ['55-10=45', '50-22=28'] Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,46 unequal: No Solution Exploring Operation: 45*28=1260, Resulting Numbers: [1260] 1260,46 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[50, 67], Operations: ['55-10=45', '22+45=67'] Exploring Operation: 50*67=3350, Resulting Numbers: [3350] 3350,46 unequal: No Solution Exploring Operation: 50+67=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,46 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: 46:[10, 22, 5], Operations: ['55-50=5'] Exploring Operation: 10*5=50, Resulting Numbers: [22, 50] Generated Node #0,3,0: 46:[22, 50] Operation: 10*5=50 Exploring Operation: 10+5=15, Resulting Numbers: [22, 15] Generated Node #0,3,1: 46:[22, 15] Operation: 10+5=15 Exploring Operation: 10/5=2, Resulting Numbers: [22, 2] Generated Node #0,3,2: 46:[22, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [22, 5] Generated Node #0,3,3: 46:[22, 5] Operation: 10-5=5 Moving to Node #0,0 Current State: 46:[55, 22, 5], Operations: ['50/10=5'] Exploring Operation: 55/5=11, Resulting Numbers: [22, 11] Generated Node #0,0,0: 46:[22, 11] Operation: 55/5=11 Exploring Operation: 55-5=50, Resulting Numbers: [22, 50] Generated Node #0,0,1: 46:[22, 50] Operation: 55-5=50 Exploring Operation: 22+5=27, Resulting Numbers: [55, 27] Generated Node #0,0,2: 46:[55, 27] Operation: 22+5=27 Exploring Operation: 55-22=33, Resulting Numbers: [5, 33] Generated Node #0,0,3: 46:[5, 33] Operation: 55-22=33 Moving to Node #0,2 Current State: 46:[55, 22, 40], Operations: ['50-10=40'] Exploring Operation: 40-22=18, Resulting Numbers: [55, 18] Generated Node #0,2,0: 46:[55, 18] Operation: 40-22=18 Exploring Operation: 22+40=62, Resulting Numbers: [55, 62] Generated Node #0,2,1: 46:[55, 62] Operation: 22+40=62 Exploring Operation: 55-22=33, Resulting Numbers: [40, 33] Generated Node #0,2,2: 46:[40, 33] Operation: 55-22=33 Exploring Operation: 55-40=15, Resulting Numbers: [22, 15] Generated Node #0,2,3: 46:[22, 15] Operation: 55-40=15 Moving to Node #0,3,2 Current State: 46:[22, 2], Operations: ['55-50=5', '10/5=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,46 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[22, 5], Operations: ['55-50=5', '10-5=5'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,46 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[22, 50], Operations: ['55-50=5', '10*5=50'] Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[22, 50], Operations: ['50/10=5', '55-5=50'] Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,46 unequal: No Solution Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[22, 15], Operations: ['55-50=5', '10+5=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[22, 15], Operations: ['50-10=40', '55-40=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[22, 11], Operations: ['50/10=5', '55/5=11'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,46 unequal: No Solution Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,46 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[55, 27], Operations: ['50/10=5', '22+5=27'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,46 unequal: No Solution Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[5, 33], Operations: ['50/10=5', '55-22=33'] Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,46 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[55, 18], Operations: ['50-10=40', '40-22=18'] Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,46 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 55*18=990, Resulting Numbers: [990] 990,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[40, 33], Operations: ['50-10=40', '55-22=33'] Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,46 unequal: No Solution Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,46 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[55, 62], Operations: ['50-10=40', '22+40=62'] Exploring Operation: 55+62=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 55*62=3410, Resulting Numbers: [3410] 3410,46 unequal: No Solution Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,46 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 32, 49, 57, 25 ]
100
[ "32*25=800", "57-49=8", "800/8=100" ]
Current State: 100:[32, 49, 57, 25], Operations: [] Exploring Operation: 32*25=800, Resulting Numbers: [49, 57, 800] Generated Node #2: [49, 57, 800] from Operation: 32*25=800 Current State: 100:[49, 57, 800], Operations: ['32*25=800'] Exploring Operation: 57-49=8, Resulting Numbers: [800, 8] Generated Node #3: [800, 8] from Operation: 57-49=8 Current State: 100:[800, 8], Operations: ['32*25=800', '57-49=8'] Exploring Operation: 800/8=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[32, 49, 57, 25], Operations: [] Exploring Operation: 32-25=7, Resulting Numbers: [49, 57, 7] Generated Node #0,0: 100:[49, 57, 7] Operation: 32-25=7 Exploring Operation: 49-32=17, Resulting Numbers: [57, 25, 17] Generated Node #0,1: 100:[57, 25, 17] Operation: 49-32=17 Exploring Operation: 57-32=25, Resulting Numbers: [49, 25, 25] Generated Node #0,2: 100:[49, 25, 25] Operation: 57-32=25 Exploring Operation: 57-49=8, Resulting Numbers: [32, 25, 8] Generated Node #0,3: 100:[32, 25, 8] Operation: 57-49=8 Moving to Node #0,2 Current State: 100:[49, 25, 25], Operations: ['57-32=25'] Exploring Operation: 25+25=50, Resulting Numbers: [49, 50] Generated Node #0,2,0: 100:[49, 50] Operation: 25+25=50 Exploring Operation: 25/25=1, Resulting Numbers: [49, 1] Generated Node #0,2,1: 100:[49, 1] Operation: 25/25=1 Exploring Operation: 49-25=24, Resulting Numbers: [25, 24] Generated Node #0,2,2: 100:[25, 24] Operation: 49-25=24 Exploring Operation: 49-25=24, Resulting Numbers: [25, 24] Generated Node #0,2,3: 100:[25, 24] Operation: 49-25=24 Moving to Node #0,3 Current State: 100:[32, 25, 8], Operations: ['57-49=8'] Exploring Operation: 32/8=4, Resulting Numbers: [25, 4] Generated Node #0,3,0: 100:[25, 4] Operation: 32/8=4 Exploring Operation: 32-25=7, Resulting Numbers: [8, 7] Generated Node #0,3,1: 100:[8, 7] Operation: 32-25=7 Exploring Operation: 32+25=57, Resulting Numbers: [8, 57] Generated Node #0,3,2: 100:[8, 57] Operation: 32+25=57 Exploring Operation: 32-8=24, Resulting Numbers: [25, 24] Generated Node #0,3,3: 100:[25, 24] Operation: 32-8=24 Moving to Node #0,1 Current State: 100:[57, 25, 17], Operations: ['49-32=17'] Exploring Operation: 25-17=8, Resulting Numbers: [57, 8] Generated Node #0,1,0: 100:[57, 8] Operation: 25-17=8 Exploring Operation: 25+17=42, Resulting Numbers: [57, 42] Generated Node #0,1,1: 100:[57, 42] Operation: 25+17=42 Exploring Operation: 57-25=32, Resulting Numbers: [17, 32] Generated Node #0,1,2: 100:[17, 32] Operation: 57-25=32 Exploring Operation: 57-17=40, Resulting Numbers: [25, 40] Generated Node #0,1,3: 100:[25, 40] Operation: 57-17=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[57, 8], Operations: ['49-32=17', '25-17=8'] Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,100 unequal: No Solution Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,100 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[17, 32], Operations: ['49-32=17', '57-25=32'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,100 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 100:[25, 40], Operations: ['49-32=17', '57-17=40'] Exploring Operation: 25*40=1000, Resulting Numbers: [1000] 1000,100 unequal: No Solution Exploring Operation: 25+40=65, Resulting Numbers: [65] 65,100 unequal: No Solution Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[57, 42], Operations: ['49-32=17', '25+17=42'] Exploring Operation: 57*42=2394, Resulting Numbers: [2394] 2394,100 unequal: No Solution Exploring Operation: 57+42=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,100 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: 100:[49, 57, 7], Operations: ['32-25=7'] Exploring Operation: 49+57=106, Resulting Numbers: [7, 106] Generated Node #0,0,0: 100:[7, 106] Operation: 49+57=106 Exploring Operation: 57-7=50, Resulting Numbers: [49, 50] Generated Node #0,0,1: 100:[49, 50] Operation: 57-7=50 Exploring Operation: 49/7=7, Resulting Numbers: [57, 7] Generated Node #0,0,2: 100:[57, 7] Operation: 49/7=7 Exploring Operation: 57-49=8, Resulting Numbers: [7, 8] Generated Node #0,0,3: 100:[7, 8] Operation: 57-49=8 Moving to Node #0,3,0 Current State: 100:[25, 4], Operations: ['57-49=8', '32/8=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[32, 49, 57, 25], Operations: [] Exploring Operation: 57-49=8, Resulting Numbers: [32, 25, 8] Generated Node #0,3: 100:[32, 25, 8] Operation: 57-49=8 Moving to Node #0,3 Current State: 100:[32, 25, 8], Operations: ['57-49=8'] Exploring Operation: 32/8=4, Resulting Numbers: [25, 4] Generated Node #0,3,0: 100:[25, 4] Operation: 32/8=4 Moving to Node #0,3,0 Current State: 100:[25, 4], Operations: ['57-49=8', '32/8=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 93, 36, 87, 89 ]
47
[ "93+36=129", "87+89=176", "176-129=47" ]
Current State: 47:[93, 36, 87, 89], Operations: [] Exploring Operation: 93+36=129, Resulting Numbers: [87, 89, 129] Generated Node #2: [87, 89, 129] from Operation: 93+36=129 Current State: 47:[87, 89, 129], Operations: ['93+36=129'] Exploring Operation: 87+89=176, Resulting Numbers: [129, 176] Generated Node #3: [129, 176] from Operation: 87+89=176 Current State: 47:[129, 176], Operations: ['93+36=129', '87+89=176'] Exploring Operation: 176-129=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[93, 36, 87, 89], Operations: [] Exploring Operation: 93-36=57, Resulting Numbers: [87, 89, 57] Generated Node #0,0: 47:[87, 89, 57] Operation: 93-36=57 Exploring Operation: 89-36=53, Resulting Numbers: [93, 87, 53] Generated Node #0,1: 47:[93, 87, 53] Operation: 89-36=53 Exploring Operation: 87-36=51, Resulting Numbers: [93, 89, 51] Generated Node #0,2: 47:[93, 89, 51] Operation: 87-36=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[87, 89, 57], Operations: ['93-36=57'] Exploring Operation: 89-57=32, Resulting Numbers: [87, 32] Generated Node #0,0,0: 47:[87, 32] Operation: 89-57=32 Exploring Operation: 89-87=2, Resulting Numbers: [57, 2] Generated Node #0,0,1: 47:[57, 2] Operation: 89-87=2 Exploring Operation: 87-57=30, Resulting Numbers: [89, 30] Generated Node #0,0,2: 47:[89, 30] Operation: 87-57=30 Moving to Node #0,0,0 Current State: 47:[87, 32], Operations: ['93-36=57', '89-57=32'] Exploring Operation: 87+32=119, Resulting Numbers: [119] 119,47 unequal: No Solution Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 87*32=2784, Resulting Numbers: [2784] 2784,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[57, 2], Operations: ['93-36=57', '89-87=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,47 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[89, 30], Operations: ['93-36=57', '87-57=30'] Exploring Operation: 89*30=2670, Resulting Numbers: [2670] 2670,47 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,47 unequal: No Solution Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,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 Current State: 47:[93, 87, 53], Operations: ['89-36=53'] Exploring Operation: 93-87=6, Resulting Numbers: [53, 6] Generated Node #0,1,0: 47:[53, 6] Operation: 93-87=6 Exploring Operation: 93-53=40, Resulting Numbers: [87, 40] Generated Node #0,1,1: 47:[87, 40] Operation: 93-53=40 Exploring Operation: 87-53=34, Resulting Numbers: [93, 34] Generated Node #0,1,2: 47:[93, 34] Operation: 87-53=34 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[53, 6], Operations: ['89-36=53', '93-87=6'] Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,47 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[93, 36, 87, 89], Operations: [] Exploring Operation: 89-36=53, Resulting Numbers: [93, 87, 53] Generated Node #0,1: 47:[93, 87, 53] Operation: 89-36=53 Moving to Node #0,1 Current State: 47:[93, 87, 53], Operations: ['89-36=53'] Exploring Operation: 93-87=6, Resulting Numbers: [53, 6] Generated Node #0,1,0: 47:[53, 6] Operation: 93-87=6 Moving to Node #0,1,0 Current State: 47:[53, 6], Operations: ['89-36=53', '93-87=6'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 73, 3, 23, 86 ]
54
[ "73+23=96", "96/3=32", "86-32=54" ]
Current State: 54:[73, 3, 23, 86], Operations: [] Exploring Operation: 73+23=96, Resulting Numbers: [3, 86, 96] Generated Node #2: [3, 86, 96] from Operation: 73+23=96 Current State: 54:[3, 86, 96], Operations: ['73+23=96'] Exploring Operation: 96/3=32, Resulting Numbers: [86, 32] Generated Node #3: [86, 32] from Operation: 96/3=32 Current State: 54:[86, 32], Operations: ['73+23=96', '96/3=32'] Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[73, 3, 23, 86], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [3, 23, 13] Generated Node #0,0: 54:[3, 23, 13] Operation: 86-73=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[3, 23, 13], Operations: ['86-73=13'] Exploring Operation: 23-13=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 54:[3, 10] Operation: 23-13=10 Moving to Node #0,0,0 Current State: 54:[3, 10], Operations: ['86-73=13', '23-13=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,54 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
[ 38, 58, 61, 42 ]
92
[ "58*61=3538", "3538-42=3496", "3496/38=92" ]
Current State: 92:[38, 58, 61, 42], Operations: [] Exploring Operation: 58*61=3538, Resulting Numbers: [38, 42, 3538] Generated Node #2: [38, 42, 3538] from Operation: 58*61=3538 Current State: 92:[38, 42, 3538], Operations: ['58*61=3538'] Exploring Operation: 3538-42=3496, Resulting Numbers: [38, 3496] Generated Node #3: [38, 3496] from Operation: 3538-42=3496 Current State: 92:[38, 3496], Operations: ['58*61=3538', '3538-42=3496'] Exploring Operation: 3496/38=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[38, 58, 61, 42], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [38, 42, 3] Generated Node #0,0: 92:[38, 42, 3] Operation: 61-58=3 Exploring Operation: 61-38=23, Resulting Numbers: [58, 42, 23] Generated Node #0,1: 92:[58, 42, 23] Operation: 61-38=23 Moving to Node #0,0 Current State: 92:[38, 42, 3], Operations: ['61-58=3'] Exploring Operation: 42-38=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 92:[3, 4] Operation: 42-38=4 Exploring Operation: 38+3=41, Resulting Numbers: [42, 41] Generated Node #0,0,1: 92:[42, 41] Operation: 38+3=41 Moving to Node #0,1 Current State: 92:[58, 42, 23], Operations: ['61-38=23'] Exploring Operation: 58-42=16, Resulting Numbers: [23, 16] Generated Node #0,1,0: 92:[23, 16] Operation: 58-42=16 Exploring Operation: 58+42=100, Resulting Numbers: [23, 100] Generated Node #0,1,1: 92:[23, 100] Operation: 58+42=100 Moving to Node #0,0,0 Current State: 92:[3, 4], Operations: ['61-58=3', '42-38=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[23, 16], Operations: ['61-38=23', '58-42=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[23, 100], Operations: ['61-38=23', '58+42=100'] Exploring Operation: 23+100=123, Resulting Numbers: [123] 123,92 unequal: No Solution Exploring Operation: 100-23=77, Resulting Numbers: [77] 77,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[42, 41], Operations: ['61-58=3', '38+3=41'] Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,92 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 4, 95, 29, 17 ]
14
[ "95+29=124", "124/4=31", "31-17=14" ]
Current State: 14:[4, 95, 29, 17], Operations: [] Exploring Operation: 95+29=124, Resulting Numbers: [4, 17, 124] Generated Node #2: [4, 17, 124] from Operation: 95+29=124 Current State: 14:[4, 17, 124], Operations: ['95+29=124'] Exploring Operation: 124/4=31, Resulting Numbers: [17, 31] Generated Node #3: [17, 31] from Operation: 124/4=31 Current State: 14:[17, 31], Operations: ['95+29=124', '124/4=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[4, 95, 29, 17], Operations: [] Exploring Operation: 95-29=66, Resulting Numbers: [4, 17, 66] Generated Node #0,0: 14:[4, 17, 66] Operation: 95-29=66 Moving to Node #0,0 Current State: 14:[4, 17, 66], Operations: ['95-29=66'] Exploring Operation: 66-17=49, Resulting Numbers: [4, 49] Generated Node #0,0,0: 14:[4, 49] Operation: 66-17=49 Moving to Node #0,0,0 Current State: 14:[4, 49], Operations: ['95-29=66', '66-17=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,14 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 27, 36, 6, 78 ]
76
[ "27+36=63", "78/6=13", "63+13=76" ]
Current State: 76:[27, 36, 6, 78], Operations: [] Exploring Operation: 27+36=63, Resulting Numbers: [6, 78, 63] Generated Node #2: [6, 78, 63] from Operation: 27+36=63 Current State: 76:[6, 78, 63], Operations: ['27+36=63'] Exploring Operation: 78/6=13, Resulting Numbers: [63, 13] Generated Node #3: [63, 13] from Operation: 78/6=13 Current State: 76:[63, 13], Operations: ['27+36=63', '78/6=13'] Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[27, 36, 6, 78], Operations: [] Exploring Operation: 27-6=21, Resulting Numbers: [36, 78, 21] Generated Node #0,0: 76:[36, 78, 21] Operation: 27-6=21 Moving to Node #0,0 Current State: 76:[36, 78, 21], Operations: ['27-6=21'] Exploring Operation: 78-36=42, Resulting Numbers: [21, 42] Generated Node #0,0,0: 76:[21, 42] Operation: 78-36=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[21, 42], Operations: ['27-6=21', '78-36=42'] Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,76 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
[ 54, 22, 90, 88 ]
49
[ "90-88=2", "54/2=27", "22+27=49" ]
Current State: 49:[54, 22, 90, 88], Operations: [] Exploring Operation: 90-88=2, Resulting Numbers: [54, 22, 2] Generated Node #2: [54, 22, 2] from Operation: 90-88=2 Current State: 49:[54, 22, 2], Operations: ['90-88=2'] Exploring Operation: 54/2=27, Resulting Numbers: [22, 27] Generated Node #3: [22, 27] from Operation: 54/2=27 Current State: 49:[22, 27], Operations: ['90-88=2', '54/2=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[54, 22, 90, 88], Operations: [] Exploring Operation: 88-22=66, Resulting Numbers: [54, 90, 66] Generated Node #0,0: 49:[54, 90, 66] Operation: 88-22=66 Exploring Operation: 90-22=68, Resulting Numbers: [54, 88, 68] Generated Node #0,1: 49:[54, 88, 68] Operation: 90-22=68 Exploring Operation: 90-88=2, Resulting Numbers: [54, 22, 2] Generated Node #0,2: 49:[54, 22, 2] Operation: 90-88=2 Exploring Operation: 88/22=4, Resulting Numbers: [54, 90, 4] Generated Node #0,3: 49:[54, 90, 4] Operation: 88/22=4 Moving to Node #0,2 Current State: 49:[54, 22, 2], Operations: ['90-88=2'] Exploring Operation: 22*2=44, Resulting Numbers: [54, 44] Generated Node #0,2,0: 49:[54, 44] Operation: 22*2=44 Exploring Operation: 22-2=20, Resulting Numbers: [54, 20] Generated Node #0,2,1: 49:[54, 20] Operation: 22-2=20 Exploring Operation: 54-2=52, Resulting Numbers: [22, 52] Generated Node #0,2,2: 49:[22, 52] Operation: 54-2=52 Exploring Operation: 22/2=11, Resulting Numbers: [54, 11] Generated Node #0,2,3: 49:[54, 11] Operation: 22/2=11 Moving to Node #0,3 Current State: 49:[54, 90, 4], Operations: ['88/22=4'] Exploring Operation: 54-4=50, Resulting Numbers: [90, 50] Generated Node #0,3,0: 49:[90, 50] Operation: 54-4=50 Exploring Operation: 90-54=36, Resulting Numbers: [4, 36] Generated Node #0,3,1: 49:[4, 36] Operation: 90-54=36 Exploring Operation: 54+4=58, Resulting Numbers: [90, 58] Generated Node #0,3,2: 49:[90, 58] Operation: 54+4=58 Exploring Operation: 90-4=86, Resulting Numbers: [54, 86] Generated Node #0,3,3: 49:[54, 86] Operation: 90-4=86 Moving to Node #0,1 Current State: 49:[54, 88, 68], Operations: ['90-22=68'] Exploring Operation: 88-68=20, Resulting Numbers: [54, 20] Generated Node #0,1,0: 49:[54, 20] Operation: 88-68=20 Exploring Operation: 68-54=14, Resulting Numbers: [88, 14] Generated Node #0,1,1: 49:[88, 14] Operation: 68-54=14 Exploring Operation: 54+88=142, Resulting Numbers: [68, 142] Generated Node #0,1,2: 49:[68, 142] Operation: 54+88=142 Exploring Operation: 88-54=34, Resulting Numbers: [68, 34] Generated Node #0,1,3: 49:[68, 34] Operation: 88-54=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[54, 20], Operations: ['90-22=68', '88-68=20'] Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,49 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,49 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,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,1,3 Current State: 49:[68, 34], Operations: ['90-22=68', '88-54=34'] Exploring Operation: 68+34=102, Resulting Numbers: [102] 102,49 unequal: No Solution Exploring Operation: 68-34=34, Resulting Numbers: [34] 34,49 unequal: No Solution Exploring Operation: 68*34=2312, Resulting Numbers: [2312] 2312,49 unequal: No Solution Exploring Operation: 68/34=2, Resulting Numbers: [2] 2,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,1,1 Current State: 49:[88, 14], Operations: ['90-22=68', '68-54=14'] Exploring Operation: 88*14=1232, Resulting Numbers: [1232] 1232,49 unequal: No Solution Exploring Operation: 88+14=102, Resulting Numbers: [102] 102,49 unequal: No Solution Exploring Operation: 88-14=74, Resulting Numbers: [74] 74,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,1,2 Current State: 49:[68, 142], Operations: ['90-22=68', '54+88=142'] Exploring Operation: 68*142=9656, Resulting Numbers: [9656] 9656,49 unequal: No Solution Exploring Operation: 142-68=74, Resulting Numbers: [74] 74,49 unequal: No Solution Exploring Operation: 68+142=210, Resulting Numbers: [210] 210,49 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: 49:[54, 90, 66], Operations: ['88-22=66'] Exploring Operation: 54+90=144, Resulting Numbers: [66, 144] Generated Node #0,0,0: 49:[66, 144] Operation: 54+90=144 Exploring Operation: 90-66=24, Resulting Numbers: [54, 24] Generated Node #0,0,1: 49:[54, 24] Operation: 90-66=24 Exploring Operation: 90-54=36, Resulting Numbers: [66, 36] Generated Node #0,0,2: 49:[66, 36] Operation: 90-54=36 Exploring Operation: 66-54=12, Resulting Numbers: [90, 12] Generated Node #0,0,3: 49:[90, 12] Operation: 66-54=12 Moving to Node #0,2,3 Current State: 49:[54, 11], Operations: ['90-88=2', '22/2=11'] Exploring Operation: 54+11=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 54*11=594, Resulting Numbers: [594] 594,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[54, 44], Operations: ['90-88=2', '22*2=44'] Exploring Operation: 54*44=2376, Resulting Numbers: [2376] 2376,49 unequal: No Solution Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[4, 36], Operations: ['88/22=4', '90-54=36'] Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,49 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[54, 20], Operations: ['90-88=2', '22-2=20'] Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,49 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,49 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[22, 52], Operations: ['90-88=2', '54-2=52'] Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,49 unequal: No Solution Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,49 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[54, 24], Operations: ['88-22=66', '90-66=24'] Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 54*24=1296, Resulting Numbers: [1296] 1296,49 unequal: No Solution Exploring Operation: 54+24=78, Resulting Numbers: [78] 78,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[66, 36], Operations: ['88-22=66', '90-54=36'] Exploring Operation: 66+36=102, Resulting Numbers: [102] 102,49 unequal: No Solution Exploring Operation: 66*36=2376, Resulting Numbers: [2376] 2376,49 unequal: No Solution Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[54, 86], Operations: ['88/22=4', '90-4=86'] Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 54+86=140, Resulting Numbers: [140] 140,49 unequal: No Solution Exploring Operation: 54*86=4644, Resulting Numbers: [4644] 4644,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[90, 50], Operations: ['88/22=4', '54-4=50'] Exploring Operation: 90+50=140, Resulting Numbers: [140] 140,49 unequal: No Solution Exploring Operation: 90*50=4500, Resulting Numbers: [4500] 4500,49 unequal: No Solution Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[90, 12], Operations: ['88-22=66', '66-54=12'] Exploring Operation: 90*12=1080, Resulting Numbers: [1080] 1080,49 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,49 unequal: No Solution Exploring Operation: 90+12=102, Resulting Numbers: [102] 102,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[90, 58], Operations: ['88/22=4', '54+4=58'] Exploring Operation: 90-58=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 90*58=5220, Resulting Numbers: [5220] 5220,49 unequal: No Solution Exploring Operation: 90+58=148, Resulting Numbers: [148] 148,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[66, 144], Operations: ['88-22=66', '54+90=144'] Exploring Operation: 144-66=78, Resulting Numbers: [78] 78,49 unequal: No Solution Exploring Operation: 66*144=9504, Resulting Numbers: [9504] 9504,49 unequal: No Solution Exploring Operation: 66+144=210, Resulting Numbers: [210] 210,49 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 29, 60, 24, 91 ]
13
[ "60-29=31", "31-24=7", "91/7=13" ]
Current State: 13:[29, 60, 24, 91], Operations: [] Exploring Operation: 60-29=31, Resulting Numbers: [24, 91, 31] Generated Node #2: [24, 91, 31] from Operation: 60-29=31 Current State: 13:[24, 91, 31], Operations: ['60-29=31'] Exploring Operation: 31-24=7, Resulting Numbers: [91, 7] Generated Node #3: [91, 7] from Operation: 31-24=7 Current State: 13:[91, 7], Operations: ['60-29=31', '31-24=7'] Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[29, 60, 24, 91], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [29, 24, 31] Generated Node #0,0: 13:[29, 24, 31] Operation: 91-60=31 Exploring Operation: 91-24=67, Resulting Numbers: [29, 60, 67] Generated Node #0,1: 13:[29, 60, 67] Operation: 91-24=67 Exploring Operation: 60-24=36, Resulting Numbers: [29, 91, 36] Generated Node #0,2: 13:[29, 91, 36] Operation: 60-24=36 Exploring Operation: 60-29=31, Resulting Numbers: [24, 91, 31] Generated Node #0,3: 13:[24, 91, 31] Operation: 60-29=31 Exploring Operation: 91-29=62, Resulting Numbers: [60, 24, 62] Generated Node #0,4: 13:[60, 24, 62] Operation: 91-29=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[29, 24, 31], Operations: ['91-60=31'] Exploring Operation: 29+31=60, Resulting Numbers: [24, 60] Generated Node #0,0,0: 13:[24, 60] Operation: 29+31=60 Exploring Operation: 31-29=2, Resulting Numbers: [24, 2] Generated Node #0,0,1: 13:[24, 2] Operation: 31-29=2 Exploring Operation: 31-24=7, Resulting Numbers: [29, 7] Generated Node #0,0,2: 13:[29, 7] Operation: 31-24=7 Exploring Operation: 29+24=53, Resulting Numbers: [31, 53] Generated Node #0,0,3: 13:[31, 53] Operation: 29+24=53 Exploring Operation: 29-24=5, Resulting Numbers: [31, 5] Generated Node #0,0,4: 13:[31, 5] Operation: 29-24=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[24, 2], Operations: ['91-60=31', '31-29=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 13:[29, 7], Operations: ['91-60=31', '31-24=7'] Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,13 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 13:[31, 5], Operations: ['91-60=31', '29-24=5'] Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,13 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[24, 60], Operations: ['91-60=31', '29+31=60'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,13 unequal: No Solution Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 13:[31, 53], Operations: ['91-60=31', '29+24=53'] Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 31*53=1643, Resulting Numbers: [1643] 1643,13 unequal: No Solution Exploring Operation: 31+53=84, Resulting Numbers: [84] 84,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[24, 91, 31], Operations: ['60-29=31'] Exploring Operation: 24+31=55, Resulting Numbers: [91, 55] Generated Node #0,3,0: 13:[91, 55] Operation: 24+31=55 Exploring Operation: 91-31=60, Resulting Numbers: [24, 60] Generated Node #0,3,1: 13:[24, 60] Operation: 91-31=60 Exploring Operation: 31-24=7, Resulting Numbers: [91, 7] Generated Node #0,3,2: 13:[91, 7] Operation: 31-24=7 Exploring Operation: 24+91=115, Resulting Numbers: [31, 115] Generated Node #0,3,3: 13:[31, 115] Operation: 24+91=115 Exploring Operation: 91-24=67, Resulting Numbers: [31, 67] Generated Node #0,3,4: 13:[31, 67] Operation: 91-24=67 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 13:[24, 60], Operations: ['60-29=31', '91-31=60'] Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 13:[31, 67], Operations: ['60-29=31', '91-24=67'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 13:[91, 7], Operations: ['60-29=31', '31-24=7'] Exploring Operation: 91*7=637, Resulting Numbers: [637] 637,13 unequal: No Solution Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[29, 60, 24, 91], Operations: [] Exploring Operation: 60-29=31, Resulting Numbers: [24, 91, 31] Generated Node #0,3: 13:[24, 91, 31] Operation: 60-29=31 Moving to Node #0,3 Current State: 13:[24, 91, 31], Operations: ['60-29=31'] Exploring Operation: 31-24=7, Resulting Numbers: [91, 7] Generated Node #0,3,2: 13:[91, 7] Operation: 31-24=7 Moving to Node #0,3,2 Current State: 13:[91, 7], Operations: ['60-29=31', '31-24=7'] Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 13, 74, 97, 59 ]
95
[ "74-13=61", "97+59=156", "156-61=95" ]
Current State: 95:[13, 74, 97, 59], Operations: [] Exploring Operation: 74-13=61, Resulting Numbers: [97, 59, 61] Generated Node #2: [97, 59, 61] from Operation: 74-13=61 Current State: 95:[97, 59, 61], Operations: ['74-13=61'] Exploring Operation: 97+59=156, Resulting Numbers: [61, 156] Generated Node #3: [61, 156] from Operation: 97+59=156 Current State: 95:[61, 156], Operations: ['74-13=61', '97+59=156'] Exploring Operation: 156-61=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[13, 74, 97, 59], Operations: [] Exploring Operation: 13+74=87, Resulting Numbers: [97, 59, 87] Generated Node #0,0: 95:[97, 59, 87] Operation: 13+74=87 Exploring Operation: 74+59=133, Resulting Numbers: [13, 97, 133] Generated Node #0,1: 95:[13, 97, 133] Operation: 74+59=133 Exploring Operation: 97-74=23, Resulting Numbers: [13, 59, 23] Generated Node #0,2: 95:[13, 59, 23] Operation: 97-74=23 Exploring Operation: 13+59=72, Resulting Numbers: [74, 97, 72] Generated Node #0,3: 95:[74, 97, 72] Operation: 13+59=72 Exploring Operation: 74-59=15, Resulting Numbers: [13, 97, 15] Generated Node #0,4: 95:[13, 97, 15] Operation: 74-59=15 Moving to Node #0,4 Current State: 95:[13, 97, 15], Operations: ['74-59=15'] Exploring Operation: 13+15=28, Resulting Numbers: [97, 28] Generated Node #0,4,0: 95:[97, 28] Operation: 13+15=28 Exploring Operation: 97-13=84, Resulting Numbers: [15, 84] Generated Node #0,4,1: 95:[15, 84] Operation: 97-13=84 Exploring Operation: 13+97=110, Resulting Numbers: [15, 110] Generated Node #0,4,2: 95:[15, 110] Operation: 13+97=110 Exploring Operation: 15-13=2, Resulting Numbers: [97, 2] Generated Node #0,4,3: 95:[97, 2] Operation: 15-13=2 Exploring Operation: 97-15=82, Resulting Numbers: [13, 82] Generated Node #0,4,4: 95:[13, 82] Operation: 97-15=82 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 95:[97, 2], Operations: ['74-59=15', '15-13=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,95 unequal: No Solution Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,95 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[13, 74, 97, 59], Operations: [] Exploring Operation: 74-59=15, Resulting Numbers: [13, 97, 15] Generated Node #0,4: 95:[13, 97, 15] Operation: 74-59=15 Moving to Node #0,4 Current State: 95:[13, 97, 15], Operations: ['74-59=15'] Exploring Operation: 15-13=2, Resulting Numbers: [97, 2] Generated Node #0,4,3: 95:[97, 2] Operation: 15-13=2 Moving to Node #0,4,3 Current State: 95:[97, 2], Operations: ['74-59=15', '15-13=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 15, 35, 70, 81 ]
39
[ "15+35=50", "81-70=11", "50-11=39" ]
Current State: 39:[15, 35, 70, 81], Operations: [] Exploring Operation: 15+35=50, Resulting Numbers: [70, 81, 50] Generated Node #2: [70, 81, 50] from Operation: 15+35=50 Current State: 39:[70, 81, 50], Operations: ['15+35=50'] Exploring Operation: 81-70=11, Resulting Numbers: [50, 11] Generated Node #3: [50, 11] from Operation: 81-70=11 Current State: 39:[50, 11], Operations: ['15+35=50', '81-70=11'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[15, 35, 70, 81], Operations: [] Exploring Operation: 81-70=11, Resulting Numbers: [15, 35, 11] Generated Node #0,0: 39:[15, 35, 11] Operation: 81-70=11 Exploring Operation: 81-35=46, Resulting Numbers: [15, 70, 46] Generated Node #0,1: 39:[15, 70, 46] Operation: 81-35=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[15, 35, 11], Operations: ['81-70=11'] Exploring Operation: 15-11=4, Resulting Numbers: [35, 4] Generated Node #0,0,0: 39:[35, 4] Operation: 15-11=4 Exploring Operation: 35-15=20, Resulting Numbers: [11, 20] Generated Node #0,0,1: 39:[11, 20] Operation: 35-15=20 Moving to Node #0,0,0 Current State: 39:[35, 4], Operations: ['81-70=11', '15-11=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[15, 35, 70, 81], Operations: [] Exploring Operation: 81-70=11, Resulting Numbers: [15, 35, 11] Generated Node #0,0: 39:[15, 35, 11] Operation: 81-70=11 Moving to Node #0,0 Current State: 39:[15, 35, 11], Operations: ['81-70=11'] Exploring Operation: 15-11=4, Resulting Numbers: [35, 4] Generated Node #0,0,0: 39:[35, 4] Operation: 15-11=4 Moving to Node #0,0,0 Current State: 39:[35, 4], Operations: ['81-70=11', '15-11=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 57, 71, 26, 2 ]
54
[ "71-57=14", "2*14=28", "26+28=54" ]
Current State: 54:[57, 71, 26, 2], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [26, 2, 14] Generated Node #2: [26, 2, 14] from Operation: 71-57=14 Current State: 54:[26, 2, 14], Operations: ['71-57=14'] Exploring Operation: 2*14=28, Resulting Numbers: [26, 28] Generated Node #3: [26, 28] from Operation: 2*14=28 Current State: 54:[26, 28], Operations: ['71-57=14', '2*14=28'] Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[57, 71, 26, 2], Operations: [] Exploring Operation: 71-2=69, Resulting Numbers: [57, 26, 69] Generated Node #0,0: 54:[57, 26, 69] Operation: 71-2=69 Exploring Operation: 57-2=55, Resulting Numbers: [71, 26, 55] Generated Node #0,1: 54:[71, 26, 55] Operation: 57-2=55 Exploring Operation: 71-57=14, Resulting Numbers: [26, 2, 14] Generated Node #0,2: 54:[26, 2, 14] Operation: 71-57=14 Exploring Operation: 57-26=31, Resulting Numbers: [71, 2, 31] Generated Node #0,3: 54:[71, 2, 31] Operation: 57-26=31 Exploring Operation: 71-26=45, Resulting Numbers: [57, 2, 45] Generated Node #0,4: 54:[57, 2, 45] Operation: 71-26=45 Moving to Node #0,2 Current State: 54:[26, 2, 14], Operations: ['71-57=14'] Exploring Operation: 2+14=16, Resulting Numbers: [26, 16] Generated Node #0,2,0: 54:[26, 16] Operation: 2+14=16 Exploring Operation: 14-2=12, Resulting Numbers: [26, 12] Generated Node #0,2,1: 54:[26, 12] Operation: 14-2=12 Exploring Operation: 14/2=7, Resulting Numbers: [26, 7] Generated Node #0,2,2: 54:[26, 7] Operation: 14/2=7 Exploring Operation: 2*14=28, Resulting Numbers: [26, 28] Generated Node #0,2,3: 54:[26, 28] Operation: 2*14=28 Exploring Operation: 26-14=12, Resulting Numbers: [2, 12] Generated Node #0,2,4: 54:[2, 12] Operation: 26-14=12 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[26, 7], Operations: ['71-57=14', '14/2=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,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,2,3 Current State: 54:[26, 28], Operations: ['71-57=14', '2*14=28'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[57, 71, 26, 2], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [26, 2, 14] Generated Node #0,2: 54:[26, 2, 14] Operation: 71-57=14 Moving to Node #0,2 Current State: 54:[26, 2, 14], Operations: ['71-57=14'] Exploring Operation: 2*14=28, Resulting Numbers: [26, 28] Generated Node #0,2,3: 54:[26, 28] Operation: 2*14=28 Moving to Node #0,2,3 Current State: 54:[26, 28], Operations: ['71-57=14', '2*14=28'] Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 43, 40, 76, 85 ]
74
[ "43+40=83", "85-76=9", "83-9=74" ]
Current State: 74:[43, 40, 76, 85], Operations: [] Exploring Operation: 43+40=83, Resulting Numbers: [76, 85, 83] Generated Node #2: [76, 85, 83] from Operation: 43+40=83 Current State: 74:[76, 85, 83], Operations: ['43+40=83'] Exploring Operation: 85-76=9, Resulting Numbers: [83, 9] Generated Node #3: [83, 9] from Operation: 85-76=9 Current State: 74:[83, 9], Operations: ['43+40=83', '85-76=9'] Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[43, 40, 76, 85], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [40, 76, 42] Generated Node #0,0: 74:[40, 76, 42] Operation: 85-43=42 Exploring Operation: 85-40=45, Resulting Numbers: [43, 76, 45] Generated Node #0,1: 74:[43, 76, 45] Operation: 85-40=45 Exploring Operation: 43-40=3, Resulting Numbers: [76, 85, 3] Generated Node #0,2: 74:[76, 85, 3] Operation: 43-40=3 Exploring Operation: 85-76=9, Resulting Numbers: [43, 40, 9] Generated Node #0,3: 74:[43, 40, 9] Operation: 85-76=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[40, 76, 42], Operations: ['85-43=42'] Exploring Operation: 76-40=36, Resulting Numbers: [42, 36] Generated Node #0,0,0: 74:[42, 36] Operation: 76-40=36 Exploring Operation: 76-42=34, Resulting Numbers: [40, 34] Generated Node #0,0,1: 74:[40, 34] Operation: 76-42=34 Exploring Operation: 42-40=2, Resulting Numbers: [76, 2] Generated Node #0,0,2: 74:[76, 2] Operation: 42-40=2 Exploring Operation: 40+42=82, Resulting Numbers: [76, 82] Generated Node #0,0,3: 74:[76, 82] Operation: 40+42=82 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[76, 2], Operations: ['85-43=42', '42-40=2'] Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,74 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,74 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[43, 40, 76, 85], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [40, 76, 42] Generated Node #0,0: 74:[40, 76, 42] Operation: 85-43=42 Moving to Node #0,0 Current State: 74:[40, 76, 42], Operations: ['85-43=42'] Exploring Operation: 42-40=2, Resulting Numbers: [76, 2] Generated Node #0,0,2: 74:[76, 2] Operation: 42-40=2 Moving to Node #0,0,2 Current State: 74:[76, 2], Operations: ['85-43=42', '42-40=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 59, 19, 15, 38 ]
17
[ "59-19=40", "38-15=23", "40-23=17" ]
Current State: 17:[59, 19, 15, 38], Operations: [] Exploring Operation: 59-19=40, Resulting Numbers: [15, 38, 40] Generated Node #2: [15, 38, 40] from Operation: 59-19=40 Current State: 17:[15, 38, 40], Operations: ['59-19=40'] Exploring Operation: 38-15=23, Resulting Numbers: [40, 23] Generated Node #3: [40, 23] from Operation: 38-15=23 Current State: 17:[40, 23], Operations: ['59-19=40', '38-15=23'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[59, 19, 15, 38], Operations: [] Exploring Operation: 59-19=40, Resulting Numbers: [15, 38, 40] Generated Node #0,0: 17:[15, 38, 40] Operation: 59-19=40 Exploring Operation: 59-38=21, Resulting Numbers: [19, 15, 21] Generated Node #0,1: 17:[19, 15, 21] Operation: 59-38=21 Exploring Operation: 59-15=44, Resulting Numbers: [19, 38, 44] Generated Node #0,2: 17:[19, 38, 44] Operation: 59-15=44 Exploring Operation: 38-19=19, Resulting Numbers: [59, 15, 19] Generated Node #0,3: 17:[59, 15, 19] Operation: 38-19=19 Moving to Node #0,1 Current State: 17:[19, 15, 21], Operations: ['59-38=21'] Exploring Operation: 21-15=6, Resulting Numbers: [19, 6] Generated Node #0,1,0: 17:[19, 6] Operation: 21-15=6 Exploring Operation: 21-19=2, Resulting Numbers: [15, 2] Generated Node #0,1,1: 17:[15, 2] Operation: 21-19=2 Exploring Operation: 19-15=4, Resulting Numbers: [21, 4] Generated Node #0,1,2: 17:[21, 4] Operation: 19-15=4 Exploring Operation: 19+15=34, Resulting Numbers: [21, 34] Generated Node #0,1,3: 17:[21, 34] Operation: 19+15=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[19, 6], Operations: ['59-38=21', '21-15=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[15, 2], Operations: ['59-38=21', '21-19=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[59, 19, 15, 38], Operations: [] Exploring Operation: 59-38=21, Resulting Numbers: [19, 15, 21] Generated Node #0,1: 17:[19, 15, 21] Operation: 59-38=21 Moving to Node #0,1 Current State: 17:[19, 15, 21], Operations: ['59-38=21'] Exploring Operation: 21-19=2, Resulting Numbers: [15, 2] Generated Node #0,1,1: 17:[15, 2] Operation: 21-19=2 Moving to Node #0,1,1 Current State: 17:[15, 2], Operations: ['59-38=21', '21-19=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 6, 1, 46, 97 ]
57
[ "6*1=6", "97-46=51", "6+51=57" ]
Current State: 57:[6, 1, 46, 97], Operations: [] Exploring Operation: 6*1=6, Resulting Numbers: [46, 97, 6] Generated Node #2: [46, 97, 6] from Operation: 6*1=6 Current State: 57:[46, 97, 6], Operations: ['6*1=6'] Exploring Operation: 97-46=51, Resulting Numbers: [6, 51] Generated Node #3: [6, 51] from Operation: 97-46=51 Current State: 57:[6, 51], Operations: ['6*1=6', '97-46=51'] Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[6, 1, 46, 97], Operations: [] Exploring Operation: 97-6=91, Resulting Numbers: [1, 46, 91] Generated Node #0,0: 57:[1, 46, 91] Operation: 97-6=91 Exploring Operation: 97-46=51, Resulting Numbers: [6, 1, 51] Generated Node #0,1: 57:[6, 1, 51] Operation: 97-46=51 Exploring Operation: 6+46=52, Resulting Numbers: [1, 97, 52] Generated Node #0,2: 57:[1, 97, 52] Operation: 6+46=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[6, 1, 51], Operations: ['97-46=51'] Exploring Operation: 6-1=5, Resulting Numbers: [51, 5] Generated Node #0,1,0: 57:[51, 5] Operation: 6-1=5 Exploring Operation: 1+51=52, Resulting Numbers: [6, 52] Generated Node #0,1,1: 57:[6, 52] Operation: 1+51=52 Exploring Operation: 6+51=57, Resulting Numbers: [1, 57] Generated Node #0,1,2: 57:[1, 57] Operation: 6+51=57 Moving to Node #0,1,2 Current State: 57:[1, 57], Operations: ['97-46=51', '6+51=57'] Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[6, 1, 46, 97], Operations: [] Exploring Operation: 97-46=51, Resulting Numbers: [6, 1, 51] Generated Node #0,1: 57:[6, 1, 51] Operation: 97-46=51 Moving to Node #0,1 Current State: 57:[6, 1, 51], Operations: ['97-46=51'] Exploring Operation: 6+51=57, Resulting Numbers: [1, 57] Generated Node #0,1,2: 57:[1, 57] Operation: 6+51=57 Moving to Node #0,1,2 Current State: 57:[1, 57], Operations: ['97-46=51', '6+51=57'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 43, 20, 45, 21 ]
62
[ "45-43=2", "21*2=42", "20+42=62" ]
Current State: 62:[43, 20, 45, 21], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [20, 21, 2] Generated Node #2: [20, 21, 2] from Operation: 45-43=2 Current State: 62:[20, 21, 2], Operations: ['45-43=2'] Exploring Operation: 21*2=42, Resulting Numbers: [20, 42] Generated Node #3: [20, 42] from Operation: 21*2=42 Current State: 62:[20, 42], Operations: ['45-43=2', '21*2=42'] Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[43, 20, 45, 21], Operations: [] Exploring Operation: 43+20=63, Resulting Numbers: [45, 21, 63] Generated Node #0,0: 62:[45, 21, 63] Operation: 43+20=63 Exploring Operation: 20+45=65, Resulting Numbers: [43, 21, 65] Generated Node #0,1: 62:[43, 21, 65] Operation: 20+45=65 Exploring Operation: 43+21=64, Resulting Numbers: [20, 45, 64] Generated Node #0,2: 62:[20, 45, 64] Operation: 43+21=64 Exploring Operation: 45-43=2, Resulting Numbers: [20, 21, 2] Generated Node #0,3: 62:[20, 21, 2] Operation: 45-43=2 Moving to Node #0,3 Current State: 62:[20, 21, 2], Operations: ['45-43=2'] Exploring Operation: 20+21=41, Resulting Numbers: [2, 41] Generated Node #0,3,0: 62:[2, 41] Operation: 20+21=41 Exploring Operation: 20/2=10, Resulting Numbers: [21, 10] Generated Node #0,3,1: 62:[21, 10] Operation: 20/2=10 Exploring Operation: 21-20=1, Resulting Numbers: [2, 1] Generated Node #0,3,2: 62:[2, 1] Operation: 21-20=1 Exploring Operation: 20+2=22, Resulting Numbers: [21, 22] Generated Node #0,3,3: 62:[21, 22] Operation: 20+2=22 Moving to Node #0,1 Current State: 62:[43, 21, 65], Operations: ['20+45=65'] Exploring Operation: 43-21=22, Resulting Numbers: [65, 22] Generated Node #0,1,0: 62:[65, 22] Operation: 43-21=22 Exploring Operation: 65-21=44, Resulting Numbers: [43, 44] Generated Node #0,1,1: 62:[43, 44] Operation: 65-21=44 Exploring Operation: 43+21=64, Resulting Numbers: [65, 64] Generated Node #0,1,2: 62:[65, 64] Operation: 43+21=64 Exploring Operation: 65-43=22, Resulting Numbers: [21, 22] Generated Node #0,1,3: 62:[21, 22] Operation: 65-43=22 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[65, 64], Operations: ['20+45=65', '43+21=64'] Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,62 unequal: No Solution Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[65, 22], Operations: ['20+45=65', '43-21=22'] Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,62 unequal: No Solution Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 62:[21, 22], Operations: ['20+45=65', '65-43=22'] Exploring Operation: 21*22=462, Resulting Numbers: [462] 462,62 unequal: No Solution Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[43, 44], Operations: ['20+45=65', '65-21=44'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 43*44=1892, Resulting Numbers: [1892] 1892,62 unequal: No Solution Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,62 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: 62:[45, 21, 63], Operations: ['43+20=63'] Exploring Operation: 63/21=3, Resulting Numbers: [45, 3] Generated Node #0,0,0: 62:[45, 3] Operation: 63/21=3 Exploring Operation: 45+21=66, Resulting Numbers: [63, 66] Generated Node #0,0,1: 62:[63, 66] Operation: 45+21=66 Exploring Operation: 45-21=24, Resulting Numbers: [63, 24] Generated Node #0,0,2: 62:[63, 24] Operation: 45-21=24 Exploring Operation: 63-45=18, Resulting Numbers: [21, 18] Generated Node #0,0,3: 62:[21, 18] Operation: 63-45=18 Moving to Node #0,2 Current State: 62:[20, 45, 64], Operations: ['43+21=64'] Exploring Operation: 64-45=19, Resulting Numbers: [20, 19] Generated Node #0,2,0: 62:[20, 19] Operation: 64-45=19 Exploring Operation: 20+45=65, Resulting Numbers: [64, 65] Generated Node #0,2,1: 62:[64, 65] Operation: 20+45=65 Exploring Operation: 64-20=44, Resulting Numbers: [45, 44] Generated Node #0,2,2: 62:[45, 44] Operation: 64-20=44 Exploring Operation: 45-20=25, Resulting Numbers: [64, 25] Generated Node #0,2,3: 62:[64, 25] Operation: 45-20=25 Moving to Node #0,3,2 Current State: 62:[2, 1], Operations: ['45-43=2', '21-20=1'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[63, 66], Operations: ['43+20=63', '45+21=66'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 63*66=4158, Resulting Numbers: [4158] 4158,62 unequal: No Solution Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[64, 65], Operations: ['43+21=64', '20+45=65'] Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,62 unequal: No Solution Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,62 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[63, 24], Operations: ['43+20=63', '45-21=24'] Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,62 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[64, 25], Operations: ['43+21=64', '45-20=25'] Exploring Operation: 64-25=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 64*25=1600, Resulting Numbers: [1600] 1600,62 unequal: No Solution Exploring Operation: 64+25=89, Resulting Numbers: [89] 89,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[2, 41], Operations: ['45-43=2', '20+21=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,62 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[45, 3], Operations: ['43+20=63', '63/21=3'] Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,62 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,62 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[21, 10], Operations: ['45-43=2', '20/2=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[21, 22], Operations: ['45-43=2', '20+2=22'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 21*22=462, Resulting Numbers: [462] 462,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[20, 19], Operations: ['43+21=64', '64-45=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[21, 18], Operations: ['43+20=63', '63-45=18'] Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[45, 44], Operations: ['43+21=64', '64-20=44'] Exploring Operation: 45+44=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 45*44=1980, Resulting Numbers: [1980] 1980,62 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 5, 92, 9, 46 ]
93
[ "5*9=45", "92+46=138", "138-45=93" ]
Current State: 93:[5, 92, 9, 46], Operations: [] Exploring Operation: 5*9=45, Resulting Numbers: [92, 46, 45] Generated Node #2: [92, 46, 45] from Operation: 5*9=45 Current State: 93:[92, 46, 45], Operations: ['5*9=45'] Exploring Operation: 92+46=138, Resulting Numbers: [45, 138] Generated Node #3: [45, 138] from Operation: 92+46=138 Current State: 93:[45, 138], Operations: ['5*9=45', '92+46=138'] Exploring Operation: 138-45=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[5, 92, 9, 46], Operations: [] Exploring Operation: 46-9=37, Resulting Numbers: [5, 92, 37] Generated Node #0,0: 93:[5, 92, 37] Operation: 46-9=37 Exploring Operation: 92/46=2, Resulting Numbers: [5, 9, 2] Generated Node #0,1: 93:[5, 9, 2] Operation: 92/46=2 Moving to Node #0,0 Current State: 93:[5, 92, 37], Operations: ['46-9=37'] Exploring Operation: 37-5=32, Resulting Numbers: [92, 32] Generated Node #0,0,0: 93:[92, 32] Operation: 37-5=32 Exploring Operation: 5+92=97, Resulting Numbers: [37, 97] Generated Node #0,0,1: 93:[37, 97] Operation: 5+92=97 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[92, 32], Operations: ['46-9=37', '37-5=32'] Exploring Operation: 92-32=60, Resulting Numbers: [60] 60,93 unequal: No Solution Exploring Operation: 92+32=124, Resulting Numbers: [124] 124,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[37, 97], Operations: ['46-9=37', '5+92=97'] Exploring Operation: 97-37=60, Resulting Numbers: [60] 60,93 unequal: No Solution Exploring Operation: 37+97=134, Resulting Numbers: [134] 134,93 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: 93:[5, 9, 2], Operations: ['92/46=2'] Exploring Operation: 5-2=3, Resulting Numbers: [9, 3] Generated Node #0,1,0: 93:[9, 3] Operation: 5-2=3 Exploring Operation: 9-5=4, Resulting Numbers: [2, 4] Generated Node #0,1,1: 93:[2, 4] Operation: 9-5=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[2, 4], Operations: ['92/46=2', '9-5=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[9, 3], Operations: ['92/46=2', '5-2=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,93 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
[ 54, 45, 67, 39 ]
58
[ "45-39=6", "54/6=9", "67-9=58" ]
Current State: 58:[54, 45, 67, 39], Operations: [] Exploring Operation: 45-39=6, Resulting Numbers: [54, 67, 6] Generated Node #2: [54, 67, 6] from Operation: 45-39=6 Current State: 58:[54, 67, 6], Operations: ['45-39=6'] Exploring Operation: 54/6=9, Resulting Numbers: [67, 9] Generated Node #3: [67, 9] from Operation: 54/6=9 Current State: 58:[67, 9], Operations: ['45-39=6', '54/6=9'] Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[54, 45, 67, 39], Operations: [] Exploring Operation: 54-45=9, Resulting Numbers: [67, 39, 9] Generated Node #0,0: 58:[67, 39, 9] Operation: 54-45=9 Exploring Operation: 45-39=6, Resulting Numbers: [54, 67, 6] Generated Node #0,1: 58:[54, 67, 6] Operation: 45-39=6 Exploring Operation: 67-45=22, Resulting Numbers: [54, 39, 22] Generated Node #0,2: 58:[54, 39, 22] Operation: 67-45=22 Exploring Operation: 67-39=28, Resulting Numbers: [54, 45, 28] Generated Node #0,3: 58:[54, 45, 28] Operation: 67-39=28 Moving to Node #0,1 Current State: 58:[54, 67, 6], Operations: ['45-39=6'] Exploring Operation: 54/6=9, Resulting Numbers: [67, 9] Generated Node #0,1,0: 58:[67, 9] Operation: 54/6=9 Exploring Operation: 67-6=61, Resulting Numbers: [54, 61] Generated Node #0,1,1: 58:[54, 61] Operation: 67-6=61 Exploring Operation: 54+6=60, Resulting Numbers: [67, 60] Generated Node #0,1,2: 58:[67, 60] Operation: 54+6=60 Exploring Operation: 67-54=13, Resulting Numbers: [6, 13] Generated Node #0,1,3: 58:[6, 13] Operation: 67-54=13 Moving to Node #0,3 Current State: 58:[54, 45, 28], Operations: ['67-39=28'] Exploring Operation: 45+28=73, Resulting Numbers: [54, 73] Generated Node #0,3,0: 58:[54, 73] Operation: 45+28=73 Exploring Operation: 45-28=17, Resulting Numbers: [54, 17] Generated Node #0,3,1: 58:[54, 17] Operation: 45-28=17 Exploring Operation: 54-28=26, Resulting Numbers: [45, 26] Generated Node #0,3,2: 58:[45, 26] Operation: 54-28=26 Exploring Operation: 54-45=9, Resulting Numbers: [28, 9] Generated Node #0,3,3: 58:[28, 9] Operation: 54-45=9 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 58:[28, 9], Operations: ['67-39=28', '54-45=9'] Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,58 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,58 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 58:[54, 17], Operations: ['67-39=28', '45-28=17'] Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,58 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 58:[45, 26], Operations: ['67-39=28', '54-28=26'] Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,58 unequal: No Solution Exploring Operation: 45*26=1170, Resulting Numbers: [1170] 1170,58 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 58:[54, 73], Operations: ['67-39=28', '45+28=73'] Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,58 unequal: No Solution Exploring Operation: 54+73=127, Resulting Numbers: [127] 127,58 unequal: No Solution Exploring Operation: 54*73=3942, Resulting Numbers: [3942] 3942,58 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: 58:[54, 39, 22], Operations: ['67-45=22'] Exploring Operation: 39-22=17, Resulting Numbers: [54, 17] Generated Node #0,2,0: 58:[54, 17] Operation: 39-22=17 Exploring Operation: 54-39=15, Resulting Numbers: [22, 15] Generated Node #0,2,1: 58:[22, 15] Operation: 54-39=15 Exploring Operation: 39+22=61, Resulting Numbers: [54, 61] Generated Node #0,2,2: 58:[54, 61] Operation: 39+22=61 Exploring Operation: 54-22=32, Resulting Numbers: [39, 32] Generated Node #0,2,3: 58:[39, 32] Operation: 54-22=32 Moving to Node #0,0 Current State: 58:[67, 39, 9], Operations: ['54-45=9'] Exploring Operation: 67-39=28, Resulting Numbers: [9, 28] Generated Node #0,0,0: 58:[9, 28] Operation: 67-39=28 Exploring Operation: 39-9=30, Resulting Numbers: [67, 30] Generated Node #0,0,1: 58:[67, 30] Operation: 39-9=30 Exploring Operation: 67-9=58, Resulting Numbers: [39, 58] Generated Node #0,0,2: 58:[39, 58] Operation: 67-9=58 Exploring Operation: 39+9=48, Resulting Numbers: [67, 48] Generated Node #0,0,3: 58:[67, 48] Operation: 39+9=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[9, 28], Operations: ['54-45=9', '67-39=28'] Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,58 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[67, 30], Operations: ['54-45=9', '39-9=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,58 unequal: No Solution Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[39, 58], Operations: ['54-45=9', '67-9=58'] Exploring Operation: 39*58=2262, Resulting Numbers: [2262] 2262,58 unequal: No Solution Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,58 unequal: No Solution Exploring Operation: 39+58=97, Resulting Numbers: [97] 97,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 58:[67, 48], Operations: ['54-45=9', '39+9=48'] Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,58 unequal: No Solution Exploring Operation: 67*48=3216, Resulting Numbers: [3216] 3216,58 unequal: No Solution Exploring Operation: 67+48=115, Resulting Numbers: [115] 115,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 58:[54, 61], Operations: ['45-39=6', '67-6=61'] Exploring Operation: 54+61=115, Resulting Numbers: [115] 115,58 unequal: No Solution Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 54*61=3294, Resulting Numbers: [3294] 3294,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[54, 61], Operations: ['67-45=22', '39+22=61'] Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 54+61=115, Resulting Numbers: [115] 115,58 unequal: No Solution Exploring Operation: 54*61=3294, Resulting Numbers: [3294] 3294,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[67, 60], Operations: ['45-39=6', '54+6=60'] Exploring Operation: 67*60=4020, Resulting Numbers: [4020] 4020,58 unequal: No Solution Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 67+60=127, Resulting Numbers: [127] 127,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[39, 32], Operations: ['67-45=22', '54-22=32'] Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,58 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[6, 13], Operations: ['45-39=6', '67-54=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,58 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[67, 9], Operations: ['45-39=6', '54/6=9'] Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[54, 45, 67, 39], Operations: [] Exploring Operation: 45-39=6, Resulting Numbers: [54, 67, 6] Generated Node #0,1: 58:[54, 67, 6] Operation: 45-39=6 Moving to Node #0,1 Current State: 58:[54, 67, 6], Operations: ['45-39=6'] Exploring Operation: 54/6=9, Resulting Numbers: [67, 9] Generated Node #0,1,0: 58:[67, 9] Operation: 54/6=9 Moving to Node #0,1,0 Current State: 58:[67, 9], Operations: ['45-39=6', '54/6=9'] Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.943576
hs_4
sum_heuristic
[ 53, 41, 84, 71 ]
81
[ "53+41=94", "84-71=13", "94-13=81" ]
Current State: 81:[53, 41, 84, 71], Operations: [] Exploring Operation: 53+41=94, Resulting Numbers: [84, 71, 94] Generated Node #2: [84, 71, 94] from Operation: 53+41=94 Current State: 81:[84, 71, 94], Operations: ['53+41=94'] Exploring Operation: 84-71=13, Resulting Numbers: [94, 13] Generated Node #3: [94, 13] from Operation: 84-71=13 Current State: 81:[94, 13], Operations: ['53+41=94', '84-71=13'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[53, 41, 84, 71], Operations: [] Exploring Operation: 53+41=94, Resulting Numbers: [84, 71, 94] Generated Node #0,0: 81:[84, 71, 94] Operation: 53+41=94 Exploring Operation: 84-53=31, Resulting Numbers: [41, 71, 31] Generated Node #0,1: 81:[41, 71, 31] Operation: 84-53=31 Exploring Operation: 71-53=18, Resulting Numbers: [41, 84, 18] Generated Node #0,2: 81:[41, 84, 18] Operation: 71-53=18 Exploring Operation: 53-41=12, Resulting Numbers: [84, 71, 12] Generated Node #0,3: 81:[84, 71, 12] Operation: 53-41=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[84, 71, 12], Operations: ['53-41=12'] Exploring Operation: 84-12=72, Resulting Numbers: [71, 72] Generated Node #0,3,0: 81:[71, 72] Operation: 84-12=72 Exploring Operation: 71+12=83, Resulting Numbers: [84, 83] Generated Node #0,3,1: 81:[84, 83] Operation: 71+12=83 Exploring Operation: 84-71=13, Resulting Numbers: [12, 13] Generated Node #0,3,2: 81:[12, 13] Operation: 84-71=13 Exploring Operation: 84/12=7, Resulting Numbers: [71, 7] Generated Node #0,3,3: 81:[71, 7] Operation: 84/12=7 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 81:[84, 83], Operations: ['53-41=12', '71+12=83'] Exploring Operation: 84+83=167, Resulting Numbers: [167] 167,81 unequal: No Solution Exploring Operation: 84*83=6972, Resulting Numbers: [6972] 6972,81 unequal: No Solution Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,81 unequal: No Solution No 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: 81:[12, 13], Operations: ['53-41=12', '84-71=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,81 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,81 unequal: No Solution No 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: 81:[71, 7], Operations: ['53-41=12', '84/12=7'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,81 unequal: No Solution Exploring Operation: 71*7=497, Resulting Numbers: [497] 497,81 unequal: No Solution Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,81 unequal: No Solution No 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: 81:[71, 72], Operations: ['53-41=12', '84-12=72'] Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,81 unequal: No Solution Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,81 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: 81:[84, 71, 94], Operations: ['53+41=94'] Exploring Operation: 94-84=10, Resulting Numbers: [71, 10] Generated Node #0,0,0: 81:[71, 10] Operation: 94-84=10 Exploring Operation: 84+71=155, Resulting Numbers: [94, 155] Generated Node #0,0,1: 81:[94, 155] Operation: 84+71=155 Exploring Operation: 84-71=13, Resulting Numbers: [94, 13] Generated Node #0,0,2: 81:[94, 13] Operation: 84-71=13 Exploring Operation: 94-71=23, Resulting Numbers: [84, 23] Generated Node #0,0,3: 81:[84, 23] Operation: 94-71=23 Moving to Node #0,0,3 Current State: 81:[84, 23], Operations: ['53+41=94', '94-71=23'] Exploring Operation: 84*23=1932, Resulting Numbers: [1932] 1932,81 unequal: No Solution Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,81 unequal: No Solution Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[71, 10], Operations: ['53+41=94', '94-84=10'] Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[53, 41, 84, 71], Operations: [] Exploring Operation: 53+41=94, Resulting Numbers: [84, 71, 94] Generated Node #0,0: 81:[84, 71, 94] Operation: 53+41=94 Moving to Node #0,0 Current State: 81:[84, 71, 94], Operations: ['53+41=94'] Exploring Operation: 94-84=10, Resulting Numbers: [71, 10] Generated Node #0,0,0: 81:[71, 10] Operation: 94-84=10 Moving to Node #0,0,0 Current State: 81:[71, 10], Operations: ['53+41=94', '94-84=10'] Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 98, 78, 19, 2 ]
10
[ "98/2=49", "78-19=59", "59-49=10" ]
Current State: 10:[98, 78, 19, 2], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [78, 19, 49] Generated Node #2: [78, 19, 49] from Operation: 98/2=49 Current State: 10:[78, 19, 49], Operations: ['98/2=49'] Exploring Operation: 78-19=59, Resulting Numbers: [49, 59] Generated Node #3: [49, 59] from Operation: 78-19=59 Current State: 10:[49, 59], Operations: ['98/2=49', '78-19=59'] Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[98, 78, 19, 2], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [78, 19, 49] Generated Node #0,0: 10:[78, 19, 49] Operation: 98/2=49 Exploring Operation: 98-78=20, Resulting Numbers: [19, 2, 20] Generated Node #0,1: 10:[19, 2, 20] Operation: 98-78=20 Moving to Node #0,1 Current State: 10:[19, 2, 20], Operations: ['98-78=20'] Exploring Operation: 20-19=1, Resulting Numbers: [2, 1] Generated Node #0,1,0: 10:[2, 1] Operation: 20-19=1 Exploring Operation: 20/2=10, Resulting Numbers: [19, 10] Generated Node #0,1,1: 10:[19, 10] Operation: 20/2=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[2, 1], Operations: ['98-78=20', '20-19=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[19, 10], Operations: ['98-78=20', '20/2=10'] Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 10:[78, 19, 49], Operations: ['98/2=49'] Exploring Operation: 78-49=29, Resulting Numbers: [19, 29] Generated Node #0,0,0: 10:[19, 29] Operation: 78-49=29 Exploring Operation: 78-19=59, Resulting Numbers: [49, 59] Generated Node #0,0,1: 10:[49, 59] Operation: 78-19=59 Moving to Node #0,0,0 Current State: 10:[19, 29], Operations: ['98/2=49', '78-49=29'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[98, 78, 19, 2], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [78, 19, 49] Generated Node #0,0: 10:[78, 19, 49] Operation: 98/2=49 Moving to Node #0,0 Current State: 10:[78, 19, 49], Operations: ['98/2=49'] Exploring Operation: 78-49=29, Resulting Numbers: [19, 29] Generated Node #0,0,0: 10:[19, 29] Operation: 78-49=29 Moving to Node #0,0,0 Current State: 10:[19, 29], Operations: ['98/2=49', '78-49=29'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 81, 40, 24, 66 ]
69
[ "81*40=3240", "3240/24=135", "135-66=69" ]
Current State: 69:[81, 40, 24, 66], Operations: [] Exploring Operation: 81*40=3240, Resulting Numbers: [24, 66, 3240] Generated Node #2: [24, 66, 3240] from Operation: 81*40=3240 Current State: 69:[24, 66, 3240], Operations: ['81*40=3240'] Exploring Operation: 3240/24=135, Resulting Numbers: [66, 135] Generated Node #3: [66, 135] from Operation: 3240/24=135 Current State: 69:[66, 135], Operations: ['81*40=3240', '3240/24=135'] Exploring Operation: 135-66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[81, 40, 24, 66], Operations: [] Exploring Operation: 66-40=26, Resulting Numbers: [81, 24, 26] Generated Node #0,0: 69:[81, 24, 26] Operation: 66-40=26 Exploring Operation: 40+24=64, Resulting Numbers: [81, 66, 64] Generated Node #0,1: 69:[81, 66, 64] Operation: 40+24=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[81, 24, 26], Operations: ['66-40=26'] Exploring Operation: 26-24=2, Resulting Numbers: [81, 2] Generated Node #0,0,0: 69:[81, 2] Operation: 26-24=2 Exploring Operation: 81-24=57, Resulting Numbers: [26, 57] Generated Node #0,0,1: 69:[26, 57] Operation: 81-24=57 Moving to Node #0,0,0 Current State: 69:[81, 2], Operations: ['66-40=26', '26-24=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[26, 57], Operations: ['66-40=26', '81-24=57'] Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 26+57=83, Resulting Numbers: [83] 83,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[81, 66, 64], Operations: ['40+24=64'] Exploring Operation: 81-64=17, Resulting Numbers: [66, 17] Generated Node #0,1,0: 69:[66, 17] Operation: 81-64=17 Exploring Operation: 81-66=15, Resulting Numbers: [64, 15] Generated Node #0,1,1: 69:[64, 15] Operation: 81-66=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[66, 17], Operations: ['40+24=64', '81-64=17'] Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,69 unequal: No Solution Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[64, 15], Operations: ['40+24=64', '81-66=15'] Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 31, 86, 82, 57 ]
67
[ "86-82=4", "31*4=124", "124-57=67" ]
Current State: 67:[31, 86, 82, 57], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [31, 57, 4] Generated Node #2: [31, 57, 4] from Operation: 86-82=4 Current State: 67:[31, 57, 4], Operations: ['86-82=4'] Exploring Operation: 31*4=124, Resulting Numbers: [57, 124] Generated Node #3: [57, 124] from Operation: 31*4=124 Current State: 67:[57, 124], Operations: ['86-82=4', '31*4=124'] Exploring Operation: 124-57=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[31, 86, 82, 57], Operations: [] Exploring Operation: 31+57=88, Resulting Numbers: [86, 82, 88] Generated Node #0,0: 67:[86, 82, 88] Operation: 31+57=88 Exploring Operation: 86-31=55, Resulting Numbers: [82, 57, 55] Generated Node #0,1: 67:[82, 57, 55] Operation: 86-31=55 Exploring Operation: 82-31=51, Resulting Numbers: [86, 57, 51] Generated Node #0,2: 67:[86, 57, 51] Operation: 82-31=51 Moving to Node #0,1 Current State: 67:[82, 57, 55], Operations: ['86-31=55'] Exploring Operation: 82-57=25, Resulting Numbers: [55, 25] Generated Node #0,1,0: 67:[55, 25] Operation: 82-57=25 Exploring Operation: 82-55=27, Resulting Numbers: [57, 27] Generated Node #0,1,1: 67:[57, 27] Operation: 82-55=27 Exploring Operation: 57+55=112, Resulting Numbers: [82, 112] Generated Node #0,1,2: 67:[82, 112] Operation: 57+55=112 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[57, 27], Operations: ['86-31=55', '82-55=27'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,67 unequal: No Solution Exploring Operation: 57*27=1539, Resulting Numbers: [1539] 1539,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[55, 25], Operations: ['86-31=55', '82-57=25'] Exploring Operation: 55+25=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 55*25=1375, Resulting Numbers: [1375] 1375,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[82, 112], Operations: ['86-31=55', '57+55=112'] Exploring Operation: 112-82=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 82*112=9184, Resulting Numbers: [9184] 9184,67 unequal: No Solution Exploring Operation: 82+112=194, Resulting Numbers: [194] 194,67 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: 67:[86, 57, 51], Operations: ['82-31=51'] Exploring Operation: 86-57=29, Resulting Numbers: [51, 29] Generated Node #0,2,0: 67:[51, 29] Operation: 86-57=29 Exploring Operation: 57+51=108, Resulting Numbers: [86, 108] Generated Node #0,2,1: 67:[86, 108] Operation: 57+51=108 Exploring Operation: 86-51=35, Resulting Numbers: [57, 35] Generated Node #0,2,2: 67:[57, 35] Operation: 86-51=35 Moving to Node #0,0 Current State: 67:[86, 82, 88], Operations: ['31+57=88'] Exploring Operation: 88-86=2, Resulting Numbers: [82, 2] Generated Node #0,0,0: 67:[82, 2] Operation: 88-86=2 Exploring Operation: 86-82=4, Resulting Numbers: [88, 4] Generated Node #0,0,1: 67:[88, 4] Operation: 86-82=4 Exploring Operation: 88-82=6, Resulting Numbers: [86, 6] Generated Node #0,0,2: 67:[86, 6] Operation: 88-82=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[82, 2], Operations: ['31+57=88', '88-86=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,67 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[86, 6], Operations: ['31+57=88', '88-82=6'] Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,67 unequal: No Solution Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[88, 4], Operations: ['31+57=88', '86-82=4'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,67 unequal: No Solution Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,67 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,67 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: 67:[57, 35], Operations: ['82-31=51', '86-51=35'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,67 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,67 unequal: No Solution Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[51, 29], Operations: ['82-31=51', '86-57=29'] Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,67 unequal: No Solution Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[86, 108], Operations: ['82-31=51', '57+51=108'] Exploring Operation: 108-86=22, Resulting Numbers: [22] 22,67 unequal: No Solution Exploring Operation: 86+108=194, Resulting Numbers: [194] 194,67 unequal: No Solution Exploring Operation: 86*108=9288, Resulting Numbers: [9288] 9288,67 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 6, 6, 95, 1 ]
58
[ "6*6=36", "95-1=94", "94-36=58" ]
Current State: 58:[6, 6, 95, 1], Operations: [] Exploring Operation: 6*6=36, Resulting Numbers: [95, 1, 36] Generated Node #2: [95, 1, 36] from Operation: 6*6=36 Current State: 58:[95, 1, 36], Operations: ['6*6=36'] Exploring Operation: 95-1=94, Resulting Numbers: [36, 94] Generated Node #3: [36, 94] from Operation: 95-1=94 Current State: 58:[36, 94], Operations: ['6*6=36', '95-1=94'] Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[6, 6, 95, 1], Operations: [] Exploring Operation: 95-6=89, Resulting Numbers: [6, 1, 89] Generated Node #0,0: 58:[6, 1, 89] Operation: 95-6=89 Exploring Operation: 95-6=89, Resulting Numbers: [6, 1, 89] Generated Node #0,1: 58:[6, 1, 89] Operation: 95-6=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[6, 1, 89], Operations: ['95-6=89'] Exploring Operation: 6-1=5, Resulting Numbers: [89, 5] Generated Node #0,0,0: 58:[89, 5] Operation: 6-1=5 Exploring Operation: 89-6=83, Resulting Numbers: [1, 83] Generated Node #0,0,1: 58:[1, 83] Operation: 89-6=83 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[1, 83], Operations: ['95-6=89', '89-6=83'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 1*83=83, Resulting Numbers: [83] 83,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[89, 5], Operations: ['95-6=89', '6-1=5'] Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[6, 1, 89], Operations: ['95-6=89'] Exploring Operation: 89-6=83, Resulting Numbers: [1, 83] Generated Node #0,1,0: 58:[1, 83] Operation: 89-6=83 Exploring Operation: 6-1=5, Resulting Numbers: [89, 5] Generated Node #0,1,1: 58:[89, 5] Operation: 6-1=5 Moving to Node #0,1,0 Current State: 58:[1, 83], Operations: ['95-6=89', '89-6=83'] Exploring Operation: 1*83=83, Resulting Numbers: [83] 83,58 unequal: No Solution Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[89, 5], Operations: ['95-6=89', '6-1=5'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,58 unequal: No Solution Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,58 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
[ 22, 15, 7, 4 ]
20
[ "15-7=8", "8/4=2", "22-2=20" ]
Current State: 20:[22, 15, 7, 4], Operations: [] Exploring Operation: 15-7=8, Resulting Numbers: [22, 4, 8] Generated Node #2: [22, 4, 8] from Operation: 15-7=8 Current State: 20:[22, 4, 8], Operations: ['15-7=8'] Exploring Operation: 8/4=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 8/4=2 Current State: 20:[22, 2], Operations: ['15-7=8', '8/4=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[22, 15, 7, 4], Operations: [] Exploring Operation: 15+7=22, Resulting Numbers: [22, 4, 22] Generated Node #0,0: 20:[22, 4, 22] Operation: 15+7=22 Exploring Operation: 15-7=8, Resulting Numbers: [22, 4, 8] Generated Node #0,1: 20:[22, 4, 8] Operation: 15-7=8 Exploring Operation: 22-15=7, Resulting Numbers: [7, 4, 7] Generated Node #0,2: 20:[7, 4, 7] Operation: 22-15=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[22, 4, 22], Operations: ['15+7=22'] Exploring Operation: 22-4=18, Resulting Numbers: [22, 18] Generated Node #0,0,0: 20:[22, 18] Operation: 22-4=18 Exploring Operation: 22/22=1, Resulting Numbers: [4, 1] Generated Node #0,0,1: 20:[4, 1] Operation: 22/22=1 Exploring Operation: 22-22=0, Resulting Numbers: [4, 0] Generated Node #0,0,2: 20:[4, 0] Operation: 22-22=0 Moving to Node #0,0,1 Current State: 20:[4, 1], Operations: ['15+7=22', '22/22=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[4, 0], Operations: ['15+7=22', '22-22=0'] Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[22, 18], Operations: ['15+7=22', '22-4=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,20 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[22, 4, 8], Operations: ['15-7=8'] Exploring Operation: 8-4=4, Resulting Numbers: [22, 4] Generated Node #0,1,0: 20:[22, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [22, 2] Generated Node #0,1,1: 20:[22, 2] Operation: 8/4=2 Exploring Operation: 22-4=18, Resulting Numbers: [8, 18] Generated Node #0,1,2: 20:[8, 18] Operation: 22-4=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[22, 4], Operations: ['15-7=8', '8-4=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,20 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[22, 2], Operations: ['15-7=8', '8/4=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[22, 15, 7, 4], Operations: [] Exploring Operation: 15-7=8, Resulting Numbers: [22, 4, 8] Generated Node #0,1: 20:[22, 4, 8] Operation: 15-7=8 Moving to Node #0,1 Current State: 20:[22, 4, 8], Operations: ['15-7=8'] Exploring Operation: 8/4=2, Resulting Numbers: [22, 2] Generated Node #0,1,1: 20:[22, 2] Operation: 8/4=2 Moving to Node #0,1,1 Current State: 20:[22, 2], Operations: ['15-7=8', '8/4=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 77, 80, 11, 61 ]
24
[ "80-77=3", "11+61=72", "72/3=24" ]
Current State: 24:[77, 80, 11, 61], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [11, 61, 3] Generated Node #2: [11, 61, 3] from Operation: 80-77=3 Current State: 24:[11, 61, 3], Operations: ['80-77=3'] Exploring Operation: 11+61=72, Resulting Numbers: [3, 72] Generated Node #3: [3, 72] from Operation: 11+61=72 Current State: 24:[3, 72], Operations: ['80-77=3', '11+61=72'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[77, 80, 11, 61], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [11, 61, 3] Generated Node #0,0: 24:[11, 61, 3] Operation: 80-77=3 Exploring Operation: 80-61=19, Resulting Numbers: [77, 11, 19] Generated Node #0,1: 24:[77, 11, 19] Operation: 80-61=19 Exploring Operation: 77-61=16, Resulting Numbers: [80, 11, 16] Generated Node #0,2: 24:[80, 11, 16] Operation: 77-61=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[11, 61, 3], Operations: ['80-77=3'] Exploring Operation: 11-3=8, Resulting Numbers: [61, 8] Generated Node #0,0,0: 24:[61, 8] Operation: 11-3=8 Exploring Operation: 61-3=58, Resulting Numbers: [11, 58] Generated Node #0,0,1: 24:[11, 58] Operation: 61-3=58 Exploring Operation: 61-11=50, Resulting Numbers: [3, 50] Generated Node #0,0,2: 24:[3, 50] Operation: 61-11=50 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 24:[3, 50], Operations: ['80-77=3', '61-11=50'] Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,24 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,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,0,1 Current State: 24:[11, 58], Operations: ['80-77=3', '61-3=58'] Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 11*58=638, Resulting Numbers: [638] 638,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,0,0 Current State: 24:[61, 8], Operations: ['80-77=3', '11-3=8'] Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 61*8=488, Resulting Numbers: [488] 488,24 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: 24:[77, 11, 19], Operations: ['80-61=19'] Exploring Operation: 77-19=58, Resulting Numbers: [11, 58] Generated Node #0,1,0: 24:[11, 58] Operation: 77-19=58 Exploring Operation: 77/11=7, Resulting Numbers: [19, 7] Generated Node #0,1,1: 24:[19, 7] Operation: 77/11=7 Exploring Operation: 77-11=66, Resulting Numbers: [19, 66] Generated Node #0,1,2: 24:[19, 66] Operation: 77-11=66 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 24:[19, 7], Operations: ['80-61=19', '77/11=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,24 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,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,1,0 Current State: 24:[11, 58], Operations: ['80-61=19', '77-19=58'] Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 11*58=638, Resulting Numbers: [638] 638,24 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,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,1,2 Current State: 24:[19, 66], Operations: ['80-61=19', '77-11=66'] Exploring Operation: 19*66=1254, Resulting Numbers: [1254] 1254,24 unequal: No Solution Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 19+66=85, Resulting Numbers: [85] 85,24 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: 24:[80, 11, 16], Operations: ['77-61=16'] Exploring Operation: 80-11=69, Resulting Numbers: [16, 69] Generated Node #0,2,0: 24:[16, 69] Operation: 80-11=69 Exploring Operation: 80-16=64, Resulting Numbers: [11, 64] Generated Node #0,2,1: 24:[11, 64] Operation: 80-16=64 Exploring Operation: 80/16=5, Resulting Numbers: [11, 5] Generated Node #0,2,2: 24:[11, 5] Operation: 80/16=5 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 24:[11, 5], Operations: ['77-61=16', '80/16=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,24 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,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,2,1 Current State: 24:[11, 64], Operations: ['77-61=16', '80-16=64'] Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 11+64=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 11*64=704, Resulting Numbers: [704] 704,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,2,0 Current State: 24:[16, 69], Operations: ['77-61=16', '80-11=69'] Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,24 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,24 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
[ 49, 94, 4, 77 ]
70
[ "49+94=143", "77-4=73", "143-73=70" ]
Current State: 70:[49, 94, 4, 77], Operations: [] Exploring Operation: 49+94=143, Resulting Numbers: [4, 77, 143] Generated Node #2: [4, 77, 143] from Operation: 49+94=143 Current State: 70:[4, 77, 143], Operations: ['49+94=143'] Exploring Operation: 77-4=73, Resulting Numbers: [143, 73] Generated Node #3: [143, 73] from Operation: 77-4=73 Current State: 70:[143, 73], Operations: ['49+94=143', '77-4=73'] Exploring Operation: 143-73=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[49, 94, 4, 77], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [94, 4, 28] Generated Node #0,0: 70:[94, 4, 28] Operation: 77-49=28 Exploring Operation: 49-4=45, Resulting Numbers: [94, 77, 45] Generated Node #0,1: 70:[94, 77, 45] Operation: 49-4=45 Exploring Operation: 94-49=45, Resulting Numbers: [4, 77, 45] Generated Node #0,2: 70:[4, 77, 45] Operation: 94-49=45 Exploring Operation: 94-77=17, Resulting Numbers: [49, 4, 17] Generated Node #0,3: 70:[49, 4, 17] Operation: 94-77=17 Exploring Operation: 94-4=90, Resulting Numbers: [49, 77, 90] Generated Node #0,4: 70:[49, 77, 90] Operation: 94-4=90 Moving to Node #0,2 Current State: 70:[4, 77, 45], Operations: ['94-49=45'] Exploring Operation: 4+77=81, Resulting Numbers: [45, 81] Generated Node #0,2,0: 70:[45, 81] Operation: 4+77=81 Exploring Operation: 77-4=73, Resulting Numbers: [45, 73] Generated Node #0,2,1: 70:[45, 73] Operation: 77-4=73 Exploring Operation: 4+45=49, Resulting Numbers: [77, 49] Generated Node #0,2,2: 70:[77, 49] Operation: 4+45=49 Exploring Operation: 45-4=41, Resulting Numbers: [77, 41] Generated Node #0,2,3: 70:[77, 41] Operation: 45-4=41 Exploring Operation: 77-45=32, Resulting Numbers: [4, 32] Generated Node #0,2,4: 70:[4, 32] Operation: 77-45=32 Moving to Node #0,3 Current State: 70:[49, 4, 17], Operations: ['94-77=17'] Exploring Operation: 49+17=66, Resulting Numbers: [4, 66] Generated Node #0,3,0: 70:[4, 66] Operation: 49+17=66 Exploring Operation: 49-17=32, Resulting Numbers: [4, 32] Generated Node #0,3,1: 70:[4, 32] Operation: 49-17=32 Exploring Operation: 49-4=45, Resulting Numbers: [17, 45] Generated Node #0,3,2: 70:[17, 45] Operation: 49-4=45 Exploring Operation: 4*17=68, Resulting Numbers: [49, 68] Generated Node #0,3,3: 70:[49, 68] Operation: 4*17=68 Exploring Operation: 17-4=13, Resulting Numbers: [49, 13] Generated Node #0,3,4: 70:[49, 13] Operation: 17-4=13 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[4, 32], Operations: ['94-77=17', '49-17=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,70 unequal: No Solution Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[4, 66], Operations: ['94-77=17', '49+17=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,70 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[49, 94, 4, 77], Operations: [] Exploring Operation: 94-77=17, Resulting Numbers: [49, 4, 17] Generated Node #0,3: 70:[49, 4, 17] Operation: 94-77=17 Moving to Node #0,3 Current State: 70:[49, 4, 17], Operations: ['94-77=17'] Exploring Operation: 49+17=66, Resulting Numbers: [4, 66] Generated Node #0,3,0: 70:[4, 66] Operation: 49+17=66 Moving to Node #0,3,0 Current State: 70:[4, 66], Operations: ['94-77=17', '49+17=66'] Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 15, 83, 5, 65 ]
81
[ "83-15=68", "65/5=13", "68+13=81" ]
Current State: 81:[15, 83, 5, 65], Operations: [] Exploring Operation: 83-15=68, Resulting Numbers: [5, 65, 68] Generated Node #2: [5, 65, 68] from Operation: 83-15=68 Current State: 81:[5, 65, 68], Operations: ['83-15=68'] Exploring Operation: 65/5=13, Resulting Numbers: [68, 13] Generated Node #3: [68, 13] from Operation: 65/5=13 Current State: 81:[68, 13], Operations: ['83-15=68', '65/5=13'] Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[15, 83, 5, 65], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [15, 5, 18] Generated Node #0,0: 81:[15, 5, 18] Operation: 83-65=18 Exploring Operation: 15/5=3, Resulting Numbers: [83, 65, 3] Generated Node #0,1: 81:[83, 65, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [83, 65, 10] Generated Node #0,2: 81:[83, 65, 10] Operation: 15-5=10 Exploring Operation: 15+65=80, Resulting Numbers: [83, 5, 80] Generated Node #0,3: 81:[83, 5, 80] Operation: 15+65=80 Exploring Operation: 65/5=13, Resulting Numbers: [15, 83, 13] Generated Node #0,4: 81:[15, 83, 13] Operation: 65/5=13 Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[83, 5, 80], Operations: ['15+65=80'] Exploring Operation: 80-5=75, Resulting Numbers: [83, 75] Generated Node #0,3,0: 81:[83, 75] Operation: 80-5=75 Exploring Operation: 83-5=78, Resulting Numbers: [80, 78] Generated Node #0,3,1: 81:[80, 78] Operation: 83-5=78 Exploring Operation: 83-80=3, Resulting Numbers: [5, 3] Generated Node #0,3,2: 81:[5, 3] Operation: 83-80=3 Exploring Operation: 83+5=88, Resulting Numbers: [80, 88] Generated Node #0,3,3: 81:[80, 88] Operation: 83+5=88 Exploring Operation: 5+80=85, Resulting Numbers: [83, 85] Generated Node #0,3,4: 81:[83, 85] Operation: 5+80=85 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 81:[5, 3], Operations: ['15+65=80', '83-80=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,81 unequal: No Solution No 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: 81:[80, 78], Operations: ['15+65=80', '83-5=78'] Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 80+78=158, Resulting Numbers: [158] 158,81 unequal: No Solution Exploring Operation: 80*78=6240, Resulting Numbers: [6240] 6240,81 unequal: No Solution No 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: 81:[83, 85], Operations: ['15+65=80', '5+80=85'] Exploring Operation: 83*85=7055, Resulting Numbers: [7055] 7055,81 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 83+85=168, Resulting Numbers: [168] 168,81 unequal: No Solution No 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: 81:[83, 75], Operations: ['15+65=80', '80-5=75'] Exploring Operation: 83*75=6225, Resulting Numbers: [6225] 6225,81 unequal: No Solution Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 83+75=158, Resulting Numbers: [158] 158,81 unequal: No Solution No 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: 81:[80, 88], Operations: ['15+65=80', '83+5=88'] Exploring Operation: 88-80=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 80*88=7040, Resulting Numbers: [7040] 7040,81 unequal: No Solution Exploring Operation: 80+88=168, Resulting Numbers: [168] 168,81 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: 81:[15, 83, 13], Operations: ['65/5=13'] Exploring Operation: 83-13=70, Resulting Numbers: [15, 70] Generated Node #0,4,0: 81:[15, 70] Operation: 83-13=70 Exploring Operation: 15+13=28, Resulting Numbers: [83, 28] Generated Node #0,4,1: 81:[83, 28] Operation: 15+13=28 Exploring Operation: 83-15=68, Resulting Numbers: [13, 68] Generated Node #0,4,2: 81:[13, 68] Operation: 83-15=68 Exploring Operation: 15+83=98, Resulting Numbers: [13, 98] Generated Node #0,4,3: 81:[13, 98] Operation: 15+83=98 Exploring Operation: 15-13=2, Resulting Numbers: [83, 2] Generated Node #0,4,4: 81:[83, 2] Operation: 15-13=2 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 81:[83, 28], Operations: ['65/5=13', '15+13=28'] Exploring Operation: 83*28=2324, Resulting Numbers: [2324] 2324,81 unequal: No Solution Exploring Operation: 83+28=111, Resulting Numbers: [111] 111,81 unequal: No Solution Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,81 unequal: No Solution No 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: 81:[83, 2], Operations: ['65/5=13', '15-13=2'] Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,81 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[15, 83, 5, 65], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [15, 83, 13] Generated Node #0,4: 81:[15, 83, 13] Operation: 65/5=13 Moving to Node #0,4 Current State: 81:[15, 83, 13], Operations: ['65/5=13'] Exploring Operation: 15-13=2, Resulting Numbers: [83, 2] Generated Node #0,4,4: 81:[83, 2] Operation: 15-13=2 Moving to Node #0,4,4 Current State: 81:[83, 2], Operations: ['65/5=13', '15-13=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 32, 17, 37, 72 ]
24
[ "17+37=54", "32*54=1728", "1728/72=24" ]
Current State: 24:[32, 17, 37, 72], Operations: [] Exploring Operation: 17+37=54, Resulting Numbers: [32, 72, 54] Generated Node #2: [32, 72, 54] from Operation: 17+37=54 Current State: 24:[32, 72, 54], Operations: ['17+37=54'] Exploring Operation: 32*54=1728, Resulting Numbers: [72, 1728] Generated Node #3: [72, 1728] from Operation: 32*54=1728 Current State: 24:[72, 1728], Operations: ['17+37=54', '32*54=1728'] Exploring Operation: 1728/72=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[32, 17, 37, 72], Operations: [] Exploring Operation: 72-37=35, Resulting Numbers: [32, 17, 35] Generated Node #0,0: 24:[32, 17, 35] Operation: 72-37=35 Exploring Operation: 37-32=5, Resulting Numbers: [17, 72, 5] Generated Node #0,1: 24:[17, 72, 5] Operation: 37-32=5 Exploring Operation: 72-17=55, Resulting Numbers: [32, 37, 55] Generated Node #0,2: 24:[32, 37, 55] Operation: 72-17=55 Exploring Operation: 72-32=40, Resulting Numbers: [17, 37, 40] Generated Node #0,3: 24:[17, 37, 40] Operation: 72-32=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[32, 17, 35], Operations: ['72-37=35'] Exploring Operation: 35-17=18, Resulting Numbers: [32, 18] Generated Node #0,0,0: 24:[32, 18] Operation: 35-17=18 Exploring Operation: 35-32=3, Resulting Numbers: [17, 3] Generated Node #0,0,1: 24:[17, 3] Operation: 35-32=3 Exploring Operation: 32+17=49, Resulting Numbers: [35, 49] Generated Node #0,0,2: 24:[35, 49] Operation: 32+17=49 Exploring Operation: 32-17=15, Resulting Numbers: [35, 15] Generated Node #0,0,3: 24:[35, 15] Operation: 32-17=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[17, 3], Operations: ['72-37=35', '35-32=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,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,0,0 Current State: 24:[32, 18], Operations: ['72-37=35', '35-17=18'] Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,24 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,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,0,3 Current State: 24:[35, 15], Operations: ['72-37=35', '32-17=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,24 unequal: No Solution Exploring Operation: 35*15=525, Resulting Numbers: [525] 525,24 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,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,0,2 Current State: 24:[35, 49], Operations: ['72-37=35', '32+17=49'] Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,24 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,24 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: 24:[17, 37, 40], Operations: ['72-32=40'] Exploring Operation: 17+37=54, Resulting Numbers: [40, 54] Generated Node #0,3,0: 24:[40, 54] Operation: 17+37=54 Exploring Operation: 37-17=20, Resulting Numbers: [40, 20] Generated Node #0,3,1: 24:[40, 20] Operation: 37-17=20 Exploring Operation: 40-17=23, Resulting Numbers: [37, 23] Generated Node #0,3,2: 24:[37, 23] Operation: 40-17=23 Exploring Operation: 40-37=3, Resulting Numbers: [17, 3] Generated Node #0,3,3: 24:[17, 3] Operation: 40-37=3 Moving to Node #0,3,3 Current State: 24:[17, 3], Operations: ['72-32=40', '40-37=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[37, 23], Operations: ['72-32=40', '40-17=23'] Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,24 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[40, 20], Operations: ['72-32=40', '37-17=20'] Exploring Operation: 40*20=800, Resulting Numbers: [800] 800,24 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[40, 54], Operations: ['72-32=40', '17+37=54'] Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,24 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[32, 37, 55], Operations: ['72-17=55'] Exploring Operation: 55-32=23, Resulting Numbers: [37, 23] Generated Node #0,2,0: 24:[37, 23] Operation: 55-32=23 Exploring Operation: 37-32=5, Resulting Numbers: [55, 5] Generated Node #0,2,1: 24:[55, 5] Operation: 37-32=5 Exploring Operation: 32+37=69, Resulting Numbers: [55, 69] Generated Node #0,2,2: 24:[55, 69] Operation: 32+37=69 Exploring Operation: 55-37=18, Resulting Numbers: [32, 18] Generated Node #0,2,3: 24:[32, 18] Operation: 55-37=18 Moving to Node #0,2,0 Current State: 24:[37, 23], Operations: ['72-17=55', '55-32=23'] Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[32, 18], Operations: ['72-17=55', '55-37=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,24 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[55, 5], Operations: ['72-17=55', '37-32=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,24 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,24 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[55, 69], Operations: ['72-17=55', '32+37=69'] Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,24 unequal: No Solution Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,24 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[17, 72, 5], Operations: ['37-32=5'] Exploring Operation: 72-5=67, Resulting Numbers: [17, 67] Generated Node #0,1,0: 24:[17, 67] Operation: 72-5=67 Exploring Operation: 17-5=12, Resulting Numbers: [72, 12] Generated Node #0,1,1: 24:[72, 12] Operation: 17-5=12 Exploring Operation: 17+5=22, Resulting Numbers: [72, 22] Generated Node #0,1,2: 24:[72, 22] Operation: 17+5=22 Exploring Operation: 72-17=55, Resulting Numbers: [5, 55] Generated Node #0,1,3: 24:[5, 55] Operation: 72-17=55 Moving to Node #0,1,3 Current State: 24:[5, 55], Operations: ['37-32=5', '72-17=55'] Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,24 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 5*55=275, Resulting Numbers: [275] 275,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[72, 12], Operations: ['37-32=5', '17-5=12'] Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 72*12=864, Resulting Numbers: [864] 864,24 unequal: No Solution Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[17, 67], Operations: ['37-32=5', '72-5=67'] Exploring Operation: 17+67=84, Resulting Numbers: [84] 84,24 unequal: No Solution Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,24 unequal: No Solution Exploring Operation: 17*67=1139, Resulting Numbers: [1139] 1139,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[72, 22], Operations: ['37-32=5', '17+5=22'] Exploring Operation: 72+22=94, Resulting Numbers: [94] 94,24 unequal: No Solution Exploring Operation: 72*22=1584, Resulting Numbers: [1584] 1584,24 unequal: No Solution Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,24 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
[ 48, 96, 56, 23 ]
77
[ "96/48=2", "56+23=79", "79-2=77" ]
Current State: 77:[48, 96, 56, 23], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [56, 23, 2] Generated Node #2: [56, 23, 2] from Operation: 96/48=2 Current State: 77:[56, 23, 2], Operations: ['96/48=2'] Exploring Operation: 56+23=79, Resulting Numbers: [2, 79] Generated Node #3: [2, 79] from Operation: 56+23=79 Current State: 77:[2, 79], Operations: ['96/48=2', '56+23=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[48, 96, 56, 23], Operations: [] Exploring Operation: 56-48=8, Resulting Numbers: [96, 23, 8] Generated Node #0,0: 77:[96, 23, 8] Operation: 56-48=8 Moving to Node #0,0 Current State: 77:[96, 23, 8], Operations: ['56-48=8'] Exploring Operation: 96-23=73, Resulting Numbers: [8, 73] Generated Node #0,0,0: 77:[8, 73] Operation: 96-23=73 Moving to Node #0,0,0 Current State: 77:[8, 73], Operations: ['56-48=8', '96-23=73'] Exploring Operation: 8+73=81, Resulting Numbers: [81] 81,77 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 52, 56, 42, 3 ]
26
[ "52-42=10", "3*10=30", "56-30=26" ]
Current State: 26:[52, 56, 42, 3], Operations: [] Exploring Operation: 52-42=10, Resulting Numbers: [56, 3, 10] Generated Node #2: [56, 3, 10] from Operation: 52-42=10 Current State: 26:[56, 3, 10], Operations: ['52-42=10'] Exploring Operation: 3*10=30, Resulting Numbers: [56, 30] Generated Node #3: [56, 30] from Operation: 3*10=30 Current State: 26:[56, 30], Operations: ['52-42=10', '3*10=30'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[52, 56, 42, 3], Operations: [] Exploring Operation: 56-52=4, Resulting Numbers: [42, 3, 4] Generated Node #0,0: 26:[42, 3, 4] Operation: 56-52=4 Moving to Node #0,0 Current State: 26:[42, 3, 4], Operations: ['56-52=4'] Exploring Operation: 42/3=14, Resulting Numbers: [4, 14] Generated Node #0,0,0: 26:[4, 14] Operation: 42/3=14 Moving to Node #0,0,0 Current State: 26:[4, 14], Operations: ['56-52=4', '42/3=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,26 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 13, 15, 48, 13 ]
83
[ "15-13=2", "48*2=96", "96-13=83" ]
Current State: 83:[13, 15, 48, 13], Operations: [] Exploring Operation: 15-13=2, Resulting Numbers: [48, 2] Generated Node #2: [48, 2] from Operation: 15-13=2 Current State: 83:[48, 2], Operations: ['15-13=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,83 equal: Goal Reached Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[13, 15, 48, 13], Operations: [] Exploring Operation: 13+15=28, Resulting Numbers: [48, 13, 28] Generated Node #0,0: 83:[48, 13, 28] Operation: 13+15=28 Exploring Operation: 13+48=61, Resulting Numbers: [15, 13, 61] Generated Node #0,1: 83:[15, 13, 61] Operation: 13+48=61 Moving to Node #0,0 Current State: 83:[48, 13, 28], Operations: ['13+15=28'] Exploring Operation: 48+13=61, Resulting Numbers: [28, 61] Generated Node #0,0,0: 83:[28, 61] Operation: 48+13=61 Exploring Operation: 48+28=76, Resulting Numbers: [13, 76] Generated Node #0,0,1: 83:[13, 76] Operation: 48+28=76 Moving to Node #0,1 Current State: 83:[15, 13, 61], Operations: ['13+48=61'] Exploring Operation: 15+61=76, Resulting Numbers: [13, 76] Generated Node #0,1,0: 83:[13, 76] Operation: 15+61=76 Exploring Operation: 15+13=28, Resulting Numbers: [61, 28] Generated Node #0,1,1: 83:[61, 28] Operation: 15+13=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[13, 76], Operations: ['13+48=61', '15+61=76'] Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[61, 28], Operations: ['13+48=61', '15+13=28'] Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 83:[28, 61], Operations: ['13+15=28', '48+13=61'] Exploring Operation: 28+61=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[13, 76], Operations: ['13+15=28', '48+28=76'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,83 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 25, 87, 92, 19 ]
24
[ "92-87=5", "25/5=5", "19+5=24" ]
Current State: 24:[25, 87, 92, 19], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [25, 19, 5] Generated Node #2: [25, 19, 5] from Operation: 92-87=5 Current State: 24:[25, 19, 5], Operations: ['92-87=5'] Exploring Operation: 25/5=5, Resulting Numbers: [19, 5] Generated Node #3: [19, 5] from Operation: 25/5=5 Current State: 24:[19, 5], Operations: ['92-87=5', '25/5=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[25, 87, 92, 19], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [25, 19, 5] Generated Node #0,0: 24:[25, 19, 5] Operation: 92-87=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[25, 19, 5], Operations: ['92-87=5'] Exploring Operation: 25-19=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 24:[5, 6] Operation: 25-19=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[5, 6], Operations: ['92-87=5', '25-19=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 43, 12, 20, 10 ]
25
[ "43+12=55", "20+10=30", "55-30=25" ]
Current State: 25:[43, 12, 20, 10], Operations: [] Exploring Operation: 43+12=55, Resulting Numbers: [20, 10, 55] Generated Node #2: [20, 10, 55] from Operation: 43+12=55 Current State: 25:[20, 10, 55], Operations: ['43+12=55'] Exploring Operation: 20+10=30, Resulting Numbers: [55, 30] Generated Node #3: [55, 30] from Operation: 20+10=30 Current State: 25:[55, 30], Operations: ['43+12=55', '20+10=30'] Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[43, 12, 20, 10], Operations: [] Exploring Operation: 43-20=23, Resulting Numbers: [12, 10, 23] Generated Node #0,0: 25:[12, 10, 23] Operation: 43-20=23 Exploring Operation: 43-12=31, Resulting Numbers: [20, 10, 31] Generated Node #0,1: 25:[20, 10, 31] Operation: 43-12=31 Exploring Operation: 12+10=22, Resulting Numbers: [43, 20, 22] Generated Node #0,2: 25:[43, 20, 22] Operation: 12+10=22 Exploring Operation: 43-10=33, Resulting Numbers: [12, 20, 33] Generated Node #0,3: 25:[12, 20, 33] Operation: 43-10=33 Exploring Operation: 20-12=8, Resulting Numbers: [43, 10, 8] Generated Node #0,4: 25:[43, 10, 8] Operation: 20-12=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[12, 10, 23], Operations: ['43-20=23'] Exploring Operation: 12+23=35, Resulting Numbers: [10, 35] Generated Node #0,0,0: 25:[10, 35] Operation: 12+23=35 Exploring Operation: 23-12=11, Resulting Numbers: [10, 11] Generated Node #0,0,1: 25:[10, 11] Operation: 23-12=11 Exploring Operation: 10+23=33, Resulting Numbers: [12, 33] Generated Node #0,0,2: 25:[12, 33] Operation: 10+23=33 Exploring Operation: 12+10=22, Resulting Numbers: [23, 22] Generated Node #0,0,3: 25:[23, 22] Operation: 12+10=22 Exploring Operation: 12-10=2, Resulting Numbers: [23, 2] Generated Node #0,0,4: 25:[23, 2] Operation: 12-10=2 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 25:[23, 22], Operations: ['43-20=23', '12+10=22'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 23*22=506, Resulting Numbers: [506] 506,25 unequal: No Solution No 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: 25:[23, 2], Operations: ['43-20=23', '12-10=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[43, 12, 20, 10], Operations: [] Exploring Operation: 43-20=23, Resulting Numbers: [12, 10, 23] Generated Node #0,0: 25:[12, 10, 23] Operation: 43-20=23 Moving to Node #0,0 Current State: 25:[12, 10, 23], Operations: ['43-20=23'] Exploring Operation: 12-10=2, Resulting Numbers: [23, 2] Generated Node #0,0,4: 25:[23, 2] Operation: 12-10=2 Moving to Node #0,0,4 Current State: 25:[23, 2], Operations: ['43-20=23', '12-10=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 95, 15, 85, 51 ]
99
[ "95-85=10", "15*10=150", "150-51=99" ]
Current State: 99:[95, 15, 85, 51], Operations: [] Exploring Operation: 95-85=10, Resulting Numbers: [15, 51, 10] Generated Node #2: [15, 51, 10] from Operation: 95-85=10 Current State: 99:[15, 51, 10], Operations: ['95-85=10'] Exploring Operation: 15*10=150, Resulting Numbers: [51, 150] Generated Node #3: [51, 150] from Operation: 15*10=150 Current State: 99:[51, 150], Operations: ['95-85=10', '15*10=150'] Exploring Operation: 150-51=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[95, 15, 85, 51], Operations: [] Exploring Operation: 51-15=36, Resulting Numbers: [95, 85, 36] Generated Node #0,0: 99:[95, 85, 36] Operation: 51-15=36 Exploring Operation: 85-51=34, Resulting Numbers: [95, 15, 34] Generated Node #0,1: 99:[95, 15, 34] Operation: 85-51=34 Moving to Node #0,1 Current State: 99:[95, 15, 34], Operations: ['85-51=34'] Exploring Operation: 34-15=19, Resulting Numbers: [95, 19] Generated Node #0,1,0: 99:[95, 19] Operation: 34-15=19 Exploring Operation: 95+15=110, Resulting Numbers: [34, 110] Generated Node #0,1,1: 99:[34, 110] Operation: 95+15=110 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[95, 19], Operations: ['85-51=34', '34-15=19'] Exploring Operation: 95+19=114, Resulting Numbers: [114] 114,99 unequal: No Solution Exploring Operation: 95/19=5, Resulting Numbers: [5] 5,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[34, 110], Operations: ['85-51=34', '95+15=110'] Exploring Operation: 34+110=144, Resulting Numbers: [144] 144,99 unequal: No Solution Exploring Operation: 110-34=76, Resulting Numbers: [76] 76,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 99:[95, 85, 36], Operations: ['51-15=36'] Exploring Operation: 95-85=10, Resulting Numbers: [36, 10] Generated Node #0,0,0: 99:[36, 10] Operation: 95-85=10 Exploring Operation: 85-36=49, Resulting Numbers: [95, 49] Generated Node #0,0,1: 99:[95, 49] Operation: 85-36=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[36, 10], Operations: ['51-15=36', '95-85=10'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[95, 49], Operations: ['51-15=36', '85-36=49'] Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 95+49=144, Resulting Numbers: [144] 144,99 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
[ 46, 23, 63, 59 ]
65
[ "46+23=69", "63-59=4", "69-4=65" ]
Current State: 65:[46, 23, 63, 59], Operations: [] Exploring Operation: 46+23=69, Resulting Numbers: [63, 59, 69] Generated Node #2: [63, 59, 69] from Operation: 46+23=69 Current State: 65:[63, 59, 69], Operations: ['46+23=69'] Exploring Operation: 63-59=4, Resulting Numbers: [69, 4] Generated Node #3: [69, 4] from Operation: 63-59=4 Current State: 65:[69, 4], Operations: ['46+23=69', '63-59=4'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[46, 23, 63, 59], Operations: [] Exploring Operation: 46/23=2, Resulting Numbers: [63, 59, 2] Generated Node #0,0: 65:[63, 59, 2] Operation: 46/23=2 Exploring Operation: 46+23=69, Resulting Numbers: [63, 59, 69] Generated Node #0,1: 65:[63, 59, 69] Operation: 46+23=69 Moving to Node #0,0 Current State: 65:[63, 59, 2], Operations: ['46/23=2'] Exploring Operation: 63+2=65, Resulting Numbers: [59, 65] Generated Node #0,0,0: 65:[59, 65] Operation: 63+2=65 Exploring Operation: 63-59=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 65:[2, 4] Operation: 63-59=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[2, 4], Operations: ['46/23=2', '63-59=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[59, 65], Operations: ['46/23=2', '63+2=65'] Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 59+65=124, Resulting Numbers: [124] 124,65 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: 65:[63, 59, 69], Operations: ['46+23=69'] Exploring Operation: 69-59=10, Resulting Numbers: [63, 10] Generated Node #0,1,0: 65:[63, 10] Operation: 69-59=10 Exploring Operation: 63-59=4, Resulting Numbers: [69, 4] Generated Node #0,1,1: 65:[69, 4] Operation: 63-59=4 Moving to Node #0,1,0 Current State: 65:[63, 10], Operations: ['46+23=69', '69-59=10'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,65 unequal: No Solution Exploring Operation: 63+10=73, Resulting Numbers: [73] 73,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[69, 4], Operations: ['46+23=69', '63-59=4'] Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[46, 23, 63, 59], Operations: [] Exploring Operation: 46+23=69, Resulting Numbers: [63, 59, 69] Generated Node #0,1: 65:[63, 59, 69] Operation: 46+23=69 Moving to Node #0,1 Current State: 65:[63, 59, 69], Operations: ['46+23=69'] Exploring Operation: 63-59=4, Resulting Numbers: [69, 4] Generated Node #0,1,1: 65:[69, 4] Operation: 63-59=4 Moving to Node #0,1,1 Current State: 65:[69, 4], Operations: ['46+23=69', '63-59=4'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 10, 68, 69, 45 ]
34
[ "68-10=58", "69-45=24", "58-24=34" ]
Current State: 34:[10, 68, 69, 45], Operations: [] Exploring Operation: 68-10=58, Resulting Numbers: [69, 45, 58] Generated Node #2: [69, 45, 58] from Operation: 68-10=58 Current State: 34:[69, 45, 58], Operations: ['68-10=58'] Exploring Operation: 69-45=24, Resulting Numbers: [58, 24] Generated Node #3: [58, 24] from Operation: 69-45=24 Current State: 34:[58, 24], Operations: ['68-10=58', '69-45=24'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[10, 68, 69, 45], Operations: [] Exploring Operation: 68-45=23, Resulting Numbers: [10, 69, 23] Generated Node #0,0: 34:[10, 69, 23] Operation: 68-45=23 Exploring Operation: 69-68=1, Resulting Numbers: [10, 45, 1] Generated Node #0,1: 34:[10, 45, 1] Operation: 69-68=1 Exploring Operation: 69-45=24, Resulting Numbers: [10, 68, 24] Generated Node #0,2: 34:[10, 68, 24] Operation: 69-45=24 Exploring Operation: 68-10=58, Resulting Numbers: [69, 45, 58] Generated Node #0,3: 34:[69, 45, 58] Operation: 68-10=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[10, 45, 1], Operations: ['69-68=1'] Exploring Operation: 10*1=10, Resulting Numbers: [45, 10] Generated Node #0,1,0: 34:[45, 10] Operation: 10*1=10 Exploring Operation: 10+1=11, Resulting Numbers: [45, 11] Generated Node #0,1,1: 34:[45, 11] Operation: 10+1=11 Exploring Operation: 45-10=35, Resulting Numbers: [1, 35] Generated Node #0,1,2: 34:[1, 35] Operation: 45-10=35 Exploring Operation: 45-1=44, Resulting Numbers: [10, 44] Generated Node #0,1,3: 34:[10, 44] Operation: 45-1=44 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 34:[1, 35], Operations: ['69-68=1', '45-10=35'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[10, 68, 69, 45], Operations: [] Exploring Operation: 69-68=1, Resulting Numbers: [10, 45, 1] Generated Node #0,1: 34:[10, 45, 1] Operation: 69-68=1 Moving to Node #0,1 Current State: 34:[10, 45, 1], Operations: ['69-68=1'] Exploring Operation: 45-10=35, Resulting Numbers: [1, 35] Generated Node #0,1,2: 34:[1, 35] Operation: 45-10=35 Moving to Node #0,1,2 Current State: 34:[1, 35], Operations: ['69-68=1', '45-10=35'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 30, 90, 78, 95 ]
20
[ "90/30=3", "95-78=17", "3+17=20" ]
Current State: 20:[30, 90, 78, 95], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [78, 95, 3] Generated Node #2: [78, 95, 3] from Operation: 90/30=3 Current State: 20:[78, 95, 3], Operations: ['90/30=3'] Exploring Operation: 95-78=17, Resulting Numbers: [3, 17] Generated Node #3: [3, 17] from Operation: 95-78=17 Current State: 20:[3, 17], Operations: ['90/30=3', '95-78=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[30, 90, 78, 95], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [30, 78, 5] Generated Node #0,0: 20:[30, 78, 5] Operation: 95-90=5 Moving to Node #0,0 Current State: 20:[30, 78, 5], Operations: ['95-90=5'] Exploring Operation: 78-30=48, Resulting Numbers: [5, 48] Generated Node #0,0,0: 20:[5, 48] Operation: 78-30=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[5, 48], Operations: ['95-90=5', '78-30=48'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,20 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
[ 42, 55, 23, 65 ]
56
[ "42+23=65", "65/65=1", "55+1=56" ]
Current State: 56:[42, 55, 23, 65], Operations: [] Exploring Operation: 42+23=65, Resulting Numbers: [55, 65, 65] Generated Node #2: [55, 65, 65] from Operation: 42+23=65 Current State: 56:[55, 65, 65], Operations: ['42+23=65'] Exploring Operation: 65/65=1, Resulting Numbers: [55, 1] Generated Node #3: [55, 1] from Operation: 65/65=1 Current State: 56:[55, 1], Operations: ['42+23=65', '65/65=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[42, 55, 23, 65], Operations: [] Exploring Operation: 65-42=23, Resulting Numbers: [55, 23, 23] Generated Node #0,0: 56:[55, 23, 23] Operation: 65-42=23 Exploring Operation: 55-42=13, Resulting Numbers: [23, 65, 13] Generated Node #0,1: 56:[23, 65, 13] Operation: 55-42=13 Exploring Operation: 42-23=19, Resulting Numbers: [55, 65, 19] Generated Node #0,2: 56:[55, 65, 19] Operation: 42-23=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[55, 23, 23], Operations: ['65-42=23'] Exploring Operation: 55-23=32, Resulting Numbers: [23, 32] Generated Node #0,0,0: 56:[23, 32] Operation: 55-23=32 Exploring Operation: 23-23=0, Resulting Numbers: [55, 0] Generated Node #0,0,1: 56:[55, 0] Operation: 23-23=0 Exploring Operation: 23/23=1, Resulting Numbers: [55, 1] Generated Node #0,0,2: 56:[55, 1] Operation: 23/23=1 Moving to Node #0,0,2 Current State: 56:[55, 1], Operations: ['65-42=23', '23/23=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[42, 55, 23, 65], Operations: [] Exploring Operation: 65-42=23, Resulting Numbers: [55, 23, 23] Generated Node #0,0: 56:[55, 23, 23] Operation: 65-42=23 Moving to Node #0,0 Current State: 56:[55, 23, 23], Operations: ['65-42=23'] Exploring Operation: 23/23=1, Resulting Numbers: [55, 1] Generated Node #0,0,2: 56:[55, 1] Operation: 23/23=1 Moving to Node #0,0,2 Current State: 56:[55, 1], Operations: ['65-42=23', '23/23=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 61, 61, 23, 3 ]
23
[ "61-61=0", "3*0=0", "23+0=23" ]
Current State: 23:[61, 61, 23, 3], Operations: [] Exploring Operation: 61-61=0, Resulting Numbers: [23, 3, 0] Generated Node #2: [23, 3, 0] from Operation: 61-61=0 Current State: 23:[23, 3, 0], Operations: ['61-61=0'] Exploring Operation: 3*0=0, Resulting Numbers: [23, 0] Generated Node #3: [23, 0] from Operation: 3*0=0 Current State: 23:[23, 0], Operations: ['61-61=0', '3*0=0'] Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[61, 61, 23, 3], Operations: [] Exploring Operation: 61-61=0, Resulting Numbers: [23, 3, 0] Generated Node #0,0: 23:[23, 3, 0] Operation: 61-61=0 Exploring Operation: 61/61=1, Resulting Numbers: [23, 3, 1] Generated Node #0,1: 23:[23, 3, 1] Operation: 61/61=1 Exploring Operation: 61-23=38, Resulting Numbers: [61, 3, 38] Generated Node #0,2: 23:[61, 3, 38] Operation: 61-23=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[23, 3, 1], Operations: ['61/61=1'] Exploring Operation: 3+1=4, Resulting Numbers: [23, 4] Generated Node #0,1,0: 23:[23, 4] Operation: 3+1=4 Exploring Operation: 23/1=23, Resulting Numbers: [3, 23] Generated Node #0,1,1: 23:[3, 23] Operation: 23/1=23 Exploring Operation: 23*1=23, Resulting Numbers: [3, 23] Generated Node #0,1,2: 23:[3, 23] Operation: 23*1=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[23, 4], Operations: ['61/61=1', '3+1=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,23 unequal: No Solution No 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: 23:[3, 23], Operations: ['61/61=1', '23/1=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,23 unequal: No Solution No 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: 23:[3, 23], Operations: ['61/61=1', '23*1=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,23 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: 23:[23, 3, 0], Operations: ['61-61=0'] Exploring Operation: 23-0=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 23:[3, 23] Operation: 23-0=23 Exploring Operation: 3+0=3, Resulting Numbers: [23, 3] Generated Node #0,0,1: 23:[23, 3] Operation: 3+0=3 Exploring Operation: 23+0=23, Resulting Numbers: [3, 23] Generated Node #0,0,2: 23:[3, 23] Operation: 23+0=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[3, 23], Operations: ['61-61=0', '23-0=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,23 unequal: No Solution No 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: 23:[23, 3], Operations: ['61-61=0', '3+0=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,23 unequal: No Solution No 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: 23:[3, 23], Operations: ['61-61=0', '23+0=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,23 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: 23:[61, 3, 38], Operations: ['61-23=38'] Exploring Operation: 61-3=58, Resulting Numbers: [38, 58] Generated Node #0,2,0: 23:[38, 58] Operation: 61-3=58 Exploring Operation: 61-38=23, Resulting Numbers: [3, 23] Generated Node #0,2,1: 23:[3, 23] Operation: 61-38=23 Exploring Operation: 38-3=35, Resulting Numbers: [61, 35] Generated Node #0,2,2: 23:[61, 35] Operation: 38-3=35 Moving to Node #0,2,1 Current State: 23:[3, 23], Operations: ['61-23=38', '61-38=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[38, 58], Operations: ['61-23=38', '61-3=58'] Exploring Operation: 38*58=2204, Resulting Numbers: [2204] 2204,23 unequal: No Solution Exploring Operation: 38+58=96, Resulting Numbers: [96] 96,23 unequal: No Solution Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[61, 35], Operations: ['61-23=38', '38-3=35'] Exploring Operation: 61*35=2135, Resulting Numbers: [2135] 2135,23 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 61+35=96, Resulting Numbers: [96] 96,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 31, 80, 32, 3 ]
78
[ "80-31=49", "32-3=29", "49+29=78" ]
Current State: 78:[31, 80, 32, 3], Operations: [] Exploring Operation: 80-31=49, Resulting Numbers: [32, 3, 49] Generated Node #2: [32, 3, 49] from Operation: 80-31=49 Current State: 78:[32, 3, 49], Operations: ['80-31=49'] Exploring Operation: 32-3=29, Resulting Numbers: [49, 29] Generated Node #3: [49, 29] from Operation: 32-3=29 Current State: 78:[49, 29], Operations: ['80-31=49', '32-3=29'] Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[31, 80, 32, 3], Operations: [] Exploring Operation: 32-31=1, Resulting Numbers: [80, 3, 1] Generated Node #0,0: 78:[80, 3, 1] Operation: 32-31=1 Exploring Operation: 31-3=28, Resulting Numbers: [80, 32, 28] Generated Node #0,1: 78:[80, 32, 28] Operation: 31-3=28 Exploring Operation: 32+3=35, Resulting Numbers: [31, 80, 35] Generated Node #0,2: 78:[31, 80, 35] Operation: 32+3=35 Exploring Operation: 80-3=77, Resulting Numbers: [31, 32, 77] Generated Node #0,3: 78:[31, 32, 77] Operation: 80-3=77 Exploring Operation: 32-3=29, Resulting Numbers: [31, 80, 29] Generated Node #0,4: 78:[31, 80, 29] Operation: 32-3=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[80, 3, 1], Operations: ['32-31=1'] Exploring Operation: 3*1=3, Resulting Numbers: [80, 3] Generated Node #0,0,0: 78:[80, 3] Operation: 3*1=3 Exploring Operation: 80-3=77, Resulting Numbers: [1, 77] Generated Node #0,0,1: 78:[1, 77] Operation: 80-3=77 Exploring Operation: 80/1=80, Resulting Numbers: [3, 80] Generated Node #0,0,2: 78:[3, 80] Operation: 80/1=80 Exploring Operation: 80*1=80, Resulting Numbers: [3, 80] Generated Node #0,0,3: 78:[3, 80] Operation: 80*1=80 Exploring Operation: 80-1=79, Resulting Numbers: [3, 79] Generated Node #0,0,4: 78:[3, 79] Operation: 80-1=79 Moving to Node #0,0,4 Current State: 78:[3, 79], Operations: ['32-31=1', '80-1=79'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 3+79=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 3*79=237, Resulting Numbers: [237] 237,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[1, 77], Operations: ['32-31=1', '80-3=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[31, 80, 32, 3], Operations: [] Exploring Operation: 32-31=1, Resulting Numbers: [80, 3, 1] Generated Node #0,0: 78:[80, 3, 1] Operation: 32-31=1 Moving to Node #0,0 Current State: 78:[80, 3, 1], Operations: ['32-31=1'] Exploring Operation: 80-3=77, Resulting Numbers: [1, 77] Generated Node #0,0,1: 78:[1, 77] Operation: 80-3=77 Moving to Node #0,0,1 Current State: 78:[1, 77], Operations: ['32-31=1', '80-3=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 12, 30, 66, 95 ]
71
[ "12+30=42", "95-66=29", "42+29=71" ]
Current State: 71:[12, 30, 66, 95], Operations: [] Exploring Operation: 12+30=42, Resulting Numbers: [66, 95, 42] Generated Node #2: [66, 95, 42] from Operation: 12+30=42 Current State: 71:[66, 95, 42], Operations: ['12+30=42'] Exploring Operation: 95-66=29, Resulting Numbers: [42, 29] Generated Node #3: [42, 29] from Operation: 95-66=29 Current State: 71:[42, 29], Operations: ['12+30=42', '95-66=29'] Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[12, 30, 66, 95], Operations: [] Exploring Operation: 12+30=42, Resulting Numbers: [66, 95, 42] Generated Node #0,0: 71:[66, 95, 42] Operation: 12+30=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[66, 95, 42], Operations: ['12+30=42'] Exploring Operation: 95-42=53, Resulting Numbers: [66, 53] Generated Node #0,0,0: 71:[66, 53] Operation: 95-42=53 Moving to Node #0,0,0 Current State: 71:[66, 53], Operations: ['12+30=42', '95-42=53'] Exploring Operation: 66+53=119, Resulting Numbers: [119] 119,71 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
[ 6, 95, 53, 13 ]
23
[ "95-6=89", "53+13=66", "89-66=23" ]
Current State: 23:[6, 95, 53, 13], Operations: [] Exploring Operation: 95-6=89, Resulting Numbers: [53, 13, 89] Generated Node #2: [53, 13, 89] from Operation: 95-6=89 Current State: 23:[53, 13, 89], Operations: ['95-6=89'] Exploring Operation: 53+13=66, Resulting Numbers: [89, 66] Generated Node #3: [89, 66] from Operation: 53+13=66 Current State: 23:[89, 66], Operations: ['95-6=89', '53+13=66'] Exploring Operation: 89-66=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[6, 95, 53, 13], Operations: [] Exploring Operation: 95-6=89, Resulting Numbers: [53, 13, 89] Generated Node #0,0: 23:[53, 13, 89] Operation: 95-6=89 Exploring Operation: 95-53=42, Resulting Numbers: [6, 13, 42] Generated Node #0,1: 23:[6, 13, 42] Operation: 95-53=42 Moving to Node #0,1 Current State: 23:[6, 13, 42], Operations: ['95-53=42'] Exploring Operation: 42-6=36, Resulting Numbers: [13, 36] Generated Node #0,1,0: 23:[13, 36] Operation: 42-6=36 Exploring Operation: 6+13=19, Resulting Numbers: [42, 19] Generated Node #0,1,1: 23:[42, 19] Operation: 6+13=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[13, 36], Operations: ['95-53=42', '42-6=36'] Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[6, 95, 53, 13], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [6, 13, 42] Generated Node #0,1: 23:[6, 13, 42] Operation: 95-53=42 Moving to Node #0,1 Current State: 23:[6, 13, 42], Operations: ['95-53=42'] Exploring Operation: 42-6=36, Resulting Numbers: [13, 36] Generated Node #0,1,0: 23:[13, 36] Operation: 42-6=36 Moving to Node #0,1,0 Current State: 23:[13, 36], Operations: ['95-53=42', '42-6=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 36, 68, 13, 50 ]
41
[ "36+68=104", "13+50=63", "104-63=41" ]
Current State: 41:[36, 68, 13, 50], Operations: [] Exploring Operation: 36+68=104, Resulting Numbers: [13, 50, 104] Generated Node #2: [13, 50, 104] from Operation: 36+68=104 Current State: 41:[13, 50, 104], Operations: ['36+68=104'] Exploring Operation: 13+50=63, Resulting Numbers: [104, 63] Generated Node #3: [104, 63] from Operation: 13+50=63 Current State: 41:[104, 63], Operations: ['36+68=104', '13+50=63'] Exploring Operation: 104-63=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[36, 68, 13, 50], Operations: [] Exploring Operation: 68-13=55, Resulting Numbers: [36, 50, 55] Generated Node #0,0: 41:[36, 50, 55] Operation: 68-13=55 Moving to Node #0,0 Current State: 41:[36, 50, 55], Operations: ['68-13=55'] Exploring Operation: 55-36=19, Resulting Numbers: [50, 19] Generated Node #0,0,0: 41:[50, 19] Operation: 55-36=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[50, 19], Operations: ['68-13=55', '55-36=19'] Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,41 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
[ 67, 37, 96, 8 ]
64
[ "67+37=104", "104-96=8", "8*8=64" ]
Current State: 64:[67, 37, 96, 8], Operations: [] Exploring Operation: 67+37=104, Resulting Numbers: [96, 8, 104] Generated Node #2: [96, 8, 104] from Operation: 67+37=104 Current State: 64:[96, 8, 104], Operations: ['67+37=104'] Exploring Operation: 104-96=8, Resulting Numbers: [8, 8] Generated Node #3: [8, 8] from Operation: 104-96=8 Current State: 64:[8, 8], Operations: ['67+37=104', '104-96=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[67, 37, 96, 8], Operations: [] Exploring Operation: 96-37=59, Resulting Numbers: [67, 8, 59] Generated Node #0,0: 64:[67, 8, 59] Operation: 96-37=59 Exploring Operation: 96-67=29, Resulting Numbers: [37, 8, 29] Generated Node #0,1: 64:[37, 8, 29] Operation: 96-67=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[67, 8, 59], Operations: ['96-37=59'] Exploring Operation: 8+59=67, Resulting Numbers: [67, 67] Generated Node #0,0,0: 64:[67, 67] Operation: 8+59=67 Exploring Operation: 67-59=8, Resulting Numbers: [8, 8] Generated Node #0,0,1: 64:[8, 8] Operation: 67-59=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[8, 8], Operations: ['96-37=59', '67-59=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[67, 37, 96, 8], Operations: [] Exploring Operation: 96-37=59, Resulting Numbers: [67, 8, 59] Generated Node #0,0: 64:[67, 8, 59] Operation: 96-37=59 Moving to Node #0,0 Current State: 64:[67, 8, 59], Operations: ['96-37=59'] Exploring Operation: 67-59=8, Resulting Numbers: [8, 8] Generated Node #0,0,1: 64:[8, 8] Operation: 67-59=8 Moving to Node #0,0,1 Current State: 64:[8, 8], Operations: ['96-37=59', '67-59=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 41, 45, 59, 52 ]
46
[ "45-41=4", "52/4=13", "59-13=46" ]
Current State: 46:[41, 45, 59, 52], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [59, 52, 4] Generated Node #2: [59, 52, 4] from Operation: 45-41=4 Current State: 46:[59, 52, 4], Operations: ['45-41=4'] Exploring Operation: 52/4=13, Resulting Numbers: [59, 13] Generated Node #3: [59, 13] from Operation: 52/4=13 Current State: 46:[59, 13], Operations: ['45-41=4', '52/4=13'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[41, 45, 59, 52], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [59, 52, 4] Generated Node #0,0: 46:[59, 52, 4] Operation: 45-41=4 Exploring Operation: 59-45=14, Resulting Numbers: [41, 52, 14] Generated Node #0,1: 46:[41, 52, 14] Operation: 59-45=14 Exploring Operation: 52-41=11, Resulting Numbers: [45, 59, 11] Generated Node #0,2: 46:[45, 59, 11] Operation: 52-41=11 Exploring Operation: 59-41=18, Resulting Numbers: [45, 52, 18] Generated Node #0,3: 46:[45, 52, 18] Operation: 59-41=18 Exploring Operation: 59-52=7, Resulting Numbers: [41, 45, 7] Generated Node #0,4: 46:[41, 45, 7] Operation: 59-52=7 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[41, 45, 7], Operations: ['59-52=7'] Exploring Operation: 45+7=52, Resulting Numbers: [41, 52] Generated Node #0,4,0: 46:[41, 52] Operation: 45+7=52 Exploring Operation: 41+7=48, Resulting Numbers: [45, 48] Generated Node #0,4,1: 46:[45, 48] Operation: 41+7=48 Exploring Operation: 41-7=34, Resulting Numbers: [45, 34] Generated Node #0,4,2: 46:[45, 34] Operation: 41-7=34 Exploring Operation: 45-7=38, Resulting Numbers: [41, 38] Generated Node #0,4,3: 46:[41, 38] Operation: 45-7=38 Exploring Operation: 45-41=4, Resulting Numbers: [7, 4] Generated Node #0,4,4: 46:[7, 4] Operation: 45-41=4 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 46:[45, 48], Operations: ['59-52=7', '41+7=48'] Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,46 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,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,4,4 Current State: 46:[7, 4], Operations: ['59-52=7', '45-41=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,46 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,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,4,0 Current State: 46:[41, 52], Operations: ['59-52=7', '45+7=52'] Exploring Operation: 41+52=93, Resulting Numbers: [93] 93,46 unequal: No Solution Exploring Operation: 41*52=2132, Resulting Numbers: [2132] 2132,46 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,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,4,2 Current State: 46:[45, 34], Operations: ['59-52=7', '41-7=34'] Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,46 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,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,4,3 Current State: 46:[41, 38], Operations: ['59-52=7', '45-7=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[45, 52, 18], Operations: ['59-41=18'] Exploring Operation: 52-18=34, Resulting Numbers: [45, 34] Generated Node #0,3,0: 46:[45, 34] Operation: 52-18=34 Exploring Operation: 45-18=27, Resulting Numbers: [52, 27] Generated Node #0,3,1: 46:[52, 27] Operation: 45-18=27 Exploring Operation: 45+18=63, Resulting Numbers: [52, 63] Generated Node #0,3,2: 46:[52, 63] Operation: 45+18=63 Exploring Operation: 52+18=70, Resulting Numbers: [45, 70] Generated Node #0,3,3: 46:[45, 70] Operation: 52+18=70 Exploring Operation: 52-45=7, Resulting Numbers: [18, 7] Generated Node #0,3,4: 46:[18, 7] Operation: 52-45=7 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 46:[52, 27], Operations: ['59-41=18', '45-18=27'] Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,46 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,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,3,4 Current State: 46:[18, 7], Operations: ['59-41=18', '52-45=7'] Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,46 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,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,3,0 Current State: 46:[45, 34], Operations: ['59-41=18', '52-18=34'] Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,46 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,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,3,2 Current State: 46:[52, 63], Operations: ['59-41=18', '45+18=63'] Exploring Operation: 52+63=115, Resulting Numbers: [115] 115,46 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,46 unequal: No Solution Exploring Operation: 52*63=3276, Resulting Numbers: [3276] 3276,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,3,3 Current State: 46:[45, 70], Operations: ['59-41=18', '52+18=70'] Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,46 unequal: No Solution Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[41, 52, 14], Operations: ['59-45=14'] Exploring Operation: 41+14=55, Resulting Numbers: [52, 55] Generated Node #0,1,0: 46:[52, 55] Operation: 41+14=55 Exploring Operation: 52-41=11, Resulting Numbers: [14, 11] Generated Node #0,1,1: 46:[14, 11] Operation: 52-41=11 Exploring Operation: 52+14=66, Resulting Numbers: [41, 66] Generated Node #0,1,2: 46:[41, 66] Operation: 52+14=66 Exploring Operation: 41-14=27, Resulting Numbers: [52, 27] Generated Node #0,1,3: 46:[52, 27] Operation: 41-14=27 Exploring Operation: 52-14=38, Resulting Numbers: [41, 38] Generated Node #0,1,4: 46:[41, 38] Operation: 52-14=38 Moving to Node #0,1,3 Current State: 46:[52, 27], Operations: ['59-45=14', '41-14=27'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,46 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,46 unequal: No Solution Moving to Node #0,1,4 Current State: 46:[41, 38], Operations: ['59-45=14', '52-14=38'] Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,46 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[52, 55], Operations: ['59-45=14', '41+14=55'] Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,46 unequal: No Solution Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[14, 11], Operations: ['59-45=14', '52-41=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,46 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[41, 66], Operations: ['59-45=14', '52+14=66'] Exploring Operation: 41*66=2706, Resulting Numbers: [2706] 2706,46 unequal: No Solution Exploring Operation: 41+66=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,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,0 Current State: 46:[59, 52, 4], Operations: ['45-41=4'] Exploring Operation: 59-4=55, Resulting Numbers: [52, 55] Generated Node #0,0,0: 46:[52, 55] Operation: 59-4=55 Exploring Operation: 52+4=56, Resulting Numbers: [59, 56] Generated Node #0,0,1: 46:[59, 56] Operation: 52+4=56 Exploring Operation: 59-52=7, Resulting Numbers: [4, 7] Generated Node #0,0,2: 46:[4, 7] Operation: 59-52=7 Exploring Operation: 59+4=63, Resulting Numbers: [52, 63] Generated Node #0,0,3: 46:[52, 63] Operation: 59+4=63 Exploring Operation: 52-4=48, Resulting Numbers: [59, 48] Generated Node #0,0,4: 46:[59, 48] Operation: 52-4=48 Moving to Node #0,0,2 Current State: 46:[4, 7], Operations: ['45-41=4', '59-52=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,46 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[59, 48], Operations: ['45-41=4', '52-4=48'] Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,46 unequal: No Solution Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[52, 55], Operations: ['45-41=4', '59-4=55'] Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,46 unequal: No Solution Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[59, 56], Operations: ['45-41=4', '52+4=56'] Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,46 unequal: No Solution Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[52, 63], Operations: ['45-41=4', '59+4=63'] Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,46 unequal: No Solution Exploring Operation: 52+63=115, Resulting Numbers: [115] 115,46 unequal: No Solution Exploring Operation: 52*63=3276, Resulting Numbers: [3276] 3276,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[45, 59, 11], Operations: ['52-41=11'] Exploring Operation: 59-11=48, Resulting Numbers: [45, 48] Generated Node #0,2,0: 46:[45, 48] Operation: 59-11=48 Exploring Operation: 45+11=56, Resulting Numbers: [59, 56] Generated Node #0,2,1: 46:[59, 56] Operation: 45+11=56 Exploring Operation: 45-11=34, Resulting Numbers: [59, 34] Generated Node #0,2,2: 46:[59, 34] Operation: 45-11=34 Exploring Operation: 59-45=14, Resulting Numbers: [11, 14] Generated Node #0,2,3: 46:[11, 14] Operation: 59-45=14 Exploring Operation: 59+11=70, Resulting Numbers: [45, 70] Generated Node #0,2,4: 46:[45, 70] Operation: 59+11=70 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[45, 48], Operations: ['52-41=11', '59-11=48'] Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,46 unequal: No Solution Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,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,2,3 Current State: 46:[11, 14], Operations: ['52-41=11', '59-45=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,46 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,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,2,1 Current State: 46:[59, 56], Operations: ['52-41=11', '45+11=56'] Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,46 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,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,2,2 Current State: 46:[59, 34], Operations: ['52-41=11', '45-11=34'] Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,46 unequal: No Solution Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,46 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,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,2,4 Current State: 46:[45, 70], Operations: ['52-41=11', '59+11=70'] Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,46 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,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_5
sum_heuristic
[ 47, 43, 15, 85 ]
20
[ "47+43=90", "85-15=70", "90-70=20" ]
Current State: 20:[47, 43, 15, 85], Operations: [] Exploring Operation: 47+43=90, Resulting Numbers: [15, 85, 90] Generated Node #2: [15, 85, 90] from Operation: 47+43=90 Current State: 20:[15, 85, 90], Operations: ['47+43=90'] Exploring Operation: 85-15=70, Resulting Numbers: [90, 70] Generated Node #3: [90, 70] from Operation: 85-15=70 Current State: 20:[90, 70], Operations: ['47+43=90', '85-15=70'] Exploring Operation: 90-70=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[47, 43, 15, 85], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [47, 15, 42] Generated Node #0,0: 20:[47, 15, 42] Operation: 85-43=42 Exploring Operation: 85-47=38, Resulting Numbers: [43, 15, 38] Generated Node #0,1: 20:[43, 15, 38] Operation: 85-47=38 Moving to Node #0,1 Current State: 20:[43, 15, 38], Operations: ['85-47=38'] Exploring Operation: 43-38=5, Resulting Numbers: [15, 5] Generated Node #0,1,0: 20:[15, 5] Operation: 43-38=5 Exploring Operation: 43-15=28, Resulting Numbers: [38, 28] Generated Node #0,1,1: 20:[38, 28] Operation: 43-15=28 Moving to Node #0,0 Current State: 20:[47, 15, 42], Operations: ['85-43=42'] Exploring Operation: 47-15=32, Resulting Numbers: [42, 32] Generated Node #0,0,0: 20:[42, 32] Operation: 47-15=32 Exploring Operation: 47-42=5, Resulting Numbers: [15, 5] Generated Node #0,0,1: 20:[15, 5] Operation: 47-42=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[15, 5], Operations: ['85-43=42', '47-42=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[47, 43, 15, 85], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [47, 15, 42] Generated Node #0,0: 20:[47, 15, 42] Operation: 85-43=42 Moving to Node #0,0 Current State: 20:[47, 15, 42], Operations: ['85-43=42'] Exploring Operation: 47-42=5, Resulting Numbers: [15, 5] Generated Node #0,0,1: 20:[15, 5] Operation: 47-42=5 Moving to Node #0,0,1 Current State: 20:[15, 5], Operations: ['85-43=42', '47-42=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 99, 72, 82, 81 ]
78
[ "99-81=18", "72/18=4", "82-4=78" ]
Current State: 78:[99, 72, 82, 81], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [72, 82, 18] Generated Node #2: [72, 82, 18] from Operation: 99-81=18 Current State: 78:[72, 82, 18], Operations: ['99-81=18'] Exploring Operation: 72/18=4, Resulting Numbers: [82, 4] Generated Node #3: [82, 4] from Operation: 72/18=4 Current State: 78:[82, 4], Operations: ['99-81=18', '72/18=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[99, 72, 82, 81], Operations: [] Exploring Operation: 99-72=27, Resulting Numbers: [82, 81, 27] Generated Node #0,0: 78:[82, 81, 27] Operation: 99-72=27 Exploring Operation: 99-82=17, Resulting Numbers: [72, 81, 17] Generated Node #0,1: 78:[72, 81, 17] Operation: 99-82=17 Exploring Operation: 99-81=18, Resulting Numbers: [72, 82, 18] Generated Node #0,2: 78:[72, 82, 18] Operation: 99-81=18 Moving to Node #0,0 Current State: 78:[82, 81, 27], Operations: ['99-72=27'] Exploring Operation: 81/27=3, Resulting Numbers: [82, 3] Generated Node #0,0,0: 78:[82, 3] Operation: 81/27=3 Exploring Operation: 82-27=55, Resulting Numbers: [81, 55] Generated Node #0,0,1: 78:[81, 55] Operation: 82-27=55 Exploring Operation: 82-81=1, Resulting Numbers: [27, 1] Generated Node #0,0,2: 78:[27, 1] Operation: 82-81=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[27, 1], Operations: ['99-72=27', '82-81=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,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,0 Current State: 78:[82, 3], Operations: ['99-72=27', '81/27=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 82*3=246, Resulting Numbers: [246] 246,78 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,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,1 Current State: 78:[81, 55], Operations: ['99-72=27', '82-27=55'] Exploring Operation: 81+55=136, Resulting Numbers: [136] 136,78 unequal: No Solution Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 81*55=4455, Resulting Numbers: [4455] 4455,78 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: 78:[72, 81, 17], Operations: ['99-82=17'] Exploring Operation: 72-17=55, Resulting Numbers: [81, 55] Generated Node #0,1,0: 78:[81, 55] Operation: 72-17=55 Exploring Operation: 81-72=9, Resulting Numbers: [17, 9] Generated Node #0,1,1: 78:[17, 9] Operation: 81-72=9 Exploring Operation: 72+17=89, Resulting Numbers: [81, 89] Generated Node #0,1,2: 78:[81, 89] Operation: 72+17=89 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[17, 9], Operations: ['99-82=17', '81-72=9'] Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,78 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[81, 89], Operations: ['99-82=17', '72+17=89'] Exploring Operation: 81*89=7209, Resulting Numbers: [7209] 7209,78 unequal: No Solution Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 81+89=170, Resulting Numbers: [170] 170,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[81, 55], Operations: ['99-82=17', '72-17=55'] Exploring Operation: 81+55=136, Resulting Numbers: [136] 136,78 unequal: No Solution Exploring Operation: 81*55=4455, Resulting Numbers: [4455] 4455,78 unequal: No Solution Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 78:[72, 82, 18], Operations: ['99-81=18'] Exploring Operation: 82-72=10, Resulting Numbers: [18, 10] Generated Node #0,2,0: 78:[18, 10] Operation: 82-72=10 Exploring Operation: 72+18=90, Resulting Numbers: [82, 90] Generated Node #0,2,1: 78:[82, 90] Operation: 72+18=90 Exploring Operation: 72/18=4, Resulting Numbers: [82, 4] Generated Node #0,2,2: 78:[82, 4] Operation: 72/18=4 Moving to Node #0,2,2 Current State: 78:[82, 4], Operations: ['99-81=18', '72/18=4'] Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,78 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[99, 72, 82, 81], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [72, 82, 18] Generated Node #0,2: 78:[72, 82, 18] Operation: 99-81=18 Moving to Node #0,2 Current State: 78:[72, 82, 18], Operations: ['99-81=18'] Exploring Operation: 72/18=4, Resulting Numbers: [82, 4] Generated Node #0,2,2: 78:[82, 4] Operation: 72/18=4 Moving to Node #0,2,2 Current State: 78:[82, 4], Operations: ['99-81=18', '72/18=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 57, 78, 72, 73 ]
75
[ "72-57=15", "78-73=5", "15*5=75" ]
Current State: 75:[57, 78, 72, 73], Operations: [] Exploring Operation: 72-57=15, Resulting Numbers: [78, 73, 15] Generated Node #2: [78, 73, 15] from Operation: 72-57=15 Current State: 75:[78, 73, 15], Operations: ['72-57=15'] Exploring Operation: 78-73=5, Resulting Numbers: [15, 5] Generated Node #3: [15, 5] from Operation: 78-73=5 Current State: 75:[15, 5], Operations: ['72-57=15', '78-73=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[57, 78, 72, 73], Operations: [] Exploring Operation: 72-57=15, Resulting Numbers: [78, 73, 15] Generated Node #0,0: 75:[78, 73, 15] Operation: 72-57=15 Exploring Operation: 73-57=16, Resulting Numbers: [78, 72, 16] Generated Node #0,1: 75:[78, 72, 16] Operation: 73-57=16 Moving to Node #0,0 Current State: 75:[78, 73, 15], Operations: ['72-57=15'] Exploring Operation: 78-73=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 75:[15, 5] Operation: 78-73=5 Exploring Operation: 78-15=63, Resulting Numbers: [73, 63] Generated Node #0,0,1: 75:[73, 63] Operation: 78-15=63 Moving to Node #0,1 Current State: 75:[78, 72, 16], Operations: ['73-57=16'] Exploring Operation: 78-16=62, Resulting Numbers: [72, 62] Generated Node #0,1,0: 75:[72, 62] Operation: 78-16=62 Exploring Operation: 78-72=6, Resulting Numbers: [16, 6] Generated Node #0,1,1: 75:[16, 6] Operation: 78-72=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[16, 6], Operations: ['73-57=16', '78-72=6'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,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,0 Current State: 75:[72, 62], Operations: ['73-57=16', '78-16=62'] Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 72+62=134, Resulting Numbers: [134] 134,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 75:[15, 5], Operations: ['72-57=15', '78-73=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[57, 78, 72, 73], Operations: [] Exploring Operation: 72-57=15, Resulting Numbers: [78, 73, 15] Generated Node #0,0: 75:[78, 73, 15] Operation: 72-57=15 Moving to Node #0,0 Current State: 75:[78, 73, 15], Operations: ['72-57=15'] Exploring Operation: 78-73=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 75:[15, 5] Operation: 78-73=5 Moving to Node #0,0,0 Current State: 75:[15, 5], Operations: ['72-57=15', '78-73=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 32, 5, 73, 19 ]
65
[ "32-5=27", "73+19=92", "92-27=65" ]
Current State: 65:[32, 5, 73, 19], Operations: [] Exploring Operation: 32-5=27, Resulting Numbers: [73, 19, 27] Generated Node #2: [73, 19, 27] from Operation: 32-5=27 Current State: 65:[73, 19, 27], Operations: ['32-5=27'] Exploring Operation: 73+19=92, Resulting Numbers: [27, 92] Generated Node #3: [27, 92] from Operation: 73+19=92 Current State: 65:[27, 92], Operations: ['32-5=27', '73+19=92'] Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[32, 5, 73, 19], Operations: [] Exploring Operation: 32-19=13, Resulting Numbers: [5, 73, 13] Generated Node #0,0: 65:[5, 73, 13] Operation: 32-19=13 Exploring Operation: 32+19=51, Resulting Numbers: [5, 73, 51] Generated Node #0,1: 65:[5, 73, 51] Operation: 32+19=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[5, 73, 13], Operations: ['32-19=13'] Exploring Operation: 73-5=68, Resulting Numbers: [13, 68] Generated Node #0,0,0: 65:[13, 68] Operation: 73-5=68 Exploring Operation: 73-13=60, Resulting Numbers: [5, 60] Generated Node #0,0,1: 65:[5, 60] Operation: 73-13=60 Moving to Node #0,0,0 Current State: 65:[13, 68], Operations: ['32-19=13', '73-5=68'] Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,65 unequal: No Solution Exploring Operation: 13+68=81, Resulting Numbers: [81] 81,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[5, 60], Operations: ['32-19=13', '73-13=60'] Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[32, 5, 73, 19], Operations: [] Exploring Operation: 32-19=13, Resulting Numbers: [5, 73, 13] Generated Node #0,0: 65:[5, 73, 13] Operation: 32-19=13 Moving to Node #0,0 Current State: 65:[5, 73, 13], Operations: ['32-19=13'] Exploring Operation: 73-13=60, Resulting Numbers: [5, 60] Generated Node #0,0,1: 65:[5, 60] Operation: 73-13=60 Moving to Node #0,0,1 Current State: 65:[5, 60], Operations: ['32-19=13', '73-13=60'] Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 12, 19, 76, 9 ]
48
[ "76/19=4", "9*4=36", "12+36=48" ]
Current State: 48:[12, 19, 76, 9], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [12, 9, 4] Generated Node #2: [12, 9, 4] from Operation: 76/19=4 Current State: 48:[12, 9, 4], Operations: ['76/19=4'] Exploring Operation: 9*4=36, Resulting Numbers: [12, 36] Generated Node #3: [12, 36] from Operation: 9*4=36 Current State: 48:[12, 36], Operations: ['76/19=4', '9*4=36'] Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[12, 19, 76, 9], Operations: [] Exploring Operation: 76-19=57, Resulting Numbers: [12, 9, 57] Generated Node #0,0: 48:[12, 9, 57] Operation: 76-19=57 Exploring Operation: 76/19=4, Resulting Numbers: [12, 9, 4] Generated Node #0,1: 48:[12, 9, 4] Operation: 76/19=4 Moving to Node #0,1 Current State: 48:[12, 9, 4], Operations: ['76/19=4'] Exploring Operation: 12+4=16, Resulting Numbers: [9, 16] Generated Node #0,1,0: 48:[9, 16] Operation: 12+4=16 Exploring Operation: 12-9=3, Resulting Numbers: [4, 3] Generated Node #0,1,1: 48:[4, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[4, 3], Operations: ['76/19=4', '12-9=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,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,1,0 Current State: 48:[9, 16], Operations: ['76/19=4', '12+4=16'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,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:[12, 9, 57], Operations: ['76-19=57'] Exploring Operation: 57-12=45, Resulting Numbers: [9, 45] Generated Node #0,0,0: 48:[9, 45] Operation: 57-12=45 Exploring Operation: 57-9=48, Resulting Numbers: [12, 48] Generated Node #0,0,1: 48:[12, 48] Operation: 57-9=48 Moving to Node #0,0,1 Current State: 48:[12, 48], Operations: ['76-19=57', '57-9=48'] Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[9, 45], Operations: ['76-19=57', '57-12=45'] Exploring Operation: 9+45=54, Resulting Numbers: [54] 54,48 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,48 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 91, 81, 54, 9 ]
94
[ "81-54=27", "27/9=3", "91+3=94" ]
Current State: 94:[91, 81, 54, 9], Operations: [] Exploring Operation: 81-54=27, Resulting Numbers: [91, 9, 27] Generated Node #2: [91, 9, 27] from Operation: 81-54=27 Current State: 94:[91, 9, 27], Operations: ['81-54=27'] Exploring Operation: 27/9=3, Resulting Numbers: [91, 3] Generated Node #3: [91, 3] from Operation: 27/9=3 Current State: 94:[91, 3], Operations: ['81-54=27', '27/9=3'] Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[91, 81, 54, 9], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [54, 9, 10] Generated Node #0,0: 94:[54, 9, 10] Operation: 91-81=10 Exploring Operation: 81+9=90, Resulting Numbers: [91, 54, 90] Generated Node #0,1: 94:[91, 54, 90] Operation: 81+9=90 Exploring Operation: 54/9=6, Resulting Numbers: [91, 81, 6] Generated Node #0,2: 94:[91, 81, 6] Operation: 54/9=6 Exploring Operation: 54-9=45, Resulting Numbers: [91, 81, 45] Generated Node #0,3: 94:[91, 81, 45] Operation: 54-9=45 Exploring Operation: 81/9=9, Resulting Numbers: [91, 54, 9] Generated Node #0,4: 94:[91, 54, 9] Operation: 81/9=9 Moving to Node #0,1 Current State: 94:[91, 54, 90], Operations: ['81+9=90'] Exploring Operation: 54+90=144, Resulting Numbers: [91, 144] Generated Node #0,1,0: 94:[91, 144] Operation: 54+90=144 Exploring Operation: 91-54=37, Resulting Numbers: [90, 37] Generated Node #0,1,1: 94:[90, 37] Operation: 91-54=37 Exploring Operation: 90-54=36, Resulting Numbers: [91, 36] Generated Node #0,1,2: 94:[91, 36] Operation: 90-54=36 Exploring Operation: 91-90=1, Resulting Numbers: [54, 1] Generated Node #0,1,3: 94:[54, 1] Operation: 91-90=1 Exploring Operation: 91+54=145, Resulting Numbers: [90, 145] Generated Node #0,1,4: 94:[90, 145] Operation: 91+54=145 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[54, 1], Operations: ['81+9=90', '91-90=1'] Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[90, 37], Operations: ['81+9=90', '91-54=37'] Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 90*37=3330, Resulting Numbers: [3330] 3330,94 unequal: No Solution Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,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,2 Current State: 94:[91, 36], Operations: ['81+9=90', '90-54=36'] Exploring Operation: 91+36=127, Resulting Numbers: [127] 127,94 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 91*36=3276, Resulting Numbers: [3276] 3276,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,0 Current State: 94:[91, 144], Operations: ['81+9=90', '54+90=144'] Exploring Operation: 144-91=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 91*144=13104, Resulting Numbers: [13104] 13104,94 unequal: No Solution Exploring Operation: 91+144=235, Resulting Numbers: [235] 235,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,4 Current State: 94:[90, 145], Operations: ['81+9=90', '91+54=145'] Exploring Operation: 90*145=13050, Resulting Numbers: [13050] 13050,94 unequal: No Solution Exploring Operation: 145-90=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 90+145=235, Resulting Numbers: [235] 235,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 94:[91, 54, 9], Operations: ['81/9=9'] Exploring Operation: 54-9=45, Resulting Numbers: [91, 45] Generated Node #0,4,0: 94:[91, 45] Operation: 54-9=45 Exploring Operation: 91+9=100, Resulting Numbers: [54, 100] Generated Node #0,4,1: 94:[54, 100] Operation: 91+9=100 Exploring Operation: 91-9=82, Resulting Numbers: [54, 82] Generated Node #0,4,2: 94:[54, 82] Operation: 91-9=82 Exploring Operation: 91-54=37, Resulting Numbers: [9, 37] Generated Node #0,4,3: 94:[9, 37] Operation: 91-54=37 Exploring Operation: 54/9=6, Resulting Numbers: [91, 6] Generated Node #0,4,4: 94:[91, 6] Operation: 54/9=6 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 94:[91, 45], Operations: ['81/9=9', '54-9=45'] Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 91*45=4095, Resulting Numbers: [4095] 4095,94 unequal: No Solution Exploring Operation: 91+45=136, Resulting Numbers: [136] 136,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,4,4 Current State: 94:[91, 6], Operations: ['81/9=9', '54/9=6'] Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,94 unequal: No Solution Exploring Operation: 91+6=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 91*6=546, Resulting Numbers: [546] 546,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,4,1 Current State: 94:[54, 100], Operations: ['81/9=9', '91+9=100'] Exploring Operation: 54+100=154, Resulting Numbers: [154] 154,94 unequal: No Solution Exploring Operation: 54*100=5400, Resulting Numbers: [5400] 5400,94 unequal: No Solution Exploring Operation: 100-54=46, Resulting Numbers: [46] 46,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,4,3 Current State: 94:[9, 37], Operations: ['81/9=9', '91-54=37'] Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,94 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,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,4,2 Current State: 94:[54, 82], Operations: ['81/9=9', '91-9=82'] Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,94 unequal: No Solution Exploring Operation: 54+82=136, Resulting Numbers: [136] 136,94 unequal: No Solution Exploring Operation: 54*82=4428, Resulting Numbers: [4428] 4428,94 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: 94:[91, 81, 45], Operations: ['54-9=45'] Exploring Operation: 91+45=136, Resulting Numbers: [81, 136] Generated Node #0,3,0: 94:[81, 136] Operation: 91+45=136 Exploring Operation: 81-45=36, Resulting Numbers: [91, 36] Generated Node #0,3,1: 94:[91, 36] Operation: 81-45=36 Exploring Operation: 91-81=10, Resulting Numbers: [45, 10] Generated Node #0,3,2: 94:[45, 10] Operation: 91-81=10 Exploring Operation: 91-45=46, Resulting Numbers: [81, 46] Generated Node #0,3,3: 94:[81, 46] Operation: 91-45=46 Exploring Operation: 81+45=126, Resulting Numbers: [91, 126] Generated Node #0,3,4: 94:[91, 126] Operation: 81+45=126 Moving to Node #0,2 Current State: 94:[91, 81, 6], Operations: ['54/9=6'] Exploring Operation: 91-81=10, Resulting Numbers: [6, 10] Generated Node #0,2,0: 94:[6, 10] Operation: 91-81=10 Exploring Operation: 91+6=97, Resulting Numbers: [81, 97] Generated Node #0,2,1: 94:[81, 97] Operation: 91+6=97 Exploring Operation: 81-6=75, Resulting Numbers: [91, 75] Generated Node #0,2,2: 94:[91, 75] Operation: 81-6=75 Exploring Operation: 91-6=85, Resulting Numbers: [81, 85] Generated Node #0,2,3: 94:[81, 85] Operation: 91-6=85 Exploring Operation: 81+6=87, Resulting Numbers: [91, 87] Generated Node #0,2,4: 94:[91, 87] Operation: 81+6=87 Moving to Node #0,0 Current State: 94:[54, 9, 10], Operations: ['91-81=10'] Exploring Operation: 54/9=6, Resulting Numbers: [10, 6] Generated Node #0,0,0: 94:[10, 6] Operation: 54/9=6 Exploring Operation: 10-9=1, Resulting Numbers: [54, 1] Generated Node #0,0,1: 94:[54, 1] Operation: 10-9=1 Exploring Operation: 9*10=90, Resulting Numbers: [54, 90] Generated Node #0,0,2: 94:[54, 90] Operation: 9*10=90 Exploring Operation: 54-9=45, Resulting Numbers: [10, 45] Generated Node #0,0,3: 94:[10, 45] Operation: 54-9=45 Exploring Operation: 54-10=44, Resulting Numbers: [9, 44] Generated Node #0,0,4: 94:[9, 44] Operation: 54-10=44 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[54, 1], Operations: ['91-81=10', '10-9=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[10, 45], Operations: ['91-81=10', '54-9=45'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 94:[9, 44], Operations: ['91-81=10', '54-10=44'] Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,94 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[54, 90], Operations: ['91-81=10', '9*10=90'] Exploring Operation: 54+90=144, Resulting Numbers: [144] 144,94 unequal: No Solution Exploring Operation: 54*90=4860, Resulting Numbers: [4860] 4860,94 unequal: No Solution Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[10, 6], Operations: ['91-81=10', '54/9=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 94:[45, 10], Operations: ['54-9=45', '91-81=10'] Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,94 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,94 unequal: No Solution Moving to Node #0,2,4 Current State: 94:[91, 87], Operations: ['54/9=6', '81+6=87'] Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 91+87=178, Resulting Numbers: [178] 178,94 unequal: No Solution Exploring Operation: 91*87=7917, Resulting Numbers: [7917] 7917,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[6, 10], Operations: ['54/9=6', '91-81=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[81, 46], Operations: ['54-9=45', '91-45=46'] Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,94 unequal: No Solution Exploring Operation: 81*46=3726, Resulting Numbers: [3726] 3726,94 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[91, 36], Operations: ['54-9=45', '81-45=36'] Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 91*36=3276, Resulting Numbers: [3276] 3276,94 unequal: No Solution Exploring Operation: 91+36=127, Resulting Numbers: [127] 127,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[81, 97], Operations: ['54/9=6', '91+6=97'] Exploring Operation: 81*97=7857, Resulting Numbers: [7857] 7857,94 unequal: No Solution Exploring Operation: 81+97=178, Resulting Numbers: [178] 178,94 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[91, 75], Operations: ['54/9=6', '81-6=75'] Exploring Operation: 91+75=166, Resulting Numbers: [166] 166,94 unequal: No Solution Exploring Operation: 91*75=6825, Resulting Numbers: [6825] 6825,94 unequal: No Solution Exploring Operation: 91-75=16, Resulting Numbers: [16] 16,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[81, 85], Operations: ['54/9=6', '91-6=85'] Exploring Operation: 81+85=166, Resulting Numbers: [166] 166,94 unequal: No Solution Exploring Operation: 85-81=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 81*85=6885, Resulting Numbers: [6885] 6885,94 unequal: No Solution Moving to Node #0,3,4 Current State: 94:[91, 126], Operations: ['54-9=45', '81+45=126'] Exploring Operation: 91*126=11466, Resulting Numbers: [11466] 11466,94 unequal: No Solution Exploring Operation: 91+126=217, Resulting Numbers: [217] 217,94 unequal: No Solution Exploring Operation: 126-91=35, Resulting Numbers: [35] 35,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[81, 136], Operations: ['54-9=45', '91+45=136'] Exploring Operation: 136-81=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 81+136=217, Resulting Numbers: [217] 217,94 unequal: No Solution Exploring Operation: 81*136=11016, Resulting Numbers: [11016] 11016,94 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 70, 26, 39, 49 ]
19
[ "49-39=10", "70/10=7", "26-7=19" ]
Current State: 19:[70, 26, 39, 49], Operations: [] Exploring Operation: 49-39=10, Resulting Numbers: [70, 26, 10] Generated Node #2: [70, 26, 10] from Operation: 49-39=10 Current State: 19:[70, 26, 10], Operations: ['49-39=10'] Exploring Operation: 70/10=7, Resulting Numbers: [26, 7] Generated Node #3: [26, 7] from Operation: 70/10=7 Current State: 19:[26, 7], Operations: ['49-39=10', '70/10=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[70, 26, 39, 49], Operations: [] Exploring Operation: 70-39=31, Resulting Numbers: [26, 49, 31] Generated Node #0,0: 19:[26, 49, 31] Operation: 70-39=31 Exploring Operation: 70-49=21, Resulting Numbers: [26, 39, 21] Generated Node #0,1: 19:[26, 39, 21] Operation: 70-49=21 Exploring Operation: 49-39=10, Resulting Numbers: [70, 26, 10] Generated Node #0,2: 19:[70, 26, 10] Operation: 49-39=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[26, 39, 21], Operations: ['70-49=21'] Exploring Operation: 26-21=5, Resulting Numbers: [39, 5] Generated Node #0,1,0: 19:[39, 5] Operation: 26-21=5 Exploring Operation: 39-21=18, Resulting Numbers: [26, 18] Generated Node #0,1,1: 19:[26, 18] Operation: 39-21=18 Exploring Operation: 39-26=13, Resulting Numbers: [21, 13] Generated Node #0,1,2: 19:[21, 13] Operation: 39-26=13 Moving to Node #0,1,1 Current State: 19:[26, 18], Operations: ['70-49=21', '39-21=18'] Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,19 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[21, 13], Operations: ['70-49=21', '39-26=13'] Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,19 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[39, 5], Operations: ['70-49=21', '26-21=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[26, 49, 31], Operations: ['70-39=31'] Exploring Operation: 49-26=23, Resulting Numbers: [31, 23] Generated Node #0,0,0: 19:[31, 23] Operation: 49-26=23 Exploring Operation: 31-26=5, Resulting Numbers: [49, 5] Generated Node #0,0,1: 19:[49, 5] Operation: 31-26=5 Exploring Operation: 49-31=18, Resulting Numbers: [26, 18] Generated Node #0,0,2: 19:[26, 18] Operation: 49-31=18 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[26, 18], Operations: ['70-39=31', '49-31=18'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,19 unequal: No Solution Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,19 unequal: No Solution No 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: 19:[31, 23], Operations: ['70-39=31', '49-26=23'] Exploring Operation: 31*23=713, Resulting Numbers: [713] 713,19 unequal: No Solution Exploring Operation: 31+23=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,19 unequal: No Solution No 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: 19:[49, 5], Operations: ['70-39=31', '31-26=5'] Exploring Operation: 49*5=245, Resulting Numbers: [245] 245,19 unequal: No Solution Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,19 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: 19:[70, 26, 10], Operations: ['49-39=10'] Exploring Operation: 70-26=44, Resulting Numbers: [10, 44] Generated Node #0,2,0: 19:[10, 44] Operation: 70-26=44 Exploring Operation: 70/10=7, Resulting Numbers: [26, 7] Generated Node #0,2,1: 19:[26, 7] Operation: 70/10=7 Exploring Operation: 70-10=60, Resulting Numbers: [26, 60] Generated Node #0,2,2: 19:[26, 60] Operation: 70-10=60 Moving to Node #0,2,1 Current State: 19:[26, 7], Operations: ['49-39=10', '70/10=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[70, 26, 39, 49], Operations: [] Exploring Operation: 49-39=10, Resulting Numbers: [70, 26, 10] Generated Node #0,2: 19:[70, 26, 10] Operation: 49-39=10 Moving to Node #0,2 Current State: 19:[70, 26, 10], Operations: ['49-39=10'] Exploring Operation: 70/10=7, Resulting Numbers: [26, 7] Generated Node #0,2,1: 19:[26, 7] Operation: 70/10=7 Moving to Node #0,2,1 Current State: 19:[26, 7], Operations: ['49-39=10', '70/10=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 52, 89, 13, 51 ]
54
[ "89+13=102", "102/51=2", "52+2=54" ]
Current State: 54:[52, 89, 13, 51], Operations: [] Exploring Operation: 89+13=102, Resulting Numbers: [52, 51, 102] Generated Node #2: [52, 51, 102] from Operation: 89+13=102 Current State: 54:[52, 51, 102], Operations: ['89+13=102'] Exploring Operation: 102/51=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 102/51=2 Current State: 54:[52, 2], Operations: ['89+13=102', '102/51=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[52, 89, 13, 51], Operations: [] Exploring Operation: 89-52=37, Resulting Numbers: [13, 51, 37] Generated Node #0,0: 54:[13, 51, 37] Operation: 89-52=37 Exploring Operation: 89-51=38, Resulting Numbers: [52, 13, 38] Generated Node #0,1: 54:[52, 13, 38] Operation: 89-51=38 Exploring Operation: 89-13=76, Resulting Numbers: [52, 51, 76] Generated Node #0,2: 54:[52, 51, 76] Operation: 89-13=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[13, 51, 37], Operations: ['89-52=37'] Exploring Operation: 13+37=50, Resulting Numbers: [51, 50] Generated Node #0,0,0: 54:[51, 50] Operation: 13+37=50 Exploring Operation: 37-13=24, Resulting Numbers: [51, 24] Generated Node #0,0,1: 54:[51, 24] Operation: 37-13=24 Exploring Operation: 51-37=14, Resulting Numbers: [13, 14] Generated Node #0,0,2: 54:[13, 14] Operation: 51-37=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[51, 24], Operations: ['89-52=37', '37-13=24'] Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,54 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,54 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,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,0,0 Current State: 54:[51, 50], Operations: ['89-52=37', '13+37=50'] Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,54 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,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,0,2 Current State: 54:[13, 14], Operations: ['89-52=37', '51-37=14'] Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,54 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[52, 13, 38], Operations: ['89-51=38'] Exploring Operation: 38-13=25, Resulting Numbers: [52, 25] Generated Node #0,1,0: 54:[52, 25] Operation: 38-13=25 Exploring Operation: 13+38=51, Resulting Numbers: [52, 51] Generated Node #0,1,1: 54:[52, 51] Operation: 13+38=51 Exploring Operation: 52-38=14, Resulting Numbers: [13, 14] Generated Node #0,1,2: 54:[13, 14] Operation: 52-38=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 54:[52, 25], Operations: ['89-51=38', '38-13=25'] Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 52+25=77, Resulting Numbers: [77] 77,54 unequal: No Solution Exploring Operation: 52*25=1300, Resulting Numbers: [1300] 1300,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:[52, 51], Operations: ['89-51=38', '13+38=51'] Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 52*51=2652, Resulting Numbers: [2652] 2652,54 unequal: No Solution Exploring Operation: 52+51=103, Resulting Numbers: [103] 103,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:[13, 14], Operations: ['89-51=38', '52-38=14'] Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,54 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[52, 51, 76], Operations: ['89-13=76'] Exploring Operation: 52-51=1, Resulting Numbers: [76, 1] Generated Node #0,2,0: 54:[76, 1] Operation: 52-51=1 Exploring Operation: 76-51=25, Resulting Numbers: [52, 25] Generated Node #0,2,1: 54:[52, 25] Operation: 76-51=25 Exploring Operation: 76-52=24, Resulting Numbers: [51, 24] Generated Node #0,2,2: 54:[51, 24] Operation: 76-52=24 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 54:[52, 25], Operations: ['89-13=76', '76-51=25'] Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 52*25=1300, Resulting Numbers: [1300] 1300,54 unequal: No Solution Exploring Operation: 52+25=77, Resulting Numbers: [77] 77,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,2,2 Current State: 54:[51, 24], Operations: ['89-13=76', '76-52=24'] Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,54 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,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,2,0 Current State: 54:[76, 1], Operations: ['89-13=76', '52-51=1'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,54 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,54 unequal: No Solution Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,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
sum_heuristic
[ 98, 61, 13, 36 ]
59
[ "13+36=49", "98/49=2", "61-2=59" ]
Current State: 59:[98, 61, 13, 36], Operations: [] Exploring Operation: 13+36=49, Resulting Numbers: [98, 61, 49] Generated Node #2: [98, 61, 49] from Operation: 13+36=49 Current State: 59:[98, 61, 49], Operations: ['13+36=49'] Exploring Operation: 98/49=2, Resulting Numbers: [61, 2] Generated Node #3: [61, 2] from Operation: 98/49=2 Current State: 59:[61, 2], Operations: ['13+36=49', '98/49=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[98, 61, 13, 36], Operations: [] Exploring Operation: 98-13=85, Resulting Numbers: [61, 36, 85] Generated Node #0,0: 59:[61, 36, 85] Operation: 98-13=85 Exploring Operation: 98-36=62, Resulting Numbers: [61, 13, 62] Generated Node #0,1: 59:[61, 13, 62] Operation: 98-36=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[61, 36, 85], Operations: ['98-13=85'] Exploring Operation: 85-36=49, Resulting Numbers: [61, 49] Generated Node #0,0,0: 59:[61, 49] Operation: 85-36=49 Exploring Operation: 85-61=24, Resulting Numbers: [36, 24] Generated Node #0,0,1: 59:[36, 24] Operation: 85-61=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[61, 49], Operations: ['98-13=85', '85-36=49'] Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 61+49=110, Resulting Numbers: [110] 110,59 unequal: No Solution No 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: 59:[36, 24], Operations: ['98-13=85', '85-61=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,59 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: 59:[61, 13, 62], Operations: ['98-36=62'] Exploring Operation: 61-13=48, Resulting Numbers: [62, 48] Generated Node #0,1,0: 59:[62, 48] Operation: 61-13=48 Exploring Operation: 62-13=49, Resulting Numbers: [61, 49] Generated Node #0,1,1: 59:[61, 49] Operation: 62-13=49 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[61, 49], Operations: ['98-36=62', '62-13=49'] Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 61+49=110, Resulting Numbers: [110] 110,59 unequal: No Solution No 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: 59:[62, 48], Operations: ['98-36=62', '61-13=48'] Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 62+48=110, Resulting Numbers: [110] 110,59 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
[ 3, 38, 2, 94 ]
61
[ "38-3=35", "2+94=96", "96-35=61" ]
Current State: 61:[3, 38, 2, 94], Operations: [] Exploring Operation: 38-3=35, Resulting Numbers: [2, 94, 35] Generated Node #2: [2, 94, 35] from Operation: 38-3=35 Current State: 61:[2, 94, 35], Operations: ['38-3=35'] Exploring Operation: 2+94=96, Resulting Numbers: [35, 96] Generated Node #3: [35, 96] from Operation: 2+94=96 Current State: 61:[35, 96], Operations: ['38-3=35', '2+94=96'] Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[3, 38, 2, 94], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [3, 38, 47] Generated Node #0,0: 61:[3, 38, 47] Operation: 94/2=47 Moving to Node #0,0 Current State: 61:[3, 38, 47], Operations: ['94/2=47'] Exploring Operation: 3+38=41, Resulting Numbers: [47, 41] Generated Node #0,0,0: 61:[47, 41] Operation: 3+38=41 Moving to Node #0,0,0 Current State: 61:[47, 41], Operations: ['94/2=47', '3+38=41'] Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,61 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 5, 86, 12, 1 ]
80
[ "5+86=91", "12-1=11", "91-11=80" ]
Current State: 80:[5, 86, 12, 1], Operations: [] Exploring Operation: 5+86=91, Resulting Numbers: [12, 1, 91] Generated Node #2: [12, 1, 91] from Operation: 5+86=91 Current State: 80:[12, 1, 91], Operations: ['5+86=91'] Exploring Operation: 12-1=11, Resulting Numbers: [91, 11] Generated Node #3: [91, 11] from Operation: 12-1=11 Current State: 80:[91, 11], Operations: ['5+86=91', '12-1=11'] Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[5, 86, 12, 1], Operations: [] Exploring Operation: 86-12=74, Resulting Numbers: [5, 1, 74] Generated Node #0,0: 80:[5, 1, 74] Operation: 86-12=74 Exploring Operation: 86-1=85, Resulting Numbers: [5, 12, 85] Generated Node #0,1: 80:[5, 12, 85] Operation: 86-1=85 Exploring Operation: 86-5=81, Resulting Numbers: [12, 1, 81] Generated Node #0,2: 80:[12, 1, 81] Operation: 86-5=81 Moving to Node #0,2 Current State: 80:[12, 1, 81], Operations: ['86-5=81'] Exploring Operation: 12-1=11, Resulting Numbers: [81, 11] Generated Node #0,2,0: 80:[81, 11] Operation: 12-1=11 Exploring Operation: 81-1=80, Resulting Numbers: [12, 80] Generated Node #0,2,1: 80:[12, 80] Operation: 81-1=80 Exploring Operation: 12*1=12, Resulting Numbers: [81, 12] Generated Node #0,2,2: 80:[81, 12] Operation: 12*1=12 Moving to Node #0,0 Current State: 80:[5, 1, 74], Operations: ['86-12=74'] Exploring Operation: 5+74=79, Resulting Numbers: [1, 79] Generated Node #0,0,0: 80:[1, 79] Operation: 5+74=79 Exploring Operation: 5*1=5, Resulting Numbers: [74, 5] Generated Node #0,0,1: 80:[74, 5] Operation: 5*1=5 Exploring Operation: 1+74=75, Resulting Numbers: [5, 75] Generated Node #0,0,2: 80:[5, 75] Operation: 1+74=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[1, 79], Operations: ['86-12=74', '5+74=79'] Exploring Operation: 1+79=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[5, 86, 12, 1], Operations: [] Exploring Operation: 86-12=74, Resulting Numbers: [5, 1, 74] Generated Node #0,0: 80:[5, 1, 74] Operation: 86-12=74 Moving to Node #0,0 Current State: 80:[5, 1, 74], Operations: ['86-12=74'] Exploring Operation: 5+74=79, Resulting Numbers: [1, 79] Generated Node #0,0,0: 80:[1, 79] Operation: 5+74=79 Moving to Node #0,0,0 Current State: 80:[1, 79], Operations: ['86-12=74', '5+74=79'] Exploring Operation: 1+79=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 81, 80, 58, 66 ]
91
[ "66-58=8", "80/8=10", "81+10=91" ]
Current State: 91:[81, 80, 58, 66], Operations: [] Exploring Operation: 66-58=8, Resulting Numbers: [81, 80, 8] Generated Node #2: [81, 80, 8] from Operation: 66-58=8 Current State: 91:[81, 80, 8], Operations: ['66-58=8'] Exploring Operation: 80/8=10, Resulting Numbers: [81, 10] Generated Node #3: [81, 10] from Operation: 80/8=10 Current State: 91:[81, 10], Operations: ['66-58=8', '80/8=10'] Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[81, 80, 58, 66], Operations: [] Exploring Operation: 66-58=8, Resulting Numbers: [81, 80, 8] Generated Node #0,0: 91:[81, 80, 8] Operation: 66-58=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[81, 80, 8], Operations: ['66-58=8'] Exploring Operation: 81-80=1, Resulting Numbers: [8, 1] Generated Node #0,0,0: 91:[8, 1] Operation: 81-80=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[8, 1], Operations: ['66-58=8', '81-80=1'] Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 90, 88, 79, 67 ]
77
[ "88-79=9", "90/9=10", "67+10=77" ]
Current State: 77:[90, 88, 79, 67], Operations: [] Exploring Operation: 88-79=9, Resulting Numbers: [90, 67, 9] Generated Node #2: [90, 67, 9] from Operation: 88-79=9 Current State: 77:[90, 67, 9], Operations: ['88-79=9'] Exploring Operation: 90/9=10, Resulting Numbers: [67, 10] Generated Node #3: [67, 10] from Operation: 90/9=10 Current State: 77:[67, 10], Operations: ['88-79=9', '90/9=10'] Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[90, 88, 79, 67], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [88, 67, 11] Generated Node #0,0: 77:[88, 67, 11] Operation: 90-79=11 Exploring Operation: 90-88=2, Resulting Numbers: [79, 67, 2] Generated Node #0,1: 77:[79, 67, 2] Operation: 90-88=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[79, 67, 2], Operations: ['90-88=2'] Exploring Operation: 79-2=77, Resulting Numbers: [67, 77] Generated Node #0,1,0: 77:[67, 77] Operation: 79-2=77 Exploring Operation: 79-67=12, Resulting Numbers: [2, 12] Generated Node #0,1,1: 77:[2, 12] Operation: 79-67=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[2, 12], Operations: ['90-88=2', '79-67=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[67, 77], Operations: ['90-88=2', '79-2=77'] Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 67+77=144, Resulting Numbers: [144] 144,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[88, 67, 11], Operations: ['90-79=11'] Exploring Operation: 88-11=77, Resulting Numbers: [67, 77] Generated Node #0,0,0: 77:[67, 77] Operation: 88-11=77 Exploring Operation: 88-67=21, Resulting Numbers: [11, 21] Generated Node #0,0,1: 77:[11, 21] Operation: 88-67=21 Moving to Node #0,0,0 Current State: 77:[67, 77], Operations: ['90-79=11', '88-11=77'] Exploring Operation: 67+77=144, Resulting Numbers: [144] 144,77 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[11, 21], Operations: ['90-79=11', '88-67=21'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,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
mult_heuristic
[ 5, 99, 22, 41 ]
52
[ "5*22=110", "99-41=58", "110-58=52" ]
Current State: 52:[5, 99, 22, 41], Operations: [] Exploring Operation: 5*22=110, Resulting Numbers: [99, 41, 110] Generated Node #2: [99, 41, 110] from Operation: 5*22=110 Current State: 52:[99, 41, 110], Operations: ['5*22=110'] Exploring Operation: 99-41=58, Resulting Numbers: [110, 58] Generated Node #3: [110, 58] from Operation: 99-41=58 Current State: 52:[110, 58], Operations: ['5*22=110', '99-41=58'] Exploring Operation: 110-58=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[5, 99, 22, 41], Operations: [] Exploring Operation: 99-5=94, Resulting Numbers: [22, 41, 94] Generated Node #0,0: 52:[22, 41, 94] Operation: 99-5=94 Exploring Operation: 41-22=19, Resulting Numbers: [5, 99, 19] Generated Node #0,1: 52:[5, 99, 19] Operation: 41-22=19 Exploring Operation: 99-41=58, Resulting Numbers: [5, 22, 58] Generated Node #0,2: 52:[5, 22, 58] Operation: 99-41=58 Exploring Operation: 99-22=77, Resulting Numbers: [5, 41, 77] Generated Node #0,3: 52:[5, 41, 77] Operation: 99-22=77 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[5, 22, 58], Operations: ['99-41=58'] Exploring Operation: 22-5=17, Resulting Numbers: [58, 17] Generated Node #0,2,0: 52:[58, 17] Operation: 22-5=17 Exploring Operation: 5+22=27, Resulting Numbers: [58, 27] Generated Node #0,2,1: 52:[58, 27] Operation: 5+22=27 Exploring Operation: 58-22=36, Resulting Numbers: [5, 36] Generated Node #0,2,2: 52:[5, 36] Operation: 58-22=36 Exploring Operation: 58-5=53, Resulting Numbers: [22, 53] Generated Node #0,2,3: 52:[22, 53] Operation: 58-5=53 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 52:[22, 53], Operations: ['99-41=58', '58-5=53'] Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,52 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 52:[58, 27], Operations: ['99-41=58', '5+22=27'] Exploring Operation: 58+27=85, Resulting Numbers: [85] 85,52 unequal: No Solution Exploring Operation: 58*27=1566, Resulting Numbers: [1566] 1566,52 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[58, 17], Operations: ['99-41=58', '22-5=17'] Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 58+17=75, Resulting Numbers: [75] 75,52 unequal: No Solution Exploring Operation: 58*17=986, Resulting Numbers: [986] 986,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 52:[5, 36], Operations: ['99-41=58', '58-22=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,52 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[5, 41, 77], Operations: ['99-22=77'] Exploring Operation: 77-41=36, Resulting Numbers: [5, 36] Generated Node #0,3,0: 52:[5, 36] Operation: 77-41=36 Exploring Operation: 5+41=46, Resulting Numbers: [77, 46] Generated Node #0,3,1: 52:[77, 46] Operation: 5+41=46 Exploring Operation: 41-5=36, Resulting Numbers: [77, 36] Generated Node #0,3,2: 52:[77, 36] Operation: 41-5=36 Exploring Operation: 77-5=72, Resulting Numbers: [41, 72] Generated Node #0,3,3: 52:[41, 72] Operation: 77-5=72 Moving to Node #0,3,0 Current State: 52:[5, 36], Operations: ['99-22=77', '77-41=36'] Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,52 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[41, 72], Operations: ['99-22=77', '77-5=72'] Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 41*72=2952, Resulting Numbers: [2952] 2952,52 unequal: No Solution Exploring Operation: 41+72=113, Resulting Numbers: [113] 113,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[77, 46], Operations: ['99-22=77', '5+41=46'] Exploring Operation: 77+46=123, Resulting Numbers: [123] 123,52 unequal: No Solution Exploring Operation: 77*46=3542, Resulting Numbers: [3542] 3542,52 unequal: No Solution Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[77, 36], Operations: ['99-22=77', '41-5=36'] Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,52 unequal: No Solution Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,52 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[5, 99, 19], Operations: ['41-22=19'] Exploring Operation: 19-5=14, Resulting Numbers: [99, 14] Generated Node #0,1,0: 52:[99, 14] Operation: 19-5=14 Exploring Operation: 99-19=80, Resulting Numbers: [5, 80] Generated Node #0,1,1: 52:[5, 80] Operation: 99-19=80 Exploring Operation: 99-5=94, Resulting Numbers: [19, 94] Generated Node #0,1,2: 52:[19, 94] Operation: 99-5=94 Exploring Operation: 5+19=24, Resulting Numbers: [99, 24] Generated Node #0,1,3: 52:[99, 24] Operation: 5+19=24 Moving to Node #0,1,1 Current State: 52:[5, 80], Operations: ['41-22=19', '99-19=80'] Exploring Operation: 5*80=400, Resulting Numbers: [400] 400,52 unequal: No Solution Exploring Operation: 5+80=85, Resulting Numbers: [85] 85,52 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,52 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[19, 94], Operations: ['41-22=19', '99-5=94'] Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,52 unequal: No Solution Exploring Operation: 19*94=1786, Resulting Numbers: [1786] 1786,52 unequal: No Solution Exploring Operation: 19+94=113, Resulting Numbers: [113] 113,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[99, 14], Operations: ['41-22=19', '19-5=14'] Exploring Operation: 99*14=1386, Resulting Numbers: [1386] 1386,52 unequal: No Solution Exploring Operation: 99-14=85, Resulting Numbers: [85] 85,52 unequal: No Solution Exploring Operation: 99+14=113, Resulting Numbers: [113] 113,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[99, 24], Operations: ['41-22=19', '5+19=24'] Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,52 unequal: No Solution Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,52 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[22, 41, 94], Operations: ['99-5=94'] Exploring Operation: 22+41=63, Resulting Numbers: [94, 63] Generated Node #0,0,0: 52:[94, 63] Operation: 22+41=63 Exploring Operation: 41-22=19, Resulting Numbers: [94, 19] Generated Node #0,0,1: 52:[94, 19] Operation: 41-22=19 Exploring Operation: 94-41=53, Resulting Numbers: [22, 53] Generated Node #0,0,2: 52:[22, 53] Operation: 94-41=53 Exploring Operation: 94-22=72, Resulting Numbers: [41, 72] Generated Node #0,0,3: 52:[41, 72] Operation: 94-22=72 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[22, 53], Operations: ['99-5=94', '94-41=53'] Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,52 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[41, 72], Operations: ['99-5=94', '94-22=72'] Exploring Operation: 41+72=113, Resulting Numbers: [113] 113,52 unequal: No Solution Exploring Operation: 41*72=2952, Resulting Numbers: [2952] 2952,52 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[94, 19], Operations: ['99-5=94', '41-22=19'] Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,52 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,52 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[94, 63], Operations: ['99-5=94', '22+41=63'] Exploring Operation: 94*63=5922, Resulting Numbers: [5922] 5922,52 unequal: No Solution Exploring Operation: 94+63=157, Resulting Numbers: [157] 157,52 unequal: No Solution Exploring Operation: 94-63=31, Resulting Numbers: [31] 31,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic