Datasets:

nums
listlengths
4
4
target
int64
10
100
solution
listlengths
3
3
optimal_path
stringlengths
282
529
start_size
int64
4
4
search_path
stringlengths
505
16.8k
rating
float64
0
0.99
search_type
stringclasses
5 values
heuristic
stringclasses
2 values
[ 49, 4, 98, 16 ]
83
[ "49+98=147", "4*16=64", "147-64=83" ]
Current State: 83:[49, 4, 98, 16], Operations: [] Exploring Operation: 49+98=147, Resulting Numbers: [4, 16, 147] Generated Node #2: [4, 16, 147] from Operation: 49+98=147 Current State: 83:[4, 16, 147], Operations: ['49+98=147'] Exploring Operation: 4*16=64, Resulting Numbers: [147, 64] Generated Node #3: [147, 64] from Operation: 4*16=64 Current State: 83:[147, 64], Operations: ['49+98=147', '4*16=64'] Exploring Operation: 147-64=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[49, 4, 98, 16], Operations: [] Exploring Operation: 4*16=64, Resulting Numbers: [49, 98, 64] Generated Node #0,0: 83:[49, 98, 64] Operation: 4*16=64 Exploring Operation: 98-4=94, Resulting Numbers: [49, 16, 94] Generated Node #0,1: 83:[49, 16, 94] Operation: 98-4=94 Exploring Operation: 49+16=65, Resulting Numbers: [4, 98, 65] Generated Node #0,2: 83:[4, 98, 65] Operation: 49+16=65 Exploring Operation: 49+4=53, Resulting Numbers: [98, 16, 53] Generated Node #0,3: 83:[98, 16, 53] Operation: 49+4=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[49, 98, 64], Operations: ['4*16=64'] Exploring Operation: 98-49=49, Resulting Numbers: [64, 49] Generated Node #0,0,0: 83:[64, 49] Operation: 98-49=49 Exploring Operation: 49+98=147, Resulting Numbers: [64, 147] Generated Node #0,0,1: 83:[64, 147] Operation: 49+98=147 Exploring Operation: 49+64=113, Resulting Numbers: [98, 113] Generated Node #0,0,2: 83:[98, 113] Operation: 49+64=113 Exploring Operation: 64-49=15, Resulting Numbers: [98, 15] Generated Node #0,0,3: 83:[98, 15] Operation: 64-49=15 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[98, 113], Operations: ['4*16=64', '49+64=113'] Exploring Operation: 98+113=211, Resulting Numbers: [211] 211,83 unequal: No Solution Exploring Operation: 98*113=11074, Resulting Numbers: [11074] 11074,83 unequal: No Solution Exploring Operation: 113-98=15, Resulting Numbers: [15] 15,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[64, 49], Operations: ['4*16=64', '98-49=49'] Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 64+49=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 64*49=3136, Resulting Numbers: [3136] 3136,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[64, 147], Operations: ['4*16=64', '49+98=147'] Exploring Operation: 147-64=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[49, 4, 98, 16], Operations: [] Exploring Operation: 4*16=64, Resulting Numbers: [49, 98, 64] Generated Node #0,0: 83:[49, 98, 64] Operation: 4*16=64 Moving to Node #0,0 Current State: 83:[49, 98, 64], Operations: ['4*16=64'] Exploring Operation: 49+98=147, Resulting Numbers: [64, 147] Generated Node #0,0,1: 83:[64, 147] Operation: 49+98=147 Moving to Node #0,0,1 Current State: 83:[64, 147], Operations: ['4*16=64', '49+98=147'] Exploring Operation: 147-64=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 50, 72, 5, 47 ]
57
[ "50-47=3", "5*3=15", "72-15=57" ]
Current State: 57:[50, 72, 5, 47], Operations: [] Exploring Operation: 50-47=3, Resulting Numbers: [72, 5, 3] Generated Node #2: [72, 5, 3] from Operation: 50-47=3 Current State: 57:[72, 5, 3], Operations: ['50-47=3'] Exploring Operation: 5*3=15, Resulting Numbers: [72, 15] Generated Node #3: [72, 15] from Operation: 5*3=15 Current State: 57:[72, 15], Operations: ['50-47=3', '5*3=15'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[50, 72, 5, 47], Operations: [] Exploring Operation: 72-50=22, Resulting Numbers: [5, 47, 22] Generated Node #0,0: 57:[5, 47, 22] Operation: 72-50=22 Moving to Node #0,0 Current State: 57:[5, 47, 22], Operations: ['72-50=22'] Exploring Operation: 5+47=52, Resulting Numbers: [22, 52] Generated Node #0,0,0: 57:[22, 52] Operation: 5+47=52 Moving to Node #0,0,0 Current State: 57:[22, 52], Operations: ['72-50=22', '5+47=52'] Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,57 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 77, 71, 54, 90 ]
24
[ "77-71=6", "54+90=144", "144/6=24" ]
Current State: 24:[77, 71, 54, 90], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [54, 90, 6] Generated Node #2: [54, 90, 6] from Operation: 77-71=6 Current State: 24:[54, 90, 6], Operations: ['77-71=6'] Exploring Operation: 54+90=144, Resulting Numbers: [6, 144] Generated Node #3: [6, 144] from Operation: 54+90=144 Current State: 24:[6, 144], Operations: ['77-71=6', '54+90=144'] Exploring Operation: 144/6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[77, 71, 54, 90], Operations: [] Exploring Operation: 90-54=36, Resulting Numbers: [77, 71, 36] Generated Node #0,0: 24:[77, 71, 36] Operation: 90-54=36 Exploring Operation: 90-71=19, Resulting Numbers: [77, 54, 19] Generated Node #0,1: 24:[77, 54, 19] Operation: 90-71=19 Exploring Operation: 90-77=13, Resulting Numbers: [71, 54, 13] Generated Node #0,2: 24:[71, 54, 13] Operation: 90-77=13 Exploring Operation: 77-71=6, Resulting Numbers: [54, 90, 6] Generated Node #0,3: 24:[54, 90, 6] Operation: 77-71=6 Moving to Node #0,2 Current State: 24:[71, 54, 13], Operations: ['90-77=13'] Exploring Operation: 71+13=84, Resulting Numbers: [54, 84] Generated Node #0,2,0: 24:[54, 84] Operation: 71+13=84 Exploring Operation: 71-13=58, Resulting Numbers: [54, 58] Generated Node #0,2,1: 24:[54, 58] Operation: 71-13=58 Exploring Operation: 54-13=41, Resulting Numbers: [71, 41] Generated Node #0,2,2: 24:[71, 41] Operation: 54-13=41 Exploring Operation: 71-54=17, Resulting Numbers: [13, 17] Generated Node #0,2,3: 24:[13, 17] Operation: 71-54=17 Moving to Node #0,1 Current State: 24:[77, 54, 19], Operations: ['90-71=19'] Exploring Operation: 77+19=96, Resulting Numbers: [54, 96] Generated Node #0,1,0: 24:[54, 96] Operation: 77+19=96 Exploring Operation: 54-19=35, Resulting Numbers: [77, 35] Generated Node #0,1,1: 24:[77, 35] Operation: 54-19=35 Exploring Operation: 77-19=58, Resulting Numbers: [54, 58] Generated Node #0,1,2: 24:[54, 58] Operation: 77-19=58 Exploring Operation: 77-54=23, Resulting Numbers: [19, 23] Generated Node #0,1,3: 24:[19, 23] Operation: 77-54=23 Moving to Node #0,3 Current State: 24:[54, 90, 6], Operations: ['77-71=6'] Exploring Operation: 90/6=15, Resulting Numbers: [54, 15] Generated Node #0,3,0: 24:[54, 15] Operation: 90/6=15 Exploring Operation: 54/6=9, Resulting Numbers: [90, 9] Generated Node #0,3,1: 24:[90, 9] Operation: 54/6=9 Exploring Operation: 54-6=48, Resulting Numbers: [90, 48] Generated Node #0,3,2: 24:[90, 48] Operation: 54-6=48 Exploring Operation: 90-54=36, Resulting Numbers: [6, 36] Generated Node #0,3,3: 24:[6, 36] Operation: 90-54=36 Moving to Node #0,0 Current State: 24:[77, 71, 36], Operations: ['90-54=36'] Exploring Operation: 77-36=41, Resulting Numbers: [71, 41] Generated Node #0,0,0: 24:[71, 41] Operation: 77-36=41 Exploring Operation: 77+71=148, Resulting Numbers: [36, 148] Generated Node #0,0,1: 24:[36, 148] Operation: 77+71=148 Exploring Operation: 77-71=6, Resulting Numbers: [36, 6] Generated Node #0,0,2: 24:[36, 6] Operation: 77-71=6 Exploring Operation: 71-36=35, Resulting Numbers: [77, 35] Generated Node #0,0,3: 24:[77, 35] Operation: 71-36=35 Moving to Node #0,2,3 Current State: 24:[13, 17], Operations: ['90-77=13', '71-54=17'] Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,24 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[19, 23], Operations: ['90-71=19', '77-54=23'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,24 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[36, 6], Operations: ['90-54=36', '77-71=6'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,24 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[6, 36], Operations: ['77-71=6', '90-54=36'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 6*36=216, Resulting Numbers: [216] 216,24 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[54, 15], Operations: ['77-71=6', '90/6=15'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[54, 58], Operations: ['90-71=19', '77-19=58'] Exploring Operation: 54*58=3132, Resulting Numbers: [3132] 3132,24 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 54+58=112, Resulting Numbers: [112] 112,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[71, 41], Operations: ['90-54=36', '77-36=41'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,24 unequal: No Solution Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[71, 41], Operations: ['90-77=13', '54-13=41'] Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,24 unequal: No Solution Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,24 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[77, 35], Operations: ['90-71=19', '54-19=35'] Exploring Operation: 77*35=2695, Resulting Numbers: [2695] 2695,24 unequal: No Solution Exploring Operation: 77+35=112, Resulting Numbers: [112] 112,24 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[54, 58], Operations: ['90-77=13', '71-13=58'] Exploring Operation: 54+58=112, Resulting Numbers: [112] 112,24 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 54*58=3132, Resulting Numbers: [3132] 3132,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[77, 35], Operations: ['90-54=36', '71-36=35'] Exploring Operation: 77+35=112, Resulting Numbers: [112] 112,24 unequal: No Solution Exploring Operation: 77*35=2695, Resulting Numbers: [2695] 2695,24 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[90, 9], Operations: ['77-71=6', '54/6=9'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,24 unequal: No Solution Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,24 unequal: No Solution Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 90*9=810, Resulting Numbers: [810] 810,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[54, 84], Operations: ['90-77=13', '71+13=84'] Exploring Operation: 54*84=4536, Resulting Numbers: [4536] 4536,24 unequal: No Solution Exploring Operation: 54+84=138, Resulting Numbers: [138] 138,24 unequal: No Solution Exploring Operation: 84-54=30, Resulting Numbers: [30] 30,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[90, 48], Operations: ['77-71=6', '54-6=48'] Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 90*48=4320, Resulting Numbers: [4320] 4320,24 unequal: No Solution Exploring Operation: 90+48=138, Resulting Numbers: [138] 138,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[54, 96], Operations: ['90-71=19', '77+19=96'] Exploring Operation: 54+96=150, Resulting Numbers: [150] 150,24 unequal: No Solution Exploring Operation: 54*96=5184, Resulting Numbers: [5184] 5184,24 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[36, 148], Operations: ['90-54=36', '77+71=148'] Exploring Operation: 36+148=184, Resulting Numbers: [184] 184,24 unequal: No Solution Exploring Operation: 148-36=112, Resulting Numbers: [112] 112,24 unequal: No Solution Exploring Operation: 36*148=5328, Resulting Numbers: [5328] 5328,24 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 61, 45, 36, 91 ]
21
[ "61+45=106", "36+91=127", "127-106=21" ]
Current State: 21:[61, 45, 36, 91], Operations: [] Exploring Operation: 61+45=106, Resulting Numbers: [36, 91, 106] Generated Node #2: [36, 91, 106] from Operation: 61+45=106 Current State: 21:[36, 91, 106], Operations: ['61+45=106'] Exploring Operation: 36+91=127, Resulting Numbers: [106, 127] Generated Node #3: [106, 127] from Operation: 36+91=127 Current State: 21:[106, 127], Operations: ['61+45=106', '36+91=127'] Exploring Operation: 127-106=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[61, 45, 36, 91], Operations: [] Exploring Operation: 91-45=46, Resulting Numbers: [61, 36, 46] Generated Node #0,0: 21:[61, 36, 46] Operation: 91-45=46 Exploring Operation: 61-36=25, Resulting Numbers: [45, 91, 25] Generated Node #0,1: 21:[45, 91, 25] Operation: 61-36=25 Exploring Operation: 91-61=30, Resulting Numbers: [45, 36, 30] Generated Node #0,2: 21:[45, 36, 30] Operation: 91-61=30 Exploring Operation: 61-45=16, Resulting Numbers: [36, 91, 16] Generated Node #0,3: 21:[36, 91, 16] Operation: 61-45=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[45, 36, 30], Operations: ['91-61=30'] Exploring Operation: 36-30=6, Resulting Numbers: [45, 6] Generated Node #0,2,0: 21:[45, 6] Operation: 36-30=6 Exploring Operation: 45-36=9, Resulting Numbers: [30, 9] Generated Node #0,2,1: 21:[30, 9] Operation: 45-36=9 Exploring Operation: 45-30=15, Resulting Numbers: [36, 15] Generated Node #0,2,2: 21:[36, 15] Operation: 45-30=15 Exploring Operation: 45+36=81, Resulting Numbers: [30, 81] Generated Node #0,2,3: 21:[30, 81] Operation: 45+36=81 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 21:[30, 9], Operations: ['91-61=30', '45-36=9'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[61, 45, 36, 91], Operations: [] Exploring Operation: 91-61=30, Resulting Numbers: [45, 36, 30] Generated Node #0,2: 21:[45, 36, 30] Operation: 91-61=30 Moving to Node #0,2 Current State: 21:[45, 36, 30], Operations: ['91-61=30'] Exploring Operation: 45-36=9, Resulting Numbers: [30, 9] Generated Node #0,2,1: 21:[30, 9] Operation: 45-36=9 Moving to Node #0,2,1 Current State: 21:[30, 9], Operations: ['91-61=30', '45-36=9'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 30, 17, 26, 81 ]
16
[ "30-26=4", "81-17=64", "64/4=16" ]
Current State: 16:[30, 17, 26, 81], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [17, 81, 4] Generated Node #2: [17, 81, 4] from Operation: 30-26=4 Current State: 16:[17, 81, 4], Operations: ['30-26=4'] Exploring Operation: 81-17=64, Resulting Numbers: [4, 64] Generated Node #3: [4, 64] from Operation: 81-17=64 Current State: 16:[4, 64], Operations: ['30-26=4', '81-17=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[30, 17, 26, 81], Operations: [] Exploring Operation: 81-30=51, Resulting Numbers: [17, 26, 51] Generated Node #0,0: 16:[17, 26, 51] Operation: 81-30=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[17, 26, 51], Operations: ['81-30=51'] Exploring Operation: 51-26=25, Resulting Numbers: [17, 25] Generated Node #0,0,0: 16:[17, 25] Operation: 51-26=25 Moving to Node #0,0,0 Current State: 16:[17, 25], Operations: ['81-30=51', '51-26=25'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,16 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
[ 63, 62, 56, 6 ]
57
[ "63*56=3528", "6+3528=3534", "3534/62=57" ]
Current State: 57:[63, 62, 56, 6], Operations: [] Exploring Operation: 63*56=3528, Resulting Numbers: [62, 6, 3528] Generated Node #2: [62, 6, 3528] from Operation: 63*56=3528 Current State: 57:[62, 6, 3528], Operations: ['63*56=3528'] Exploring Operation: 6+3528=3534, Resulting Numbers: [62, 3534] Generated Node #3: [62, 3534] from Operation: 6+3528=3534 Current State: 57:[62, 3534], Operations: ['63*56=3528', '6+3528=3534'] Exploring Operation: 3534/62=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[63, 62, 56, 6], Operations: [] Exploring Operation: 63-6=57, Resulting Numbers: [62, 56, 57] Generated Node #0,0: 57:[62, 56, 57] Operation: 63-6=57 Exploring Operation: 63-62=1, Resulting Numbers: [56, 6, 1] Generated Node #0,1: 57:[56, 6, 1] Operation: 63-62=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[62, 56, 57], Operations: ['63-6=57'] Exploring Operation: 62-56=6, Resulting Numbers: [57, 6] Generated Node #0,0,0: 57:[57, 6] Operation: 62-56=6 Exploring Operation: 62-57=5, Resulting Numbers: [56, 5] Generated Node #0,0,1: 57:[56, 5] Operation: 62-57=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[57, 6], Operations: ['63-6=57', '62-56=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,57 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[56, 5], Operations: ['63-6=57', '62-57=5'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[56, 6, 1], Operations: ['63-62=1'] Exploring Operation: 56+1=57, Resulting Numbers: [6, 57] Generated Node #0,1,0: 57:[6, 57] Operation: 56+1=57 Exploring Operation: 6-1=5, Resulting Numbers: [56, 5] Generated Node #0,1,1: 57:[56, 5] Operation: 6-1=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[6, 57], Operations: ['63-62=1', '56+1=57'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 57:[56, 5], Operations: ['63-62=1', '6-1=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 70, 60, 19, 54 ]
76
[ "60+54=114", "114/19=6", "70+6=76" ]
Current State: 76:[70, 60, 19, 54], Operations: [] Exploring Operation: 60+54=114, Resulting Numbers: [70, 19, 114] Generated Node #2: [70, 19, 114] from Operation: 60+54=114 Current State: 76:[70, 19, 114], Operations: ['60+54=114'] Exploring Operation: 114/19=6, Resulting Numbers: [70, 6] Generated Node #3: [70, 6] from Operation: 114/19=6 Current State: 76:[70, 6], Operations: ['60+54=114', '114/19=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[70, 60, 19, 54], Operations: [] Exploring Operation: 70-60=10, Resulting Numbers: [19, 54, 10] Generated Node #0,0: 76:[19, 54, 10] Operation: 70-60=10 Exploring Operation: 60-54=6, Resulting Numbers: [70, 19, 6] Generated Node #0,1: 76:[70, 19, 6] Operation: 60-54=6 Exploring Operation: 70-54=16, Resulting Numbers: [60, 19, 16] Generated Node #0,2: 76:[60, 19, 16] Operation: 70-54=16 Moving to Node #0,1 Current State: 76:[70, 19, 6], Operations: ['60-54=6'] Exploring Operation: 70-6=64, Resulting Numbers: [19, 64] Generated Node #0,1,0: 76:[19, 64] Operation: 70-6=64 Exploring Operation: 19+6=25, Resulting Numbers: [70, 25] Generated Node #0,1,1: 76:[70, 25] Operation: 19+6=25 Exploring Operation: 70+6=76, Resulting Numbers: [19, 76] Generated Node #0,1,2: 76:[19, 76] Operation: 70+6=76 Moving to Node #0,2 Current State: 76:[60, 19, 16], Operations: ['70-54=16'] Exploring Operation: 60+19=79, Resulting Numbers: [16, 79] Generated Node #0,2,0: 76:[16, 79] Operation: 60+19=79 Exploring Operation: 60-19=41, Resulting Numbers: [16, 41] Generated Node #0,2,1: 76:[16, 41] Operation: 60-19=41 Exploring Operation: 60+16=76, Resulting Numbers: [19, 76] Generated Node #0,2,2: 76:[19, 76] Operation: 60+16=76 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[19, 76], Operations: ['70-54=16', '60+16=76'] Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[16, 79], Operations: ['70-54=16', '60+19=79'] Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 16*79=1264, Resulting Numbers: [1264] 1264,76 unequal: No Solution Exploring Operation: 16+79=95, Resulting Numbers: [95] 95,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[16, 41], Operations: ['70-54=16', '60-19=41'] Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,76 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,76 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,76 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: 76:[19, 54, 10], Operations: ['70-60=10'] Exploring Operation: 54-19=35, Resulting Numbers: [10, 35] Generated Node #0,0,0: 76:[10, 35] Operation: 54-19=35 Exploring Operation: 19+54=73, Resulting Numbers: [10, 73] Generated Node #0,0,1: 76:[10, 73] Operation: 19+54=73 Exploring Operation: 54-10=44, Resulting Numbers: [19, 44] Generated Node #0,0,2: 76:[19, 44] Operation: 54-10=44 Moving to Node #0,1,2 Current State: 76:[19, 76], Operations: ['60-54=6', '70+6=76'] Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[19, 44], Operations: ['70-60=10', '54-10=44'] Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,76 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[10, 73], Operations: ['70-60=10', '19+54=73'] Exploring Operation: 10*73=730, Resulting Numbers: [730] 730,76 unequal: No Solution Exploring Operation: 10+73=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[10, 35], Operations: ['70-60=10', '54-19=35'] Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,76 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[19, 64], Operations: ['60-54=6', '70-6=64'] Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 19*64=1216, Resulting Numbers: [1216] 1216,76 unequal: No Solution Exploring Operation: 19+64=83, Resulting Numbers: [83] 83,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[70, 25], Operations: ['60-54=6', '19+6=25'] Exploring Operation: 70*25=1750, Resulting Numbers: [1750] 1750,76 unequal: No Solution Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 70+25=95, Resulting Numbers: [95] 95,76 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 63, 2, 45, 48 ]
30
[ "63+45=108", "108-48=60", "60/2=30" ]
Current State: 30:[63, 2, 45, 48], Operations: [] Exploring Operation: 63+45=108, Resulting Numbers: [2, 48, 108] Generated Node #2: [2, 48, 108] from Operation: 63+45=108 Current State: 30:[2, 48, 108], Operations: ['63+45=108'] Exploring Operation: 108-48=60, Resulting Numbers: [2, 60] Generated Node #3: [2, 60] from Operation: 108-48=60 Current State: 30:[2, 60], Operations: ['63+45=108', '108-48=60'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[63, 2, 45, 48], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [2, 45, 15] Generated Node #0,0: 30:[2, 45, 15] Operation: 63-48=15 Moving to Node #0,0 Current State: 30:[2, 45, 15], Operations: ['63-48=15'] Exploring Operation: 45-15=30, Resulting Numbers: [2, 30] Generated Node #0,0,0: 30:[2, 30] Operation: 45-15=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[2, 30], Operations: ['63-48=15', '45-15=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,30 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
[ 30, 1, 65, 11 ]
62
[ "11-1=10", "30/10=3", "65-3=62" ]
Current State: 62:[30, 1, 65, 11], Operations: [] Exploring Operation: 11-1=10, Resulting Numbers: [30, 65, 10] Generated Node #2: [30, 65, 10] from Operation: 11-1=10 Current State: 62:[30, 65, 10], Operations: ['11-1=10'] Exploring Operation: 30/10=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 30/10=3 Current State: 62:[65, 3], Operations: ['11-1=10', '30/10=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[30, 1, 65, 11], Operations: [] Exploring Operation: 65-11=54, Resulting Numbers: [30, 1, 54] Generated Node #0,0: 62:[30, 1, 54] Operation: 65-11=54 Moving to Node #0,0 Current State: 62:[30, 1, 54], Operations: ['65-11=54'] Exploring Operation: 30+1=31, Resulting Numbers: [54, 31] Generated Node #0,0,0: 62:[54, 31] Operation: 30+1=31 Moving to Node #0,0,0 Current State: 62:[54, 31], Operations: ['65-11=54', '30+1=31'] Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,62 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 69, 80, 58, 44 ]
88
[ "80+58=138", "138/69=2", "44*2=88" ]
Current State: 88:[69, 80, 58, 44], Operations: [] Exploring Operation: 80+58=138, Resulting Numbers: [69, 44, 138] Generated Node #2: [69, 44, 138] from Operation: 80+58=138 Current State: 88:[69, 44, 138], Operations: ['80+58=138'] Exploring Operation: 138/69=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 138/69=2 Current State: 88:[44, 2], Operations: ['80+58=138', '138/69=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[69, 80, 58, 44], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [80, 44, 11] Generated Node #0,0: 88:[80, 44, 11] Operation: 69-58=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[80, 44, 11], Operations: ['69-58=11'] Exploring Operation: 80+11=91, Resulting Numbers: [44, 91] Generated Node #0,0,0: 88:[44, 91] Operation: 80+11=91 Moving to Node #0,0,0 Current State: 88:[44, 91], Operations: ['69-58=11', '80+11=91'] Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,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
[ 13, 18, 78, 22 ]
51
[ "18-13=5", "78-22=56", "56-5=51" ]
Current State: 51:[13, 18, 78, 22], Operations: [] Exploring Operation: 18-13=5, Resulting Numbers: [78, 22, 5] Generated Node #2: [78, 22, 5] from Operation: 18-13=5 Current State: 51:[78, 22, 5], Operations: ['18-13=5'] Exploring Operation: 78-22=56, Resulting Numbers: [5, 56] Generated Node #3: [5, 56] from Operation: 78-22=56 Current State: 51:[5, 56], Operations: ['18-13=5', '78-22=56'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[13, 18, 78, 22], Operations: [] Exploring Operation: 78/13=6, Resulting Numbers: [18, 22, 6] Generated Node #0,0: 51:[18, 22, 6] Operation: 78/13=6 Exploring Operation: 78-18=60, Resulting Numbers: [13, 22, 60] Generated Node #0,1: 51:[13, 22, 60] Operation: 78-18=60 Exploring Operation: 78-22=56, Resulting Numbers: [13, 18, 56] Generated Node #0,2: 51:[13, 18, 56] Operation: 78-22=56 Moving to Node #0,0 Current State: 51:[18, 22, 6], Operations: ['78/13=6'] Exploring Operation: 22-18=4, Resulting Numbers: [6, 4] Generated Node #0,0,0: 51:[6, 4] Operation: 22-18=4 Exploring Operation: 22-6=16, Resulting Numbers: [18, 16] Generated Node #0,0,1: 51:[18, 16] Operation: 22-6=16 Exploring Operation: 18/6=3, Resulting Numbers: [22, 3] Generated Node #0,0,2: 51:[22, 3] Operation: 18/6=3 Moving to Node #0,2 Current State: 51:[13, 18, 56], Operations: ['78-22=56'] Exploring Operation: 18-13=5, Resulting Numbers: [56, 5] Generated Node #0,2,0: 51:[56, 5] Operation: 18-13=5 Exploring Operation: 56-13=43, Resulting Numbers: [18, 43] Generated Node #0,2,1: 51:[18, 43] Operation: 56-13=43 Exploring Operation: 56-18=38, Resulting Numbers: [13, 38] Generated Node #0,2,2: 51:[13, 38] Operation: 56-18=38 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[56, 5], Operations: ['78-22=56', '18-13=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,51 unequal: No Solution Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,51 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[13, 18, 78, 22], Operations: [] Exploring Operation: 78-22=56, Resulting Numbers: [13, 18, 56] Generated Node #0,2: 51:[13, 18, 56] Operation: 78-22=56 Moving to Node #0,2 Current State: 51:[13, 18, 56], Operations: ['78-22=56'] Exploring Operation: 18-13=5, Resulting Numbers: [56, 5] Generated Node #0,2,0: 51:[56, 5] Operation: 18-13=5 Moving to Node #0,2,0 Current State: 51:[56, 5], Operations: ['78-22=56', '18-13=5'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 33, 83, 48, 25 ]
50
[ "83-33=50", "50-48=2", "25*2=50" ]
Current State: 50:[33, 83, 48, 25], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [48, 25, 50] Generated Node #2: [48, 25, 50] from Operation: 83-33=50 Current State: 50:[48, 25, 50], Operations: ['83-33=50'] Exploring Operation: 50-48=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 50-48=2 Current State: 50:[25, 2], Operations: ['83-33=50', '50-48=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[33, 83, 48, 25], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [48, 25, 50] Generated Node #0,0: 50:[48, 25, 50] Operation: 83-33=50 Moving to Node #0,0 Current State: 50:[48, 25, 50], Operations: ['83-33=50'] Exploring Operation: 50-48=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 50:[25, 2] Operation: 50-48=2 Moving to Node #0,0,0 Current State: 50:[25, 2], Operations: ['83-33=50', '50-48=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[33, 83, 48, 25], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [48, 25, 50] Generated Node #0,0: 50:[48, 25, 50] Operation: 83-33=50 Moving to Node #0,0 Current State: 50:[48, 25, 50], Operations: ['83-33=50'] Exploring Operation: 50-48=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 50:[25, 2] Operation: 50-48=2 Moving to Node #0,0,0 Current State: 50:[25, 2], Operations: ['83-33=50', '50-48=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 1, 39, 77, 29 ]
86
[ "39-1=38", "77-29=48", "38+48=86" ]
Current State: 86:[1, 39, 77, 29], Operations: [] Exploring Operation: 39-1=38, Resulting Numbers: [77, 29, 38] Generated Node #2: [77, 29, 38] from Operation: 39-1=38 Current State: 86:[77, 29, 38], Operations: ['39-1=38'] Exploring Operation: 77-29=48, Resulting Numbers: [38, 48] Generated Node #3: [38, 48] from Operation: 77-29=48 Current State: 86:[38, 48], Operations: ['39-1=38', '77-29=48'] Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[1, 39, 77, 29], Operations: [] Exploring Operation: 39-29=10, Resulting Numbers: [1, 77, 10] Generated Node #0,0: 86:[1, 77, 10] Operation: 39-29=10 Exploring Operation: 77-39=38, Resulting Numbers: [1, 29, 38] Generated Node #0,1: 86:[1, 29, 38] Operation: 77-39=38 Exploring Operation: 1+39=40, Resulting Numbers: [77, 29, 40] Generated Node #0,2: 86:[77, 29, 40] Operation: 1+39=40 Exploring Operation: 77-29=48, Resulting Numbers: [1, 39, 48] Generated Node #0,3: 86:[1, 39, 48] Operation: 77-29=48 Exploring Operation: 77+29=106, Resulting Numbers: [1, 39, 106] Generated Node #0,4: 86:[1, 39, 106] Operation: 77+29=106 Moving to Node #0,3 Current State: 86:[1, 39, 48], Operations: ['77-29=48'] Exploring Operation: 39+48=87, Resulting Numbers: [1, 87] Generated Node #0,3,0: 86:[1, 87] Operation: 39+48=87 Exploring Operation: 1*39=39, Resulting Numbers: [48, 39] Generated Node #0,3,1: 86:[48, 39] Operation: 1*39=39 Exploring Operation: 1+39=40, Resulting Numbers: [48, 40] Generated Node #0,3,2: 86:[48, 40] Operation: 1+39=40 Exploring Operation: 48-39=9, Resulting Numbers: [1, 9] Generated Node #0,3,3: 86:[1, 9] Operation: 48-39=9 Exploring Operation: 48-1=47, Resulting Numbers: [39, 47] Generated Node #0,3,4: 86:[39, 47] Operation: 48-1=47 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[1, 87], Operations: ['77-29=48', '39+48=87'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[1, 39, 77, 29], Operations: [] Exploring Operation: 77-29=48, Resulting Numbers: [1, 39, 48] Generated Node #0,3: 86:[1, 39, 48] Operation: 77-29=48 Moving to Node #0,3 Current State: 86:[1, 39, 48], Operations: ['77-29=48'] Exploring Operation: 39+48=87, Resulting Numbers: [1, 87] Generated Node #0,3,0: 86:[1, 87] Operation: 39+48=87 Moving to Node #0,3,0 Current State: 86:[1, 87], Operations: ['77-29=48', '39+48=87'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 41, 24, 13, 76 ]
37
[ "76-24=52", "52/13=4", "41-4=37" ]
Current State: 37:[41, 24, 13, 76], Operations: [] Exploring Operation: 76-24=52, Resulting Numbers: [41, 13, 52] Generated Node #2: [41, 13, 52] from Operation: 76-24=52 Current State: 37:[41, 13, 52], Operations: ['76-24=52'] Exploring Operation: 52/13=4, Resulting Numbers: [41, 4] Generated Node #3: [41, 4] from Operation: 52/13=4 Current State: 37:[41, 4], Operations: ['76-24=52', '52/13=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[41, 24, 13, 76], Operations: [] Exploring Operation: 76-41=35, Resulting Numbers: [24, 13, 35] Generated Node #0,0: 37:[24, 13, 35] Operation: 76-41=35 Exploring Operation: 24+13=37, Resulting Numbers: [41, 76, 37] Generated Node #0,1: 37:[41, 76, 37] Operation: 24+13=37 Exploring Operation: 76-24=52, Resulting Numbers: [41, 13, 52] Generated Node #0,2: 37:[41, 13, 52] Operation: 76-24=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[24, 13, 35], Operations: ['76-41=35'] Exploring Operation: 24+13=37, Resulting Numbers: [35, 37] Generated Node #0,0,0: 37:[35, 37] Operation: 24+13=37 Exploring Operation: 24-13=11, Resulting Numbers: [35, 11] Generated Node #0,0,1: 37:[35, 11] Operation: 24-13=11 Exploring Operation: 13+35=48, Resulting Numbers: [24, 48] Generated Node #0,0,2: 37:[24, 48] Operation: 13+35=48 Moving to Node #0,0,0 Current State: 37:[35, 37], Operations: ['76-41=35', '24+13=37'] Exploring Operation: 35*37=1295, Resulting Numbers: [1295] 1295,37 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[24, 48], Operations: ['76-41=35', '13+35=48'] Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[35, 11], Operations: ['76-41=35', '24-13=11'] Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[41, 76, 37], Operations: ['24+13=37'] Exploring Operation: 76-41=35, Resulting Numbers: [37, 35] Generated Node #0,1,0: 37:[37, 35] Operation: 76-41=35 Exploring Operation: 76-37=39, Resulting Numbers: [41, 39] Generated Node #0,1,1: 37:[41, 39] Operation: 76-37=39 Exploring Operation: 41-37=4, Resulting Numbers: [76, 4] Generated Node #0,1,2: 37:[76, 4] Operation: 41-37=4 Moving to Node #0,1,0 Current State: 37:[37, 35], Operations: ['24+13=37', '76-41=35'] Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[41, 39], Operations: ['24+13=37', '76-37=39'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,37 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[76, 4], Operations: ['24+13=37', '41-37=4'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[41, 13, 52], Operations: ['76-24=52'] Exploring Operation: 41-13=28, Resulting Numbers: [52, 28] Generated Node #0,2,0: 37:[52, 28] Operation: 41-13=28 Exploring Operation: 41+13=54, Resulting Numbers: [52, 54] Generated Node #0,2,1: 37:[52, 54] Operation: 41+13=54 Exploring Operation: 52-13=39, Resulting Numbers: [41, 39] Generated Node #0,2,2: 37:[41, 39] Operation: 52-13=39 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[41, 39], Operations: ['76-24=52', '52-13=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,37 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,37 unequal: No Solution No 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: 37:[52, 28], Operations: ['76-24=52', '41-13=28'] Exploring Operation: 52+28=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 52*28=1456, Resulting Numbers: [1456] 1456,37 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,37 unequal: No Solution No 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: 37:[52, 54], Operations: ['76-24=52', '41+13=54'] Exploring Operation: 52+54=106, Resulting Numbers: [106] 106,37 unequal: No Solution Exploring Operation: 54-52=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 52*54=2808, Resulting Numbers: [2808] 2808,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 14, 55, 93, 58 ]
45
[ "58-55=3", "93/3=31", "14+31=45" ]
Current State: 45:[14, 55, 93, 58], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [14, 93, 3] Generated Node #2: [14, 93, 3] from Operation: 58-55=3 Current State: 45:[14, 93, 3], Operations: ['58-55=3'] Exploring Operation: 93/3=31, Resulting Numbers: [14, 31] Generated Node #3: [14, 31] from Operation: 93/3=31 Current State: 45:[14, 31], Operations: ['58-55=3', '93/3=31'] Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[14, 55, 93, 58], Operations: [] Exploring Operation: 93-55=38, Resulting Numbers: [14, 58, 38] Generated Node #0,0: 45:[14, 58, 38] Operation: 93-55=38 Exploring Operation: 93-58=35, Resulting Numbers: [14, 55, 35] Generated Node #0,1: 45:[14, 55, 35] Operation: 93-58=35 Moving to Node #0,0 Current State: 45:[14, 58, 38], Operations: ['93-55=38'] Exploring Operation: 58-38=20, Resulting Numbers: [14, 20] Generated Node #0,0,0: 45:[14, 20] Operation: 58-38=20 Exploring Operation: 58-14=44, Resulting Numbers: [38, 44] Generated Node #0,0,1: 45:[38, 44] Operation: 58-14=44 Moving to Node #0,1 Current State: 45:[14, 55, 35], Operations: ['93-58=35'] Exploring Operation: 55-14=41, Resulting Numbers: [35, 41] Generated Node #0,1,0: 45:[35, 41] Operation: 55-14=41 Exploring Operation: 55-35=20, Resulting Numbers: [14, 20] Generated Node #0,1,1: 45:[14, 20] Operation: 55-35=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[14, 20], Operations: ['93-58=35', '55-35=20'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[35, 41], Operations: ['93-58=35', '55-14=41'] Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,45 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,45 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: 45:[14, 20], Operations: ['93-55=38', '58-38=20'] Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[38, 44], Operations: ['93-55=38', '58-14=44'] Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 3, 13, 35, 66 ]
44
[ "66/3=22", "35-13=22", "22+22=44" ]
Current State: 44:[3, 13, 35, 66], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [13, 35, 22] Generated Node #2: [13, 35, 22] from Operation: 66/3=22 Current State: 44:[13, 35, 22], Operations: ['66/3=22'] Exploring Operation: 35-13=22, Resulting Numbers: [22, 22] Generated Node #3: [22, 22] from Operation: 35-13=22 Current State: 44:[22, 22], Operations: ['66/3=22', '35-13=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[3, 13, 35, 66], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [3, 13, 31] Generated Node #0,0: 44:[3, 13, 31] Operation: 66-35=31 Exploring Operation: 66-13=53, Resulting Numbers: [3, 35, 53] Generated Node #0,1: 44:[3, 35, 53] Operation: 66-13=53 Exploring Operation: 35-13=22, Resulting Numbers: [3, 66, 22] Generated Node #0,2: 44:[3, 66, 22] Operation: 35-13=22 Exploring Operation: 66/3=22, Resulting Numbers: [13, 35, 22] Generated Node #0,3: 44:[13, 35, 22] Operation: 66/3=22 Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[13, 35, 22], Operations: ['66/3=22'] Exploring Operation: 35-13=22, Resulting Numbers: [22, 22] Generated Node #0,3,0: 44:[22, 22] Operation: 35-13=22 Exploring Operation: 13+35=48, Resulting Numbers: [22, 48] Generated Node #0,3,1: 44:[22, 48] Operation: 13+35=48 Exploring Operation: 22-13=9, Resulting Numbers: [35, 9] Generated Node #0,3,2: 44:[35, 9] Operation: 22-13=9 Exploring Operation: 35-22=13, Resulting Numbers: [13, 13] Generated Node #0,3,3: 44:[13, 13] Operation: 35-22=13 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 44:[22, 22], Operations: ['66/3=22', '35-13=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[3, 13, 35, 66], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [13, 35, 22] Generated Node #0,3: 44:[13, 35, 22] Operation: 66/3=22 Moving to Node #0,3 Current State: 44:[13, 35, 22], Operations: ['66/3=22'] Exploring Operation: 35-13=22, Resulting Numbers: [22, 22] Generated Node #0,3,0: 44:[22, 22] Operation: 35-13=22 Moving to Node #0,3,0 Current State: 44:[22, 22], Operations: ['66/3=22', '35-13=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 8, 29, 59, 42 ]
53
[ "29+59=88", "88/8=11", "42+11=53" ]
Current State: 53:[8, 29, 59, 42], Operations: [] Exploring Operation: 29+59=88, Resulting Numbers: [8, 42, 88] Generated Node #2: [8, 42, 88] from Operation: 29+59=88 Current State: 53:[8, 42, 88], Operations: ['29+59=88'] Exploring Operation: 88/8=11, Resulting Numbers: [42, 11] Generated Node #3: [42, 11] from Operation: 88/8=11 Current State: 53:[42, 11], Operations: ['29+59=88', '88/8=11'] Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[8, 29, 59, 42], Operations: [] Exploring Operation: 8+29=37, Resulting Numbers: [59, 42, 37] Generated Node #0,0: 53:[59, 42, 37] Operation: 8+29=37 Exploring Operation: 59-8=51, Resulting Numbers: [29, 42, 51] Generated Node #0,1: 53:[29, 42, 51] Operation: 59-8=51 Exploring Operation: 8+42=50, Resulting Numbers: [29, 59, 50] Generated Node #0,2: 53:[29, 59, 50] Operation: 8+42=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[59, 42, 37], Operations: ['8+29=37'] Exploring Operation: 42+37=79, Resulting Numbers: [59, 79] Generated Node #0,0,0: 53:[59, 79] Operation: 42+37=79 Exploring Operation: 59-37=22, Resulting Numbers: [42, 22] Generated Node #0,0,1: 53:[42, 22] Operation: 59-37=22 Exploring Operation: 59-42=17, Resulting Numbers: [37, 17] Generated Node #0,0,2: 53:[37, 17] Operation: 59-42=17 Moving to Node #0,0,0 Current State: 53:[59, 79], Operations: ['8+29=37', '42+37=79'] Exploring Operation: 59+79=138, Resulting Numbers: [138] 138,53 unequal: No Solution Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 59*79=4661, Resulting Numbers: [4661] 4661,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[42, 22], Operations: ['8+29=37', '59-37=22'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,53 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[37, 17], Operations: ['8+29=37', '59-42=17'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[29, 59, 50], Operations: ['8+42=50'] Exploring Operation: 29+59=88, Resulting Numbers: [50, 88] Generated Node #0,2,0: 53:[50, 88] Operation: 29+59=88 Exploring Operation: 29+50=79, Resulting Numbers: [59, 79] Generated Node #0,2,1: 53:[59, 79] Operation: 29+50=79 Exploring Operation: 59-29=30, Resulting Numbers: [50, 30] Generated Node #0,2,2: 53:[50, 30] Operation: 59-29=30 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[50, 30], Operations: ['8+42=50', '59-29=30'] Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[59, 79], Operations: ['8+42=50', '29+50=79'] Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 59*79=4661, Resulting Numbers: [4661] 4661,53 unequal: No Solution Exploring Operation: 59+79=138, Resulting Numbers: [138] 138,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[50, 88], Operations: ['8+42=50', '29+59=88'] Exploring Operation: 50+88=138, Resulting Numbers: [138] 138,53 unequal: No Solution Exploring Operation: 50*88=4400, Resulting Numbers: [4400] 4400,53 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[29, 42, 51], Operations: ['59-8=51'] Exploring Operation: 42-29=13, Resulting Numbers: [51, 13] Generated Node #0,1,0: 53:[51, 13] Operation: 42-29=13 Exploring Operation: 29+42=71, Resulting Numbers: [51, 71] Generated Node #0,1,1: 53:[51, 71] Operation: 29+42=71 Exploring Operation: 29+51=80, Resulting Numbers: [42, 80] Generated Node #0,1,2: 53:[42, 80] Operation: 29+51=80 Moving to Node #0,1,1 Current State: 53:[51, 71], Operations: ['59-8=51', '29+42=71'] Exploring Operation: 51+71=122, Resulting Numbers: [122] 122,53 unequal: No Solution Exploring Operation: 51*71=3621, Resulting Numbers: [3621] 3621,53 unequal: No Solution Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[42, 80], Operations: ['59-8=51', '29+51=80'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,53 unequal: No Solution Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[51, 13], Operations: ['59-8=51', '42-29=13'] Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,53 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 65, 87, 6, 6 ]
10
[ "87-65=22", "6+6=12", "22-12=10" ]
Current State: 10:[65, 87, 6, 6], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [6, 6, 22] Generated Node #2: [6, 6, 22] from Operation: 87-65=22 Current State: 10:[6, 6, 22], Operations: ['87-65=22'] Exploring Operation: 6+6=12, Resulting Numbers: [22, 12] Generated Node #3: [22, 12] from Operation: 6+6=12 Current State: 10:[22, 12], Operations: ['87-65=22', '6+6=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[65, 87, 6, 6], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [6, 6, 22] Generated Node #0,0: 10:[6, 6, 22] Operation: 87-65=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[6, 6, 22], Operations: ['87-65=22'] Exploring Operation: 22-6=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 10:[6, 16] Operation: 22-6=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[6, 16], Operations: ['87-65=22', '22-6=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[65, 87, 6, 6], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [6, 6, 22] Generated Node #0,0: 10:[6, 6, 22] Operation: 87-65=22 Moving to Node #0,0 Current State: 10:[6, 6, 22], Operations: ['87-65=22'] Exploring Operation: 22-6=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 10:[6, 16] Operation: 22-6=16 Moving to Node #0,0,0 Current State: 10:[6, 16], Operations: ['87-65=22', '22-6=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 30, 85, 14, 86 ]
89
[ "86-30=56", "56/14=4", "85+4=89" ]
Current State: 89:[30, 85, 14, 86], Operations: [] Exploring Operation: 86-30=56, Resulting Numbers: [85, 14, 56] Generated Node #2: [85, 14, 56] from Operation: 86-30=56 Current State: 89:[85, 14, 56], Operations: ['86-30=56'] Exploring Operation: 56/14=4, Resulting Numbers: [85, 4] Generated Node #3: [85, 4] from Operation: 56/14=4 Current State: 89:[85, 4], Operations: ['86-30=56', '56/14=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[30, 85, 14, 86], Operations: [] Exploring Operation: 30+14=44, Resulting Numbers: [85, 86, 44] Generated Node #0,0: 89:[85, 86, 44] Operation: 30+14=44 Exploring Operation: 85+14=99, Resulting Numbers: [30, 86, 99] Generated Node #0,1: 89:[30, 86, 99] Operation: 85+14=99 Exploring Operation: 30-14=16, Resulting Numbers: [85, 86, 16] Generated Node #0,2: 89:[85, 86, 16] Operation: 30-14=16 Exploring Operation: 14+86=100, Resulting Numbers: [30, 85, 100] Generated Node #0,3: 89:[30, 85, 100] Operation: 14+86=100 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[85, 86, 44], Operations: ['30+14=44'] Exploring Operation: 85-44=41, Resulting Numbers: [86, 41] Generated Node #0,0,0: 89:[86, 41] Operation: 85-44=41 Exploring Operation: 86+44=130, Resulting Numbers: [85, 130] Generated Node #0,0,1: 89:[85, 130] Operation: 86+44=130 Exploring Operation: 86-44=42, Resulting Numbers: [85, 42] Generated Node #0,0,2: 89:[85, 42] Operation: 86-44=42 Exploring Operation: 85+44=129, Resulting Numbers: [86, 129] Generated Node #0,0,3: 89:[86, 129] Operation: 85+44=129 Moving to Node #0,0,3 Current State: 89:[86, 129], Operations: ['30+14=44', '85+44=129'] Exploring Operation: 129-86=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 86+129=215, Resulting Numbers: [215] 215,89 unequal: No Solution Exploring Operation: 86*129=11094, Resulting Numbers: [11094] 11094,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[85, 130], Operations: ['30+14=44', '86+44=130'] Exploring Operation: 85+130=215, Resulting Numbers: [215] 215,89 unequal: No Solution Exploring Operation: 85*130=11050, Resulting Numbers: [11050] 11050,89 unequal: No Solution Exploring Operation: 130-85=45, Resulting Numbers: [45] 45,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[85, 42], Operations: ['30+14=44', '86-44=42'] Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,89 unequal: No Solution Exploring Operation: 85*42=3570, Resulting Numbers: [3570] 3570,89 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[86, 41], Operations: ['30+14=44', '85-44=41'] Exploring Operation: 86+41=127, Resulting Numbers: [127] 127,89 unequal: No Solution Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 86*41=3526, Resulting Numbers: [3526] 3526,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[30, 86, 99], Operations: ['85+14=99'] Exploring Operation: 86-30=56, Resulting Numbers: [99, 56] Generated Node #0,1,0: 89:[99, 56] Operation: 86-30=56 Exploring Operation: 30+86=116, Resulting Numbers: [99, 116] Generated Node #0,1,1: 89:[99, 116] Operation: 30+86=116 Exploring Operation: 30+99=129, Resulting Numbers: [86, 129] Generated Node #0,1,2: 89:[86, 129] Operation: 30+99=129 Exploring Operation: 99-30=69, Resulting Numbers: [86, 69] Generated Node #0,1,3: 89:[86, 69] Operation: 99-30=69 Moving to Node #0,1,3 Current State: 89:[86, 69], Operations: ['85+14=99', '99-30=69'] Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 86+69=155, Resulting Numbers: [155] 155,89 unequal: No Solution Exploring Operation: 86*69=5934, Resulting Numbers: [5934] 5934,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[99, 116], Operations: ['85+14=99', '30+86=116'] Exploring Operation: 99*116=11484, Resulting Numbers: [11484] 11484,89 unequal: No Solution Exploring Operation: 116-99=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 99+116=215, Resulting Numbers: [215] 215,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[86, 129], Operations: ['85+14=99', '30+99=129'] Exploring Operation: 129-86=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 86*129=11094, Resulting Numbers: [11094] 11094,89 unequal: No Solution Exploring Operation: 86+129=215, Resulting Numbers: [215] 215,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[99, 56], Operations: ['85+14=99', '86-30=56'] Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 99*56=5544, Resulting Numbers: [5544] 5544,89 unequal: No Solution Exploring Operation: 99+56=155, Resulting Numbers: [155] 155,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[30, 85, 100], Operations: ['14+86=100'] Exploring Operation: 85-30=55, Resulting Numbers: [100, 55] Generated Node #0,3,0: 89:[100, 55] Operation: 85-30=55 Exploring Operation: 100-30=70, Resulting Numbers: [85, 70] Generated Node #0,3,1: 89:[85, 70] Operation: 100-30=70 Exploring Operation: 30+100=130, Resulting Numbers: [85, 130] Generated Node #0,3,2: 89:[85, 130] Operation: 30+100=130 Exploring Operation: 30+85=115, Resulting Numbers: [100, 115] Generated Node #0,3,3: 89:[100, 115] Operation: 30+85=115 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 89:[85, 70], Operations: ['14+86=100', '100-30=70'] Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 85*70=5950, Resulting Numbers: [5950] 5950,89 unequal: No Solution Exploring Operation: 85+70=155, Resulting Numbers: [155] 155,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 89:[100, 115], Operations: ['14+86=100', '30+85=115'] Exploring Operation: 100+115=215, Resulting Numbers: [215] 215,89 unequal: No Solution Exploring Operation: 115-100=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 100*115=11500, Resulting Numbers: [11500] 11500,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 89:[100, 55], Operations: ['14+86=100', '85-30=55'] Exploring Operation: 100+55=155, Resulting Numbers: [155] 155,89 unequal: No Solution Exploring Operation: 100-55=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 100*55=5500, Resulting Numbers: [5500] 5500,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 89:[85, 130], Operations: ['14+86=100', '30+100=130'] Exploring Operation: 85*130=11050, Resulting Numbers: [11050] 11050,89 unequal: No Solution Exploring Operation: 85+130=215, Resulting Numbers: [215] 215,89 unequal: No Solution Exploring Operation: 130-85=45, Resulting Numbers: [45] 45,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[85, 86, 16], Operations: ['30-14=16'] Exploring Operation: 86-16=70, Resulting Numbers: [85, 70] Generated Node #0,2,0: 89:[85, 70] Operation: 86-16=70 Exploring Operation: 85-16=69, Resulting Numbers: [86, 69] Generated Node #0,2,1: 89:[86, 69] Operation: 85-16=69 Exploring Operation: 85+16=101, Resulting Numbers: [86, 101] Generated Node #0,2,2: 89:[86, 101] Operation: 85+16=101 Exploring Operation: 86+16=102, Resulting Numbers: [85, 102] Generated Node #0,2,3: 89:[85, 102] Operation: 86+16=102 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[86, 101], Operations: ['30-14=16', '85+16=101'] Exploring Operation: 86+101=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 101-86=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 86*101=8686, Resulting Numbers: [8686] 8686,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 89:[85, 102], Operations: ['30-14=16', '86+16=102'] Exploring Operation: 85+102=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 85*102=8670, Resulting Numbers: [8670] 8670,89 unequal: No Solution Exploring Operation: 102-85=17, Resulting Numbers: [17] 17,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[85, 70], Operations: ['30-14=16', '86-16=70'] Exploring Operation: 85*70=5950, Resulting Numbers: [5950] 5950,89 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 85+70=155, Resulting Numbers: [155] 155,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[86, 69], Operations: ['30-14=16', '85-16=69'] Exploring Operation: 86+69=155, Resulting Numbers: [155] 155,89 unequal: No Solution Exploring Operation: 86*69=5934, Resulting Numbers: [5934] 5934,89 unequal: No Solution Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 89, 24, 30, 16 ]
84
[ "89+16=105", "24*105=2520", "2520/30=84" ]
Current State: 84:[89, 24, 30, 16], Operations: [] Exploring Operation: 89+16=105, Resulting Numbers: [24, 30, 105] Generated Node #2: [24, 30, 105] from Operation: 89+16=105 Current State: 84:[24, 30, 105], Operations: ['89+16=105'] Exploring Operation: 24*105=2520, Resulting Numbers: [30, 2520] Generated Node #3: [30, 2520] from Operation: 24*105=2520 Current State: 84:[30, 2520], Operations: ['89+16=105', '24*105=2520'] Exploring Operation: 2520/30=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[89, 24, 30, 16], Operations: [] Exploring Operation: 30-24=6, Resulting Numbers: [89, 16, 6] Generated Node #0,0: 84:[89, 16, 6] Operation: 30-24=6 Moving to Node #0,0 Current State: 84:[89, 16, 6], Operations: ['30-24=6'] Exploring Operation: 89-6=83, Resulting Numbers: [16, 83] Generated Node #0,0,0: 84:[16, 83] Operation: 89-6=83 Moving to Node #0,0,0 Current State: 84:[16, 83], Operations: ['30-24=6', '89-6=83'] Exploring Operation: 16+83=99, Resulting Numbers: [99] 99,84 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 63, 60, 81, 36 ]
62
[ "81-63=18", "36/18=2", "60+2=62" ]
Current State: 62:[63, 60, 81, 36], Operations: [] Exploring Operation: 81-63=18, Resulting Numbers: [60, 36, 18] Generated Node #2: [60, 36, 18] from Operation: 81-63=18 Current State: 62:[60, 36, 18], Operations: ['81-63=18'] Exploring Operation: 36/18=2, Resulting Numbers: [60, 2] Generated Node #3: [60, 2] from Operation: 36/18=2 Current State: 62:[60, 2], Operations: ['81-63=18', '36/18=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[63, 60, 81, 36], Operations: [] Exploring Operation: 81-60=21, Resulting Numbers: [63, 36, 21] Generated Node #0,0: 62:[63, 36, 21] Operation: 81-60=21 Moving to Node #0,0 Current State: 62:[63, 36, 21], Operations: ['81-60=21'] Exploring Operation: 63/21=3, Resulting Numbers: [36, 3] Generated Node #0,0,0: 62:[36, 3] Operation: 63/21=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[36, 3], Operations: ['81-60=21', '63/21=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 3, 1, 62 ]
18
[ "62-5=57", "57/3=19", "19-1=18" ]
Current State: 18:[5, 3, 1, 62], Operations: [] Exploring Operation: 62-5=57, Resulting Numbers: [3, 1, 57] Generated Node #2: [3, 1, 57] from Operation: 62-5=57 Current State: 18:[3, 1, 57], Operations: ['62-5=57'] Exploring Operation: 57/3=19, Resulting Numbers: [1, 19] Generated Node #3: [1, 19] from Operation: 57/3=19 Current State: 18:[1, 19], Operations: ['62-5=57', '57/3=19'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[5, 3, 1, 62], Operations: [] Exploring Operation: 62-3=59, Resulting Numbers: [5, 1, 59] Generated Node #0,0: 18:[5, 1, 59] Operation: 62-3=59 Exploring Operation: 62-5=57, Resulting Numbers: [3, 1, 57] Generated Node #0,1: 18:[3, 1, 57] Operation: 62-5=57 Moving to Node #0,1 Current State: 18:[3, 1, 57], Operations: ['62-5=57'] Exploring Operation: 57/3=19, Resulting Numbers: [1, 19] Generated Node #0,1,0: 18:[1, 19] Operation: 57/3=19 Exploring Operation: 57-3=54, Resulting Numbers: [1, 54] Generated Node #0,1,1: 18:[1, 54] Operation: 57-3=54 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[1, 19], Operations: ['62-5=57', '57/3=19'] Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[5, 3, 1, 62], Operations: [] Exploring Operation: 62-5=57, Resulting Numbers: [3, 1, 57] Generated Node #0,1: 18:[3, 1, 57] Operation: 62-5=57 Moving to Node #0,1 Current State: 18:[3, 1, 57], Operations: ['62-5=57'] Exploring Operation: 57/3=19, Resulting Numbers: [1, 19] Generated Node #0,1,0: 18:[1, 19] Operation: 57/3=19 Moving to Node #0,1,0 Current State: 18:[1, 19], Operations: ['62-5=57', '57/3=19'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 12, 69, 5, 43 ]
95
[ "69-12=57", "43-5=38", "57+38=95" ]
Current State: 95:[12, 69, 5, 43], Operations: [] Exploring Operation: 69-12=57, Resulting Numbers: [5, 43, 57] Generated Node #2: [5, 43, 57] from Operation: 69-12=57 Current State: 95:[5, 43, 57], Operations: ['69-12=57'] Exploring Operation: 43-5=38, Resulting Numbers: [57, 38] Generated Node #3: [57, 38] from Operation: 43-5=38 Current State: 95:[57, 38], Operations: ['69-12=57', '43-5=38'] Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[12, 69, 5, 43], Operations: [] Exploring Operation: 69+43=112, Resulting Numbers: [12, 5, 112] Generated Node #0,0: 95:[12, 5, 112] Operation: 69+43=112 Exploring Operation: 69-43=26, Resulting Numbers: [12, 5, 26] Generated Node #0,1: 95:[12, 5, 26] Operation: 69-43=26 Exploring Operation: 12+69=81, Resulting Numbers: [5, 43, 81] Generated Node #0,2: 95:[5, 43, 81] Operation: 12+69=81 Exploring Operation: 43-12=31, Resulting Numbers: [69, 5, 31] Generated Node #0,3: 95:[69, 5, 31] Operation: 43-12=31 Moving to Node #0,1 Current State: 95:[12, 5, 26], Operations: ['69-43=26'] Exploring Operation: 12+5=17, Resulting Numbers: [26, 17] Generated Node #0,1,0: 95:[26, 17] Operation: 12+5=17 Exploring Operation: 26-12=14, Resulting Numbers: [5, 14] Generated Node #0,1,1: 95:[5, 14] Operation: 26-12=14 Exploring Operation: 12-5=7, Resulting Numbers: [26, 7] Generated Node #0,1,2: 95:[26, 7] Operation: 12-5=7 Exploring Operation: 26-5=21, Resulting Numbers: [12, 21] Generated Node #0,1,3: 95:[12, 21] Operation: 26-5=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[5, 14], Operations: ['69-43=26', '26-12=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[26, 17], Operations: ['69-43=26', '12+5=17'] Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,95 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,95 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[26, 7], Operations: ['69-43=26', '12-5=7'] Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 95:[12, 21], Operations: ['69-43=26', '26-5=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 95:[12, 5, 112], Operations: ['69+43=112'] Exploring Operation: 12+5=17, Resulting Numbers: [112, 17] Generated Node #0,0,0: 95:[112, 17] Operation: 12+5=17 Exploring Operation: 112-5=107, Resulting Numbers: [12, 107] Generated Node #0,0,1: 95:[12, 107] Operation: 112-5=107 Exploring Operation: 112-12=100, Resulting Numbers: [5, 100] Generated Node #0,0,2: 95:[5, 100] Operation: 112-12=100 Exploring Operation: 12-5=7, Resulting Numbers: [112, 7] Generated Node #0,0,3: 95:[112, 7] Operation: 12-5=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[5, 100], Operations: ['69+43=112', '112-12=100'] Exploring Operation: 100/5=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 5+100=105, Resulting Numbers: [105] 105,95 unequal: No Solution Exploring Operation: 5*100=500, Resulting Numbers: [500] 500,95 unequal: No Solution Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[12, 69, 5, 43], Operations: [] Exploring Operation: 69+43=112, Resulting Numbers: [12, 5, 112] Generated Node #0,0: 95:[12, 5, 112] Operation: 69+43=112 Moving to Node #0,0 Current State: 95:[12, 5, 112], Operations: ['69+43=112'] Exploring Operation: 112-12=100, Resulting Numbers: [5, 100] Generated Node #0,0,2: 95:[5, 100] Operation: 112-12=100 Moving to Node #0,0,2 Current State: 95:[5, 100], Operations: ['69+43=112', '112-12=100'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 52, 30, 81, 83 ]
44
[ "52-30=22", "83-81=2", "22*2=44" ]
Current State: 44:[52, 30, 81, 83], Operations: [] Exploring Operation: 52-30=22, Resulting Numbers: [81, 83, 22] Generated Node #2: [81, 83, 22] from Operation: 52-30=22 Current State: 44:[81, 83, 22], Operations: ['52-30=22'] Exploring Operation: 83-81=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 83-81=2 Current State: 44:[22, 2], Operations: ['52-30=22', '83-81=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[52, 30, 81, 83], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [52, 30, 2] Generated Node #0,0: 44:[52, 30, 2] Operation: 83-81=2 Moving to Node #0,0 Current State: 44:[52, 30, 2], Operations: ['83-81=2'] Exploring Operation: 52-30=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 44:[2, 22] Operation: 52-30=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[2, 22], Operations: ['83-81=2', '52-30=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[52, 30, 81, 83], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [52, 30, 2] Generated Node #0,0: 44:[52, 30, 2] Operation: 83-81=2 Moving to Node #0,0 Current State: 44:[52, 30, 2], Operations: ['83-81=2'] Exploring Operation: 52-30=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 44:[2, 22] Operation: 52-30=22 Moving to Node #0,0,0 Current State: 44:[2, 22], Operations: ['83-81=2', '52-30=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 4, 4, 52, 20 ]
31
[ "4/4=1", "52-20=32", "32-1=31" ]
Current State: 31:[4, 4, 52, 20], Operations: [] Exploring Operation: 4/4=1, Resulting Numbers: [52, 20, 1] Generated Node #2: [52, 20, 1] from Operation: 4/4=1 Current State: 31:[52, 20, 1], Operations: ['4/4=1'] Exploring Operation: 52-20=32, Resulting Numbers: [1, 32] Generated Node #3: [1, 32] from Operation: 52-20=32 Current State: 31:[1, 32], Operations: ['4/4=1', '52-20=32'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[4, 4, 52, 20], Operations: [] Exploring Operation: 4+4=8, Resulting Numbers: [52, 20, 8] Generated Node #0,0: 31:[52, 20, 8] Operation: 4+4=8 Exploring Operation: 4*4=16, Resulting Numbers: [52, 20, 16] Generated Node #0,1: 31:[52, 20, 16] Operation: 4*4=16 Exploring Operation: 4+20=24, Resulting Numbers: [4, 52, 24] Generated Node #0,2: 31:[4, 52, 24] Operation: 4+20=24 Exploring Operation: 52-4=48, Resulting Numbers: [4, 20, 48] Generated Node #0,3: 31:[4, 20, 48] Operation: 52-4=48 Moving to Node #0,1 Current State: 31:[52, 20, 16], Operations: ['4*4=16'] Exploring Operation: 52-16=36, Resulting Numbers: [20, 36] Generated Node #0,1,0: 31:[20, 36] Operation: 52-16=36 Exploring Operation: 52+16=68, Resulting Numbers: [20, 68] Generated Node #0,1,1: 31:[20, 68] Operation: 52+16=68 Exploring Operation: 52-20=32, Resulting Numbers: [16, 32] Generated Node #0,1,2: 31:[16, 32] Operation: 52-20=32 Exploring Operation: 20+16=36, Resulting Numbers: [52, 36] Generated Node #0,1,3: 31:[52, 36] Operation: 20+16=36 Moving to Node #0,2 Current State: 31:[4, 52, 24], Operations: ['4+20=24'] Exploring Operation: 4+24=28, Resulting Numbers: [52, 28] Generated Node #0,2,0: 31:[52, 28] Operation: 4+24=28 Exploring Operation: 52/4=13, Resulting Numbers: [24, 13] Generated Node #0,2,1: 31:[24, 13] Operation: 52/4=13 Exploring Operation: 52-24=28, Resulting Numbers: [4, 28] Generated Node #0,2,2: 31:[4, 28] Operation: 52-24=28 Exploring Operation: 52-4=48, Resulting Numbers: [24, 48] Generated Node #0,2,3: 31:[24, 48] Operation: 52-4=48 Moving to Node #0,0 Current State: 31:[52, 20, 8], Operations: ['4+4=8'] Exploring Operation: 52+8=60, Resulting Numbers: [20, 60] Generated Node #0,0,0: 31:[20, 60] Operation: 52+8=60 Exploring Operation: 52-8=44, Resulting Numbers: [20, 44] Generated Node #0,0,1: 31:[20, 44] Operation: 52-8=44 Exploring Operation: 52-20=32, Resulting Numbers: [8, 32] Generated Node #0,0,2: 31:[8, 32] Operation: 52-20=32 Exploring Operation: 20+8=28, Resulting Numbers: [52, 28] Generated Node #0,0,3: 31:[52, 28] Operation: 20+8=28 Moving to Node #0,3 Current State: 31:[4, 20, 48], Operations: ['52-4=48'] Exploring Operation: 4+20=24, Resulting Numbers: [48, 24] Generated Node #0,3,0: 31:[48, 24] Operation: 4+20=24 Exploring Operation: 48/4=12, Resulting Numbers: [20, 12] Generated Node #0,3,1: 31:[20, 12] Operation: 48/4=12 Exploring Operation: 48-20=28, Resulting Numbers: [4, 28] Generated Node #0,3,2: 31:[4, 28] Operation: 48-20=28 Exploring Operation: 48-4=44, Resulting Numbers: [20, 44] Generated Node #0,3,3: 31:[20, 44] Operation: 48-4=44 Moving to Node #0,1,0 Current State: 31:[20, 36], Operations: ['4*4=16', '52-16=36'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[16, 32], Operations: ['4*4=16', '52-20=32'] Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[24, 48], Operations: ['4+20=24', '52-4=48'] Exploring Operation: 24*48=1152, Resulting Numbers: [1152] 1152,31 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,31 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[20, 44], Operations: ['52-4=48', '48-4=44'] Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[48, 24], Operations: ['52-4=48', '4+20=24'] Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,31 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 48*24=1152, Resulting Numbers: [1152] 1152,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[52, 28], Operations: ['4+20=24', '4+24=28'] Exploring Operation: 52+28=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 52*28=1456, Resulting Numbers: [1456] 1456,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[52, 28], Operations: ['4+4=8', '20+8=28'] Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 52*28=1456, Resulting Numbers: [1456] 1456,31 unequal: No Solution Exploring Operation: 52+28=80, Resulting Numbers: [80] 80,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[8, 32], Operations: ['4+4=8', '52-20=32'] Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 8*32=256, Resulting Numbers: [256] 256,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[20, 44], Operations: ['4+4=8', '52-8=44'] Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,31 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[24, 13], Operations: ['4+20=24', '52/4=13'] Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,31 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[52, 36], Operations: ['4*4=16', '20+16=36'] Exploring Operation: 52*36=1872, Resulting Numbers: [1872] 1872,31 unequal: No Solution Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[20, 12], Operations: ['52-4=48', '48/4=12'] Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[4, 28], Operations: ['4+20=24', '52-24=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,31 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[4, 28], Operations: ['52-4=48', '48-20=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,31 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[20, 60], Operations: ['4+4=8', '52+8=60'] Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 20*60=1200, Resulting Numbers: [1200] 1200,31 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 20+60=80, Resulting Numbers: [80] 80,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[20, 68], Operations: ['4*4=16', '52+16=68'] Exploring Operation: 20+68=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 20*68=1360, Resulting Numbers: [1360] 1360,31 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 44, 54, 88, 29 ]
22
[ "44*29=1276", "1276-88=1188", "1188/54=22" ]
Current State: 22:[44, 54, 88, 29], Operations: [] Exploring Operation: 44*29=1276, Resulting Numbers: [54, 88, 1276] Generated Node #2: [54, 88, 1276] from Operation: 44*29=1276 Current State: 22:[54, 88, 1276], Operations: ['44*29=1276'] Exploring Operation: 1276-88=1188, Resulting Numbers: [54, 1188] Generated Node #3: [54, 1188] from Operation: 1276-88=1188 Current State: 22:[54, 1188], Operations: ['44*29=1276', '1276-88=1188'] Exploring Operation: 1188/54=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[44, 54, 88, 29], Operations: [] Exploring Operation: 88-54=34, Resulting Numbers: [44, 29, 34] Generated Node #0,0: 22:[44, 29, 34] Operation: 88-54=34 Exploring Operation: 88/44=2, Resulting Numbers: [54, 29, 2] Generated Node #0,1: 22:[54, 29, 2] Operation: 88/44=2 Moving to Node #0,1 Current State: 22:[54, 29, 2], Operations: ['88/44=2'] Exploring Operation: 54-29=25, Resulting Numbers: [2, 25] Generated Node #0,1,0: 22:[2, 25] Operation: 54-29=25 Exploring Operation: 54/2=27, Resulting Numbers: [29, 27] Generated Node #0,1,1: 22:[29, 27] Operation: 54/2=27 Moving to Node #0,0 Current State: 22:[44, 29, 34], Operations: ['88-54=34'] Exploring Operation: 44-29=15, Resulting Numbers: [34, 15] Generated Node #0,0,0: 22:[34, 15] Operation: 44-29=15 Exploring Operation: 44-34=10, Resulting Numbers: [29, 10] Generated Node #0,0,1: 22:[29, 10] Operation: 44-34=10 Moving to Node #0,1,0 Current State: 22:[2, 25], Operations: ['88/44=2', '54-29=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[29, 10], Operations: ['88-54=34', '44-34=10'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[29, 27], Operations: ['88/44=2', '54/2=27'] Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,22 unequal: No Solution Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[34, 15], Operations: ['88-54=34', '44-29=15'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,22 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 52, 61, 18, 81 ]
90
[ "61-52=9", "18+81=99", "99-9=90" ]
Current State: 90:[52, 61, 18, 81], Operations: [] Exploring Operation: 61-52=9, Resulting Numbers: [18, 81, 9] Generated Node #2: [18, 81, 9] from Operation: 61-52=9 Current State: 90:[18, 81, 9], Operations: ['61-52=9'] Exploring Operation: 18+81=99, Resulting Numbers: [9, 99] Generated Node #3: [9, 99] from Operation: 18+81=99 Current State: 90:[9, 99], Operations: ['61-52=9', '18+81=99'] Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[52, 61, 18, 81], Operations: [] Exploring Operation: 81-61=20, Resulting Numbers: [52, 18, 20] Generated Node #0,0: 90:[52, 18, 20] Operation: 81-61=20 Exploring Operation: 81-52=29, Resulting Numbers: [61, 18, 29] Generated Node #0,1: 90:[61, 18, 29] Operation: 81-52=29 Exploring Operation: 61-52=9, Resulting Numbers: [18, 81, 9] Generated Node #0,2: 90:[18, 81, 9] Operation: 61-52=9 Exploring Operation: 61-18=43, Resulting Numbers: [52, 81, 43] Generated Node #0,3: 90:[52, 81, 43] Operation: 61-18=43 Moving to Node #0,0 Current State: 90:[52, 18, 20], Operations: ['81-61=20'] Exploring Operation: 18+20=38, Resulting Numbers: [52, 38] Generated Node #0,0,0: 90:[52, 38] Operation: 18+20=38 Exploring Operation: 52-18=34, Resulting Numbers: [20, 34] Generated Node #0,0,1: 90:[20, 34] Operation: 52-18=34 Exploring Operation: 20-18=2, Resulting Numbers: [52, 2] Generated Node #0,0,2: 90:[52, 2] Operation: 20-18=2 Exploring Operation: 52-20=32, Resulting Numbers: [18, 32] Generated Node #0,0,3: 90:[18, 32] Operation: 52-20=32 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[18, 32], Operations: ['81-61=20', '52-20=32'] Exploring Operation: 18*32=576, Resulting Numbers: [576] 576,90 unequal: No Solution Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[20, 34], Operations: ['81-61=20', '52-18=34'] Exploring Operation: 20*34=680, Resulting Numbers: [680] 680,90 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[52, 2], Operations: ['81-61=20', '20-18=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,90 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[52, 38], Operations: ['81-61=20', '18+20=38'] Exploring Operation: 52*38=1976, Resulting Numbers: [1976] 1976,90 unequal: No Solution Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[52, 61, 18, 81], Operations: [] Exploring Operation: 81-61=20, Resulting Numbers: [52, 18, 20] Generated Node #0,0: 90:[52, 18, 20] Operation: 81-61=20 Moving to Node #0,0 Current State: 90:[52, 18, 20], Operations: ['81-61=20'] Exploring Operation: 18+20=38, Resulting Numbers: [52, 38] Generated Node #0,0,0: 90:[52, 38] Operation: 18+20=38 Moving to Node #0,0,0 Current State: 90:[52, 38], Operations: ['81-61=20', '18+20=38'] Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 96, 48, 46, 68 ]
80
[ "96/48=2", "68/2=34", "46+34=80" ]
Current State: 80:[96, 48, 46, 68], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [46, 68, 2] Generated Node #2: [46, 68, 2] from Operation: 96/48=2 Current State: 80:[46, 68, 2], Operations: ['96/48=2'] Exploring Operation: 68/2=34, Resulting Numbers: [46, 34] Generated Node #3: [46, 34] from Operation: 68/2=34 Current State: 80:[46, 34], Operations: ['96/48=2', '68/2=34'] Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[96, 48, 46, 68], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [46, 68, 2] Generated Node #0,0: 80:[46, 68, 2] Operation: 96/48=2 Exploring Operation: 68-48=20, Resulting Numbers: [96, 46, 20] Generated Node #0,1: 80:[96, 46, 20] Operation: 68-48=20 Exploring Operation: 96-68=28, Resulting Numbers: [48, 46, 28] Generated Node #0,2: 80:[48, 46, 28] Operation: 96-68=28 Exploring Operation: 96-48=48, Resulting Numbers: [46, 68, 48] Generated Node #0,3: 80:[46, 68, 48] Operation: 96-48=48 Exploring Operation: 68-46=22, Resulting Numbers: [96, 48, 22] Generated Node #0,4: 80:[96, 48, 22] Operation: 68-46=22 Moving to Node #0,0 Current State: 80:[46, 68, 2], Operations: ['96/48=2'] Exploring Operation: 68/2=34, Resulting Numbers: [46, 34] Generated Node #0,0,0: 80:[46, 34] Operation: 68/2=34 Exploring Operation: 46-2=44, Resulting Numbers: [68, 44] Generated Node #0,0,1: 80:[68, 44] Operation: 46-2=44 Exploring Operation: 46/2=23, Resulting Numbers: [68, 23] Generated Node #0,0,2: 80:[68, 23] Operation: 46/2=23 Exploring Operation: 68+2=70, Resulting Numbers: [46, 70] Generated Node #0,0,3: 80:[46, 70] Operation: 68+2=70 Exploring Operation: 68-46=22, Resulting Numbers: [2, 22] Generated Node #0,0,4: 80:[2, 22] Operation: 68-46=22 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 80:[2, 22], Operations: ['96/48=2', '68-46=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,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:[46, 34], Operations: ['96/48=2', '68/2=34'] Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[96, 48, 46, 68], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [46, 68, 2] Generated Node #0,0: 80:[46, 68, 2] Operation: 96/48=2 Moving to Node #0,0 Current State: 80:[46, 68, 2], Operations: ['96/48=2'] Exploring Operation: 68/2=34, Resulting Numbers: [46, 34] Generated Node #0,0,0: 80:[46, 34] Operation: 68/2=34 Moving to Node #0,0,0 Current State: 80:[46, 34], Operations: ['96/48=2', '68/2=34'] Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 94, 30, 20, 40 ]
66
[ "94-30=64", "40/20=2", "64+2=66" ]
Current State: 66:[94, 30, 20, 40], Operations: [] Exploring Operation: 94-30=64, Resulting Numbers: [20, 40, 64] Generated Node #2: [20, 40, 64] from Operation: 94-30=64 Current State: 66:[20, 40, 64], Operations: ['94-30=64'] Exploring Operation: 40/20=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 40/20=2 Current State: 66:[64, 2], Operations: ['94-30=64', '40/20=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[94, 30, 20, 40], Operations: [] Exploring Operation: 94-40=54, Resulting Numbers: [30, 20, 54] Generated Node #0,0: 66:[30, 20, 54] Operation: 94-40=54 Exploring Operation: 94-30=64, Resulting Numbers: [20, 40, 64] Generated Node #0,1: 66:[20, 40, 64] Operation: 94-30=64 Moving to Node #0,1 Current State: 66:[20, 40, 64], Operations: ['94-30=64'] Exploring Operation: 40-20=20, Resulting Numbers: [64, 20] Generated Node #0,1,0: 66:[64, 20] Operation: 40-20=20 Exploring Operation: 40/20=2, Resulting Numbers: [64, 2] Generated Node #0,1,1: 66:[64, 2] Operation: 40/20=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[64, 2], Operations: ['94-30=64', '40/20=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[94, 30, 20, 40], Operations: [] Exploring Operation: 94-30=64, Resulting Numbers: [20, 40, 64] Generated Node #0,1: 66:[20, 40, 64] Operation: 94-30=64 Moving to Node #0,1 Current State: 66:[20, 40, 64], Operations: ['94-30=64'] Exploring Operation: 40/20=2, Resulting Numbers: [64, 2] Generated Node #0,1,1: 66:[64, 2] Operation: 40/20=2 Moving to Node #0,1,1 Current State: 66:[64, 2], Operations: ['94-30=64', '40/20=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 74, 99, 47, 49 ]
73
[ "74*47=3478", "99+3478=3577", "3577/49=73" ]
Current State: 73:[74, 99, 47, 49], Operations: [] Exploring Operation: 74*47=3478, Resulting Numbers: [99, 49, 3478] Generated Node #2: [99, 49, 3478] from Operation: 74*47=3478 Current State: 73:[99, 49, 3478], Operations: ['74*47=3478'] Exploring Operation: 99+3478=3577, Resulting Numbers: [49, 3577] Generated Node #3: [49, 3577] from Operation: 99+3478=3577 Current State: 73:[49, 3577], Operations: ['74*47=3478', '99+3478=3577'] Exploring Operation: 3577/49=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[74, 99, 47, 49], Operations: [] Exploring Operation: 99-47=52, Resulting Numbers: [74, 49, 52] Generated Node #0,0: 73:[74, 49, 52] Operation: 99-47=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[74, 49, 52], Operations: ['99-47=52'] Exploring Operation: 49+52=101, Resulting Numbers: [74, 101] Generated Node #0,0,0: 73:[74, 101] Operation: 49+52=101 Moving to Node #0,0,0 Current State: 73:[74, 101], Operations: ['99-47=52', '49+52=101'] Exploring Operation: 101-74=27, Resulting Numbers: [27] 27,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 82, 20, 2, 32 ]
40
[ "82-32=50", "20/2=10", "50-10=40" ]
Current State: 40:[82, 20, 2, 32], Operations: [] Exploring Operation: 82-32=50, Resulting Numbers: [20, 2, 50] Generated Node #2: [20, 2, 50] from Operation: 82-32=50 Current State: 40:[20, 2, 50], Operations: ['82-32=50'] Exploring Operation: 20/2=10, Resulting Numbers: [50, 10] Generated Node #3: [50, 10] from Operation: 20/2=10 Current State: 40:[50, 10], Operations: ['82-32=50', '20/2=10'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[82, 20, 2, 32], Operations: [] Exploring Operation: 82/2=41, Resulting Numbers: [20, 32, 41] Generated Node #0,0: 40:[20, 32, 41] Operation: 82/2=41 Exploring Operation: 82-32=50, Resulting Numbers: [20, 2, 50] Generated Node #0,1: 40:[20, 2, 50] Operation: 82-32=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[20, 32, 41], Operations: ['82/2=41'] Exploring Operation: 41-32=9, Resulting Numbers: [20, 9] Generated Node #0,0,0: 40:[20, 9] Operation: 41-32=9 Exploring Operation: 32-20=12, Resulting Numbers: [41, 12] Generated Node #0,0,1: 40:[41, 12] Operation: 32-20=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[20, 9], Operations: ['82/2=41', '41-32=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,40 unequal: No Solution No 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: 40:[41, 12], Operations: ['82/2=41', '32-20=12'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,40 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: 40:[20, 2, 50], Operations: ['82-32=50'] Exploring Operation: 50-2=48, Resulting Numbers: [20, 48] Generated Node #0,1,0: 40:[20, 48] Operation: 50-2=48 Exploring Operation: 50/2=25, Resulting Numbers: [20, 25] Generated Node #0,1,1: 40:[20, 25] Operation: 50/2=25 Moving to Node #0,1,1 Current State: 40:[20, 25], Operations: ['82-32=50', '50/2=25'] Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[20, 48], Operations: ['82-32=50', '50-2=48'] Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,40 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,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
mult_heuristic
[ 14, 39, 38, 25 ]
37
[ "39-14=25", "25/25=1", "38-1=37" ]
Current State: 37:[14, 39, 38, 25], Operations: [] Exploring Operation: 39-14=25, Resulting Numbers: [38, 25, 25] Generated Node #2: [38, 25, 25] from Operation: 39-14=25 Current State: 37:[38, 25, 25], Operations: ['39-14=25'] Exploring Operation: 25/25=1, Resulting Numbers: [38, 1] Generated Node #3: [38, 1] from Operation: 25/25=1 Current State: 37:[38, 1], Operations: ['39-14=25', '25/25=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[14, 39, 38, 25], Operations: [] Exploring Operation: 38-14=24, Resulting Numbers: [39, 25, 24] Generated Node #0,0: 37:[39, 25, 24] Operation: 38-14=24 Exploring Operation: 39-14=25, Resulting Numbers: [38, 25, 25] Generated Node #0,1: 37:[38, 25, 25] Operation: 39-14=25 Exploring Operation: 14+25=39, Resulting Numbers: [39, 38, 39] Generated Node #0,2: 37:[39, 38, 39] Operation: 14+25=39 Exploring Operation: 14+39=53, Resulting Numbers: [38, 25, 53] Generated Node #0,3: 37:[38, 25, 53] Operation: 14+39=53 Moving to Node #0,2 Current State: 37:[39, 38, 39], Operations: ['14+25=39'] Exploring Operation: 39-39=0, Resulting Numbers: [38, 0] Generated Node #0,2,0: 37:[38, 0] Operation: 39-39=0 Exploring Operation: 39-38=1, Resulting Numbers: [39, 1] Generated Node #0,2,1: 37:[39, 1] Operation: 39-38=1 Exploring Operation: 39-38=1, Resulting Numbers: [39, 1] Generated Node #0,2,2: 37:[39, 1] Operation: 39-38=1 Exploring Operation: 39/39=1, Resulting Numbers: [38, 1] Generated Node #0,2,3: 37:[38, 1] Operation: 39/39=1 Moving to Node #0,1 Current State: 37:[38, 25, 25], Operations: ['39-14=25'] Exploring Operation: 25/25=1, Resulting Numbers: [38, 1] Generated Node #0,1,0: 37:[38, 1] Operation: 25/25=1 Exploring Operation: 38-25=13, Resulting Numbers: [25, 13] Generated Node #0,1,1: 37:[25, 13] Operation: 38-25=13 Exploring Operation: 38-25=13, Resulting Numbers: [25, 13] Generated Node #0,1,2: 37:[25, 13] Operation: 38-25=13 Exploring Operation: 25+25=50, Resulting Numbers: [38, 50] Generated Node #0,1,3: 37:[38, 50] Operation: 25+25=50 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 37:[38, 50], Operations: ['39-14=25', '25+25=50'] Exploring Operation: 38+50=88, Resulting Numbers: [88] 88,37 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 38*50=1900, Resulting Numbers: [1900] 1900,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[25, 13], Operations: ['39-14=25', '38-25=13'] Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,37 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[25, 13], Operations: ['39-14=25', '38-25=13'] Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[38, 1], Operations: ['39-14=25', '25/25=1'] Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,37 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[14, 39, 38, 25], Operations: [] Exploring Operation: 39-14=25, Resulting Numbers: [38, 25, 25] Generated Node #0,1: 37:[38, 25, 25] Operation: 39-14=25 Moving to Node #0,1 Current State: 37:[38, 25, 25], Operations: ['39-14=25'] Exploring Operation: 25/25=1, Resulting Numbers: [38, 1] Generated Node #0,1,0: 37:[38, 1] Operation: 25/25=1 Moving to Node #0,1,0 Current State: 37:[38, 1], Operations: ['39-14=25', '25/25=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 13, 53, 61, 46 ]
41
[ "13+53=66", "61+46=107", "107-66=41" ]
Current State: 41:[13, 53, 61, 46], Operations: [] Exploring Operation: 13+53=66, Resulting Numbers: [61, 46, 66] Generated Node #2: [61, 46, 66] from Operation: 13+53=66 Current State: 41:[61, 46, 66], Operations: ['13+53=66'] Exploring Operation: 61+46=107, Resulting Numbers: [66, 107] Generated Node #3: [66, 107] from Operation: 61+46=107 Current State: 41:[66, 107], Operations: ['13+53=66', '61+46=107'] Exploring Operation: 107-66=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[13, 53, 61, 46], Operations: [] Exploring Operation: 61-13=48, Resulting Numbers: [53, 46, 48] Generated Node #0,0: 41:[53, 46, 48] Operation: 61-13=48 Exploring Operation: 46-13=33, Resulting Numbers: [53, 61, 33] Generated Node #0,1: 41:[53, 61, 33] Operation: 46-13=33 Exploring Operation: 53-13=40, Resulting Numbers: [61, 46, 40] Generated Node #0,2: 41:[61, 46, 40] Operation: 53-13=40 Exploring Operation: 13+61=74, Resulting Numbers: [53, 46, 74] Generated Node #0,3: 41:[53, 46, 74] Operation: 13+61=74 Exploring Operation: 13+53=66, Resulting Numbers: [61, 46, 66] Generated Node #0,4: 41:[61, 46, 66] Operation: 13+53=66 Moving to Node #0,0 Current State: 41:[53, 46, 48], Operations: ['61-13=48'] Exploring Operation: 53+48=101, Resulting Numbers: [46, 101] Generated Node #0,0,0: 41:[46, 101] Operation: 53+48=101 Exploring Operation: 53+46=99, Resulting Numbers: [48, 99] Generated Node #0,0,1: 41:[48, 99] Operation: 53+46=99 Exploring Operation: 53-48=5, Resulting Numbers: [46, 5] Generated Node #0,0,2: 41:[46, 5] Operation: 53-48=5 Exploring Operation: 48-46=2, Resulting Numbers: [53, 2] Generated Node #0,0,3: 41:[53, 2] Operation: 48-46=2 Exploring Operation: 53-46=7, Resulting Numbers: [48, 7] Generated Node #0,0,4: 41:[48, 7] Operation: 53-46=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[46, 5], Operations: ['61-13=48', '53-48=5'] Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,41 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[13, 53, 61, 46], Operations: [] Exploring Operation: 61-13=48, Resulting Numbers: [53, 46, 48] Generated Node #0,0: 41:[53, 46, 48] Operation: 61-13=48 Moving to Node #0,0 Current State: 41:[53, 46, 48], Operations: ['61-13=48'] Exploring Operation: 53-48=5, Resulting Numbers: [46, 5] Generated Node #0,0,2: 41:[46, 5] Operation: 53-48=5 Moving to Node #0,0,2 Current State: 41:[46, 5], Operations: ['61-13=48', '53-48=5'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 69, 98, 37, 7 ]
18
[ "69-37=32", "98/7=14", "32-14=18" ]
Current State: 18:[69, 98, 37, 7], Operations: [] Exploring Operation: 69-37=32, Resulting Numbers: [98, 7, 32] Generated Node #2: [98, 7, 32] from Operation: 69-37=32 Current State: 18:[98, 7, 32], Operations: ['69-37=32'] Exploring Operation: 98/7=14, Resulting Numbers: [32, 14] Generated Node #3: [32, 14] from Operation: 98/7=14 Current State: 18:[32, 14], Operations: ['69-37=32', '98/7=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[69, 98, 37, 7], Operations: [] Exploring Operation: 98/7=14, Resulting Numbers: [69, 37, 14] Generated Node #0,0: 18:[69, 37, 14] Operation: 98/7=14 Exploring Operation: 69-37=32, Resulting Numbers: [98, 7, 32] Generated Node #0,1: 18:[98, 7, 32] Operation: 69-37=32 Exploring Operation: 98-69=29, Resulting Numbers: [37, 7, 29] Generated Node #0,2: 18:[37, 7, 29] Operation: 98-69=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[37, 7, 29], Operations: ['98-69=29'] Exploring Operation: 37-29=8, Resulting Numbers: [7, 8] Generated Node #0,2,0: 18:[7, 8] Operation: 37-29=8 Exploring Operation: 29-7=22, Resulting Numbers: [37, 22] Generated Node #0,2,1: 18:[37, 22] Operation: 29-7=22 Exploring Operation: 37-7=30, Resulting Numbers: [29, 30] Generated Node #0,2,2: 18:[29, 30] Operation: 37-7=30 Moving to Node #0,2,0 Current State: 18:[7, 8], Operations: ['98-69=29', '37-29=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[37, 22], Operations: ['98-69=29', '29-7=22'] Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 37*22=814, Resulting Numbers: [814] 814,18 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[29, 30], Operations: ['98-69=29', '37-7=30'] Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 29*30=870, Resulting Numbers: [870] 870,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[69, 37, 14], Operations: ['98/7=14'] Exploring Operation: 37-14=23, Resulting Numbers: [69, 23] Generated Node #0,0,0: 18:[69, 23] Operation: 37-14=23 Exploring Operation: 69-14=55, Resulting Numbers: [37, 55] Generated Node #0,0,1: 18:[37, 55] Operation: 69-14=55 Exploring Operation: 69-37=32, Resulting Numbers: [14, 32] Generated Node #0,0,2: 18:[14, 32] Operation: 69-37=32 Moving to Node #0,0,2 Current State: 18:[14, 32], Operations: ['98/7=14', '69-37=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[69, 98, 37, 7], Operations: [] Exploring Operation: 98/7=14, Resulting Numbers: [69, 37, 14] Generated Node #0,0: 18:[69, 37, 14] Operation: 98/7=14 Moving to Node #0,0 Current State: 18:[69, 37, 14], Operations: ['98/7=14'] Exploring Operation: 69-37=32, Resulting Numbers: [14, 32] Generated Node #0,0,2: 18:[14, 32] Operation: 69-37=32 Moving to Node #0,0,2 Current State: 18:[14, 32], Operations: ['98/7=14', '69-37=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 39, 80, 81, 15 ]
55
[ "80-39=41", "81+15=96", "96-41=55" ]
Current State: 55:[39, 80, 81, 15], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [81, 15, 41] Generated Node #2: [81, 15, 41] from Operation: 80-39=41 Current State: 55:[81, 15, 41], Operations: ['80-39=41'] Exploring Operation: 81+15=96, Resulting Numbers: [41, 96] Generated Node #3: [41, 96] from Operation: 81+15=96 Current State: 55:[41, 96], Operations: ['80-39=41', '81+15=96'] Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[39, 80, 81, 15], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [39, 15, 1] Generated Node #0,0: 55:[39, 15, 1] Operation: 81-80=1 Exploring Operation: 81-39=42, Resulting Numbers: [80, 15, 42] Generated Node #0,1: 55:[80, 15, 42] Operation: 81-39=42 Exploring Operation: 80-39=41, Resulting Numbers: [81, 15, 41] Generated Node #0,2: 55:[81, 15, 41] Operation: 80-39=41 Moving to Node #0,0 Current State: 55:[39, 15, 1], Operations: ['81-80=1'] Exploring Operation: 39+1=40, Resulting Numbers: [15, 40] Generated Node #0,0,0: 55:[15, 40] Operation: 39+1=40 Exploring Operation: 39-15=24, Resulting Numbers: [1, 24] Generated Node #0,0,1: 55:[1, 24] Operation: 39-15=24 Exploring Operation: 39+15=54, Resulting Numbers: [1, 54] Generated Node #0,0,2: 55:[1, 54] Operation: 39+15=54 Moving to Node #0,1 Current State: 55:[80, 15, 42], Operations: ['81-39=42'] Exploring Operation: 80-42=38, Resulting Numbers: [15, 38] Generated Node #0,1,0: 55:[15, 38] Operation: 80-42=38 Exploring Operation: 15+42=57, Resulting Numbers: [80, 57] Generated Node #0,1,1: 55:[80, 57] Operation: 15+42=57 Exploring Operation: 80-15=65, Resulting Numbers: [42, 65] Generated Node #0,1,2: 55:[42, 65] Operation: 80-15=65 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[15, 38], Operations: ['81-39=42', '80-42=38'] Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,55 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[42, 65], Operations: ['81-39=42', '80-15=65'] Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,55 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 42*65=2730, Resulting Numbers: [2730] 2730,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[80, 57], Operations: ['81-39=42', '15+42=57'] Exploring Operation: 80+57=137, Resulting Numbers: [137] 137,55 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 80*57=4560, Resulting Numbers: [4560] 4560,55 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: 55:[81, 15, 41], Operations: ['80-39=41'] Exploring Operation: 81-15=66, Resulting Numbers: [41, 66] Generated Node #0,2,0: 55:[41, 66] Operation: 81-15=66 Exploring Operation: 15+41=56, Resulting Numbers: [81, 56] Generated Node #0,2,1: 55:[81, 56] Operation: 15+41=56 Exploring Operation: 81-41=40, Resulting Numbers: [15, 40] Generated Node #0,2,2: 55:[15, 40] Operation: 81-41=40 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[15, 40], Operations: ['80-39=41', '81-41=40'] Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,55 unequal: No Solution Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[39, 80, 81, 15], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [81, 15, 41] Generated Node #0,2: 55:[81, 15, 41] Operation: 80-39=41 Moving to Node #0,2 Current State: 55:[81, 15, 41], Operations: ['80-39=41'] Exploring Operation: 81-41=40, Resulting Numbers: [15, 40] Generated Node #0,2,2: 55:[15, 40] Operation: 81-41=40 Moving to Node #0,2,2 Current State: 55:[15, 40], Operations: ['80-39=41', '81-41=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 14, 32, 61, 67 ]
56
[ "61+67=128", "14*128=1792", "1792/32=56" ]
Current State: 56:[14, 32, 61, 67], Operations: [] Exploring Operation: 61+67=128, Resulting Numbers: [14, 32, 128] Generated Node #2: [14, 32, 128] from Operation: 61+67=128 Current State: 56:[14, 32, 128], Operations: ['61+67=128'] Exploring Operation: 14*128=1792, Resulting Numbers: [32, 1792] Generated Node #3: [32, 1792] from Operation: 14*128=1792 Current State: 56:[32, 1792], Operations: ['61+67=128', '14*128=1792'] Exploring Operation: 1792/32=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[14, 32, 61, 67], Operations: [] Exploring Operation: 67-61=6, Resulting Numbers: [14, 32, 6] Generated Node #0,0: 56:[14, 32, 6] Operation: 67-61=6 Exploring Operation: 61-32=29, Resulting Numbers: [14, 67, 29] Generated Node #0,1: 56:[14, 67, 29] Operation: 61-32=29 Exploring Operation: 67-14=53, Resulting Numbers: [32, 61, 53] Generated Node #0,2: 56:[32, 61, 53] Operation: 67-14=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[14, 32, 6], Operations: ['67-61=6'] Exploring Operation: 32-6=26, Resulting Numbers: [14, 26] Generated Node #0,0,0: 56:[14, 26] Operation: 32-6=26 Exploring Operation: 14-6=8, Resulting Numbers: [32, 8] Generated Node #0,0,1: 56:[32, 8] Operation: 14-6=8 Exploring Operation: 32-14=18, Resulting Numbers: [6, 18] Generated Node #0,0,2: 56:[6, 18] Operation: 32-14=18 Moving to Node #0,0,0 Current State: 56:[14, 26], Operations: ['67-61=6', '32-6=26'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,56 unequal: No Solution Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[32, 8], Operations: ['67-61=6', '14-6=8'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,56 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[6, 18], Operations: ['67-61=6', '32-14=18'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[14, 67, 29], Operations: ['61-32=29'] Exploring Operation: 67-14=53, Resulting Numbers: [29, 53] Generated Node #0,1,0: 56:[29, 53] Operation: 67-14=53 Exploring Operation: 67-29=38, Resulting Numbers: [14, 38] Generated Node #0,1,1: 56:[14, 38] Operation: 67-29=38 Exploring Operation: 29-14=15, Resulting Numbers: [67, 15] Generated Node #0,1,2: 56:[67, 15] Operation: 29-14=15 Moving to Node #0,1,0 Current State: 56:[29, 53], Operations: ['61-32=29', '67-14=53'] Exploring Operation: 29+53=82, Resulting Numbers: [82] 82,56 unequal: No Solution Exploring Operation: 29*53=1537, Resulting Numbers: [1537] 1537,56 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[14, 38], Operations: ['61-32=29', '67-29=38'] Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,56 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,56 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[67, 15], Operations: ['61-32=29', '29-14=15'] Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 67+15=82, Resulting Numbers: [82] 82,56 unequal: No Solution Exploring Operation: 67*15=1005, Resulting Numbers: [1005] 1005,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[32, 61, 53], Operations: ['67-14=53'] Exploring Operation: 61-32=29, Resulting Numbers: [53, 29] Generated Node #0,2,0: 56:[53, 29] Operation: 61-32=29 Exploring Operation: 61-53=8, Resulting Numbers: [32, 8] Generated Node #0,2,1: 56:[32, 8] Operation: 61-53=8 Exploring Operation: 53-32=21, Resulting Numbers: [61, 21] Generated Node #0,2,2: 56:[61, 21] Operation: 53-32=21 Moving to Node #0,2,0 Current State: 56:[53, 29], Operations: ['67-14=53', '61-32=29'] Exploring Operation: 53*29=1537, Resulting Numbers: [1537] 1537,56 unequal: No Solution Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,56 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[32, 8], Operations: ['67-14=53', '61-53=8'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,56 unequal: No Solution Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[61, 21], Operations: ['67-14=53', '53-32=21'] Exploring Operation: 61+21=82, Resulting Numbers: [82] 82,56 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 61*21=1281, Resulting Numbers: [1281] 1281,56 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
[ 90, 13, 66, 21 ]
26
[ "90*13=1170", "66-21=45", "1170/45=26" ]
Current State: 26:[90, 13, 66, 21], Operations: [] Exploring Operation: 90*13=1170, Resulting Numbers: [66, 21, 1170] Generated Node #2: [66, 21, 1170] from Operation: 90*13=1170 Current State: 26:[66, 21, 1170], Operations: ['90*13=1170'] Exploring Operation: 66-21=45, Resulting Numbers: [1170, 45] Generated Node #3: [1170, 45] from Operation: 66-21=45 Current State: 26:[1170, 45], Operations: ['90*13=1170', '66-21=45'] Exploring Operation: 1170/45=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[90, 13, 66, 21], Operations: [] Exploring Operation: 90-13=77, Resulting Numbers: [66, 21, 77] Generated Node #0,0: 26:[66, 21, 77] Operation: 90-13=77 Exploring Operation: 66-21=45, Resulting Numbers: [90, 13, 45] Generated Node #0,1: 26:[90, 13, 45] Operation: 66-21=45 Exploring Operation: 90-21=69, Resulting Numbers: [13, 66, 69] Generated Node #0,2: 26:[13, 66, 69] Operation: 90-21=69 Exploring Operation: 90-66=24, Resulting Numbers: [13, 21, 24] Generated Node #0,3: 26:[13, 21, 24] Operation: 90-66=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[13, 21, 24], Operations: ['90-66=24'] Exploring Operation: 24-13=11, Resulting Numbers: [21, 11] Generated Node #0,3,0: 26:[21, 11] Operation: 24-13=11 Exploring Operation: 24-21=3, Resulting Numbers: [13, 3] Generated Node #0,3,1: 26:[13, 3] Operation: 24-21=3 Exploring Operation: 13+21=34, Resulting Numbers: [24, 34] Generated Node #0,3,2: 26:[24, 34] Operation: 13+21=34 Exploring Operation: 21-13=8, Resulting Numbers: [24, 8] Generated Node #0,3,3: 26:[24, 8] Operation: 21-13=8 Moving to Node #0,3,1 Current State: 26:[13, 3], Operations: ['90-66=24', '24-21=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[24, 8], Operations: ['90-66=24', '21-13=8'] Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,26 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,26 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[21, 11], Operations: ['90-66=24', '24-13=11'] Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[24, 34], Operations: ['90-66=24', '13+21=34'] Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,26 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[90, 13, 45], Operations: ['66-21=45'] Exploring Operation: 90-45=45, Resulting Numbers: [13, 45] Generated Node #0,1,0: 26:[13, 45] Operation: 90-45=45 Exploring Operation: 90-13=77, Resulting Numbers: [45, 77] Generated Node #0,1,1: 26:[45, 77] Operation: 90-13=77 Exploring Operation: 90/45=2, Resulting Numbers: [13, 2] Generated Node #0,1,2: 26:[13, 2] Operation: 90/45=2 Exploring Operation: 45-13=32, Resulting Numbers: [90, 32] Generated Node #0,1,3: 26:[90, 32] Operation: 45-13=32 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 26:[13, 2], Operations: ['66-21=45', '90/45=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[90, 13, 66, 21], Operations: [] Exploring Operation: 66-21=45, Resulting Numbers: [90, 13, 45] Generated Node #0,1: 26:[90, 13, 45] Operation: 66-21=45 Moving to Node #0,1 Current State: 26:[90, 13, 45], Operations: ['66-21=45'] Exploring Operation: 90/45=2, Resulting Numbers: [13, 2] Generated Node #0,1,2: 26:[13, 2] Operation: 90/45=2 Moving to Node #0,1,2 Current State: 26:[13, 2], Operations: ['66-21=45', '90/45=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 93, 29, 44, 21 ]
87
[ "93-29=64", "44-21=23", "64+23=87" ]
Current State: 87:[93, 29, 44, 21], Operations: [] Exploring Operation: 93-29=64, Resulting Numbers: [44, 21, 64] Generated Node #2: [44, 21, 64] from Operation: 93-29=64 Current State: 87:[44, 21, 64], Operations: ['93-29=64'] Exploring Operation: 44-21=23, Resulting Numbers: [64, 23] Generated Node #3: [64, 23] from Operation: 44-21=23 Current State: 87:[64, 23], Operations: ['93-29=64', '44-21=23'] Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[93, 29, 44, 21], Operations: [] Exploring Operation: 93-44=49, Resulting Numbers: [29, 21, 49] Generated Node #0,0: 87:[29, 21, 49] Operation: 93-44=49 Exploring Operation: 44-29=15, Resulting Numbers: [93, 21, 15] Generated Node #0,1: 87:[93, 21, 15] Operation: 44-29=15 Exploring Operation: 44-21=23, Resulting Numbers: [93, 29, 23] Generated Node #0,2: 87:[93, 29, 23] Operation: 44-21=23 Exploring Operation: 29-21=8, Resulting Numbers: [93, 44, 8] Generated Node #0,3: 87:[93, 44, 8] Operation: 29-21=8 Moving to Node #0,2 Current State: 87:[93, 29, 23], Operations: ['44-21=23'] Exploring Operation: 93-23=70, Resulting Numbers: [29, 70] Generated Node #0,2,0: 87:[29, 70] Operation: 93-23=70 Exploring Operation: 93+23=116, Resulting Numbers: [29, 116] Generated Node #0,2,1: 87:[29, 116] Operation: 93+23=116 Exploring Operation: 93-29=64, Resulting Numbers: [23, 64] Generated Node #0,2,2: 87:[23, 64] Operation: 93-29=64 Exploring Operation: 29-23=6, Resulting Numbers: [93, 6] Generated Node #0,2,3: 87:[93, 6] Operation: 29-23=6 Moving to Node #0,3 Current State: 87:[93, 44, 8], Operations: ['29-21=8'] Exploring Operation: 93-44=49, Resulting Numbers: [8, 49] Generated Node #0,3,0: 87:[8, 49] Operation: 93-44=49 Exploring Operation: 93+8=101, Resulting Numbers: [44, 101] Generated Node #0,3,1: 87:[44, 101] Operation: 93+8=101 Exploring Operation: 93-8=85, Resulting Numbers: [44, 85] Generated Node #0,3,2: 87:[44, 85] Operation: 93-8=85 Exploring Operation: 44-8=36, Resulting Numbers: [93, 36] Generated Node #0,3,3: 87:[93, 36] Operation: 44-8=36 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 87:[93, 36], Operations: ['29-21=8', '44-8=36'] Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,87 unequal: No Solution Exploring Operation: 93+36=129, Resulting Numbers: [129] 129,87 unequal: No Solution Exploring Operation: 93*36=3348, Resulting Numbers: [3348] 3348,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 87:[44, 85], Operations: ['29-21=8', '93-8=85'] Exploring Operation: 44+85=129, Resulting Numbers: [129] 129,87 unequal: No Solution Exploring Operation: 44*85=3740, Resulting Numbers: [3740] 3740,87 unequal: No Solution Exploring Operation: 85-44=41, Resulting Numbers: [41] 41,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 87:[8, 49], Operations: ['29-21=8', '93-44=49'] Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,87 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,87 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 87:[44, 101], Operations: ['29-21=8', '93+8=101'] Exploring Operation: 101-44=57, Resulting Numbers: [57] 57,87 unequal: No Solution Exploring Operation: 44*101=4444, Resulting Numbers: [4444] 4444,87 unequal: No Solution Exploring Operation: 44+101=145, Resulting Numbers: [145] 145,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 87:[93, 21, 15], Operations: ['44-29=15'] Exploring Operation: 93-21=72, Resulting Numbers: [15, 72] Generated Node #0,1,0: 87:[15, 72] Operation: 93-21=72 Exploring Operation: 21-15=6, Resulting Numbers: [93, 6] Generated Node #0,1,1: 87:[93, 6] Operation: 21-15=6 Exploring Operation: 93-15=78, Resulting Numbers: [21, 78] Generated Node #0,1,2: 87:[21, 78] Operation: 93-15=78 Exploring Operation: 21+15=36, Resulting Numbers: [93, 36] Generated Node #0,1,3: 87:[93, 36] Operation: 21+15=36 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[93, 6], Operations: ['44-29=15', '21-15=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[93, 29, 44, 21], Operations: [] Exploring Operation: 44-29=15, Resulting Numbers: [93, 21, 15] Generated Node #0,1: 87:[93, 21, 15] Operation: 44-29=15 Moving to Node #0,1 Current State: 87:[93, 21, 15], Operations: ['44-29=15'] Exploring Operation: 21-15=6, Resulting Numbers: [93, 6] Generated Node #0,1,1: 87:[93, 6] Operation: 21-15=6 Moving to Node #0,1,1 Current State: 87:[93, 6], Operations: ['44-29=15', '21-15=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 29, 25, 45, 82 ]
17
[ "29+25=54", "82-45=37", "54-37=17" ]
Current State: 17:[29, 25, 45, 82], Operations: [] Exploring Operation: 29+25=54, Resulting Numbers: [45, 82, 54] Generated Node #2: [45, 82, 54] from Operation: 29+25=54 Current State: 17:[45, 82, 54], Operations: ['29+25=54'] Exploring Operation: 82-45=37, Resulting Numbers: [54, 37] Generated Node #3: [54, 37] from Operation: 82-45=37 Current State: 17:[54, 37], Operations: ['29+25=54', '82-45=37'] Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[29, 25, 45, 82], Operations: [] Exploring Operation: 82-45=37, Resulting Numbers: [29, 25, 37] Generated Node #0,0: 17:[29, 25, 37] Operation: 82-45=37 Moving to Node #0,0 Current State: 17:[29, 25, 37], Operations: ['82-45=37'] Exploring Operation: 37-29=8, Resulting Numbers: [25, 8] Generated Node #0,0,0: 17:[25, 8] Operation: 37-29=8 Moving to Node #0,0,0 Current State: 17:[25, 8], Operations: ['82-45=37', '37-29=8'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[29, 25, 45, 82], Operations: [] Exploring Operation: 82-45=37, Resulting Numbers: [29, 25, 37] Generated Node #0,0: 17:[29, 25, 37] Operation: 82-45=37 Moving to Node #0,0 Current State: 17:[29, 25, 37], Operations: ['82-45=37'] Exploring Operation: 37-29=8, Resulting Numbers: [25, 8] Generated Node #0,0,0: 17:[25, 8] Operation: 37-29=8 Moving to Node #0,0,0 Current State: 17:[25, 8], Operations: ['82-45=37', '37-29=8'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 67, 3, 20, 36 ]
59
[ "67-20=47", "36/3=12", "47+12=59" ]
Current State: 59:[67, 3, 20, 36], Operations: [] Exploring Operation: 67-20=47, Resulting Numbers: [3, 36, 47] Generated Node #2: [3, 36, 47] from Operation: 67-20=47 Current State: 59:[3, 36, 47], Operations: ['67-20=47'] Exploring Operation: 36/3=12, Resulting Numbers: [47, 12] Generated Node #3: [47, 12] from Operation: 36/3=12 Current State: 59:[47, 12], Operations: ['67-20=47', '36/3=12'] Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[67, 3, 20, 36], Operations: [] Exploring Operation: 67-3=64, Resulting Numbers: [20, 36, 64] Generated Node #0,0: 59:[20, 36, 64] Operation: 67-3=64 Exploring Operation: 3*20=60, Resulting Numbers: [67, 36, 60] Generated Node #0,1: 59:[67, 36, 60] Operation: 3*20=60 Moving to Node #0,1 Current State: 59:[67, 36, 60], Operations: ['3*20=60'] Exploring Operation: 60-36=24, Resulting Numbers: [67, 24] Generated Node #0,1,0: 59:[67, 24] Operation: 60-36=24 Exploring Operation: 67-36=31, Resulting Numbers: [60, 31] Generated Node #0,1,1: 59:[60, 31] Operation: 67-36=31 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[60, 31], Operations: ['3*20=60', '67-36=31'] Exploring Operation: 60+31=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[67, 24], Operations: ['3*20=60', '60-36=24'] Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,59 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: 59:[20, 36, 64], Operations: ['67-3=64'] Exploring Operation: 20+36=56, Resulting Numbers: [64, 56] Generated Node #0,0,0: 59:[64, 56] Operation: 20+36=56 Exploring Operation: 64-20=44, Resulting Numbers: [36, 44] Generated Node #0,0,1: 59:[36, 44] Operation: 64-20=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[64, 56], Operations: ['67-3=64', '20+36=56'] Exploring Operation: 64+56=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[36, 44], Operations: ['67-3=64', '64-20=44'] Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,59 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,59 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
[ 7, 5, 10, 15 ]
73
[ "7*10=70", "15/5=3", "70+3=73" ]
Current State: 73:[7, 5, 10, 15], Operations: [] Exploring Operation: 7*10=70, Resulting Numbers: [5, 15, 70] Generated Node #2: [5, 15, 70] from Operation: 7*10=70 Current State: 73:[5, 15, 70], Operations: ['7*10=70'] Exploring Operation: 15/5=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 15/5=3 Current State: 73:[70, 3], Operations: ['7*10=70', '15/5=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[7, 5, 10, 15], Operations: [] Exploring Operation: 7*10=70, Resulting Numbers: [5, 15, 70] Generated Node #0,0: 73:[5, 15, 70] Operation: 7*10=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[5, 15, 70], Operations: ['7*10=70'] Exploring Operation: 5*15=75, Resulting Numbers: [70, 75] Generated Node #0,0,0: 73:[70, 75] Operation: 5*15=75 Moving to Node #0,0,0 Current State: 73:[70, 75], Operations: ['7*10=70', '5*15=75'] Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 3, 24, 97, 89 ]
35
[ "3+24=27", "97-89=8", "27+8=35" ]
Current State: 35:[3, 24, 97, 89], Operations: [] Exploring Operation: 3+24=27, Resulting Numbers: [97, 89, 27] Generated Node #2: [97, 89, 27] from Operation: 3+24=27 Current State: 35:[97, 89, 27], Operations: ['3+24=27'] Exploring Operation: 97-89=8, Resulting Numbers: [27, 8] Generated Node #3: [27, 8] from Operation: 97-89=8 Current State: 35:[27, 8], Operations: ['3+24=27', '97-89=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[3, 24, 97, 89], Operations: [] Exploring Operation: 89-24=65, Resulting Numbers: [3, 97, 65] Generated Node #0,0: 35:[3, 97, 65] Operation: 89-24=65 Exploring Operation: 24/3=8, Resulting Numbers: [97, 89, 8] Generated Node #0,1: 35:[97, 89, 8] Operation: 24/3=8 Exploring Operation: 97-89=8, Resulting Numbers: [3, 24, 8] Generated Node #0,2: 35:[3, 24, 8] Operation: 97-89=8 Exploring Operation: 97-24=73, Resulting Numbers: [3, 89, 73] Generated Node #0,3: 35:[3, 89, 73] Operation: 97-24=73 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[3, 24, 8], Operations: ['97-89=8'] Exploring Operation: 3+24=27, Resulting Numbers: [8, 27] Generated Node #0,2,0: 35:[8, 27] Operation: 3+24=27 Exploring Operation: 24/8=3, Resulting Numbers: [3, 3] Generated Node #0,2,1: 35:[3, 3] Operation: 24/8=3 Exploring Operation: 24/3=8, Resulting Numbers: [8, 8] Generated Node #0,2,2: 35:[8, 8] Operation: 24/3=8 Exploring Operation: 24+8=32, Resulting Numbers: [3, 32] Generated Node #0,2,3: 35:[3, 32] Operation: 24+8=32 Moving to Node #0,2,2 Current State: 35:[8, 8], Operations: ['97-89=8', '24/3=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[3, 3], Operations: ['97-89=8', '24/8=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[3, 32], Operations: ['97-89=8', '24+8=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[3, 24, 97, 89], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [3, 24, 8] Generated Node #0,2: 35:[3, 24, 8] Operation: 97-89=8 Moving to Node #0,2 Current State: 35:[3, 24, 8], Operations: ['97-89=8'] Exploring Operation: 24+8=32, Resulting Numbers: [3, 32] Generated Node #0,2,3: 35:[3, 32] Operation: 24+8=32 Moving to Node #0,2,3 Current State: 35:[3, 32], Operations: ['97-89=8', '24+8=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 11, 49, 5, 64 ]
58
[ "11*5=55", "49+64=113", "113-55=58" ]
Current State: 58:[11, 49, 5, 64], Operations: [] Exploring Operation: 11*5=55, Resulting Numbers: [49, 64, 55] Generated Node #2: [49, 64, 55] from Operation: 11*5=55 Current State: 58:[49, 64, 55], Operations: ['11*5=55'] Exploring Operation: 49+64=113, Resulting Numbers: [55, 113] Generated Node #3: [55, 113] from Operation: 49+64=113 Current State: 58:[55, 113], Operations: ['11*5=55', '49+64=113'] Exploring Operation: 113-55=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[11, 49, 5, 64], Operations: [] Exploring Operation: 11+49=60, Resulting Numbers: [5, 64, 60] Generated Node #0,0: 58:[5, 64, 60] Operation: 11+49=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[5, 64, 60], Operations: ['11+49=60'] Exploring Operation: 64-5=59, Resulting Numbers: [60, 59] Generated Node #0,0,0: 58:[60, 59] Operation: 64-5=59 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[60, 59], Operations: ['11+49=60', '64-5=59'] Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 11, 8, 59, 99 ]
43
[ "11-8=3", "99-59=40", "3+40=43" ]
Current State: 43:[11, 8, 59, 99], Operations: [] Exploring Operation: 11-8=3, Resulting Numbers: [59, 99, 3] Generated Node #2: [59, 99, 3] from Operation: 11-8=3 Current State: 43:[59, 99, 3], Operations: ['11-8=3'] Exploring Operation: 99-59=40, Resulting Numbers: [3, 40] Generated Node #3: [3, 40] from Operation: 99-59=40 Current State: 43:[3, 40], Operations: ['11-8=3', '99-59=40'] Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[11, 8, 59, 99], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [8, 99, 48] Generated Node #0,0: 43:[8, 99, 48] Operation: 59-11=48 Exploring Operation: 99-59=40, Resulting Numbers: [11, 8, 40] Generated Node #0,1: 43:[11, 8, 40] Operation: 99-59=40 Exploring Operation: 99-11=88, Resulting Numbers: [8, 59, 88] Generated Node #0,2: 43:[8, 59, 88] Operation: 99-11=88 Exploring Operation: 99/11=9, Resulting Numbers: [8, 59, 9] Generated Node #0,3: 43:[8, 59, 9] Operation: 99/11=9 Exploring Operation: 11+8=19, Resulting Numbers: [59, 99, 19] Generated Node #0,4: 43:[59, 99, 19] Operation: 11+8=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[11, 8, 40], Operations: ['99-59=40'] Exploring Operation: 11+40=51, Resulting Numbers: [8, 51] Generated Node #0,1,0: 43:[8, 51] Operation: 11+40=51 Exploring Operation: 8+40=48, Resulting Numbers: [11, 48] Generated Node #0,1,1: 43:[11, 48] Operation: 8+40=48 Exploring Operation: 11-8=3, Resulting Numbers: [40, 3] Generated Node #0,1,2: 43:[40, 3] Operation: 11-8=3 Exploring Operation: 40-8=32, Resulting Numbers: [11, 32] Generated Node #0,1,3: 43:[11, 32] Operation: 40-8=32 Exploring Operation: 11+8=19, Resulting Numbers: [40, 19] Generated Node #0,1,4: 43:[40, 19] Operation: 11+8=19 Moving to Node #0,1,4 Current State: 43:[40, 19], Operations: ['99-59=40', '11+8=19'] Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,43 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[11, 48], Operations: ['99-59=40', '8+40=48'] Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,43 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[8, 51], Operations: ['99-59=40', '11+40=51'] Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 8*51=408, Resulting Numbers: [408] 408,43 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[11, 8, 59, 99], Operations: [] Exploring Operation: 99-59=40, Resulting Numbers: [11, 8, 40] Generated Node #0,1: 43:[11, 8, 40] Operation: 99-59=40 Moving to Node #0,1 Current State: 43:[11, 8, 40], Operations: ['99-59=40'] Exploring Operation: 11+40=51, Resulting Numbers: [8, 51] Generated Node #0,1,0: 43:[8, 51] Operation: 11+40=51 Moving to Node #0,1,0 Current State: 43:[8, 51], Operations: ['99-59=40', '11+40=51'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 18, 92, 35, 25 ]
64
[ "92-18=74", "35-25=10", "74-10=64" ]
Current State: 64:[18, 92, 35, 25], Operations: [] Exploring Operation: 92-18=74, Resulting Numbers: [35, 25, 74] Generated Node #2: [35, 25, 74] from Operation: 92-18=74 Current State: 64:[35, 25, 74], Operations: ['92-18=74'] Exploring Operation: 35-25=10, Resulting Numbers: [74, 10] Generated Node #3: [74, 10] from Operation: 35-25=10 Current State: 64:[74, 10], Operations: ['92-18=74', '35-25=10'] Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[18, 92, 35, 25], Operations: [] Exploring Operation: 35-25=10, Resulting Numbers: [18, 92, 10] Generated Node #0,0: 64:[18, 92, 10] Operation: 35-25=10 Exploring Operation: 92-35=57, Resulting Numbers: [18, 25, 57] Generated Node #0,1: 64:[18, 25, 57] Operation: 92-35=57 Exploring Operation: 92-18=74, Resulting Numbers: [35, 25, 74] Generated Node #0,2: 64:[35, 25, 74] Operation: 92-18=74 Exploring Operation: 92-25=67, Resulting Numbers: [18, 35, 67] Generated Node #0,3: 64:[18, 35, 67] Operation: 92-25=67 Exploring Operation: 25-18=7, Resulting Numbers: [92, 35, 7] Generated Node #0,4: 64:[92, 35, 7] Operation: 25-18=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[18, 35, 67], Operations: ['92-25=67'] Exploring Operation: 35-18=17, Resulting Numbers: [67, 17] Generated Node #0,3,0: 64:[67, 17] Operation: 35-18=17 Exploring Operation: 18+67=85, Resulting Numbers: [35, 85] Generated Node #0,3,1: 64:[35, 85] Operation: 18+67=85 Exploring Operation: 67-35=32, Resulting Numbers: [18, 32] Generated Node #0,3,2: 64:[18, 32] Operation: 67-35=32 Exploring Operation: 67-18=49, Resulting Numbers: [35, 49] Generated Node #0,3,3: 64:[35, 49] Operation: 67-18=49 Exploring Operation: 18+35=53, Resulting Numbers: [67, 53] Generated Node #0,3,4: 64:[67, 53] Operation: 18+35=53 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 64:[18, 32], Operations: ['92-25=67', '67-35=32'] Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 18*32=576, Resulting Numbers: [576] 576,64 unequal: No Solution Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 64:[67, 17], Operations: ['92-25=67', '35-18=17'] Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 67+17=84, Resulting Numbers: [84] 84,64 unequal: No Solution Exploring Operation: 67*17=1139, Resulting Numbers: [1139] 1139,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 64:[67, 53], Operations: ['92-25=67', '18+35=53'] Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 67*53=3551, Resulting Numbers: [3551] 3551,64 unequal: No Solution Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 64:[35, 49], Operations: ['92-25=67', '67-18=49'] Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,64 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,64 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 64:[35, 85], Operations: ['92-25=67', '18+67=85'] Exploring Operation: 35+85=120, Resulting Numbers: [120] 120,64 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 35*85=2975, Resulting Numbers: [2975] 2975,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[18, 25, 57], Operations: ['92-35=57'] Exploring Operation: 57-18=39, Resulting Numbers: [25, 39] Generated Node #0,1,0: 64:[25, 39] Operation: 57-18=39 Exploring Operation: 57-25=32, Resulting Numbers: [18, 32] Generated Node #0,1,1: 64:[18, 32] Operation: 57-25=32 Exploring Operation: 18+57=75, Resulting Numbers: [25, 75] Generated Node #0,1,2: 64:[25, 75] Operation: 18+57=75 Exploring Operation: 18+25=43, Resulting Numbers: [57, 43] Generated Node #0,1,3: 64:[57, 43] Operation: 18+25=43 Exploring Operation: 25-18=7, Resulting Numbers: [57, 7] Generated Node #0,1,4: 64:[57, 7] Operation: 25-18=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[18, 32], Operations: ['92-35=57', '57-25=32'] Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 18*32=576, Resulting Numbers: [576] 576,64 unequal: No Solution Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 64:[57, 7], Operations: ['92-35=57', '25-18=7'] Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[18, 92, 35, 25], Operations: [] Exploring Operation: 92-35=57, Resulting Numbers: [18, 25, 57] Generated Node #0,1: 64:[18, 25, 57] Operation: 92-35=57 Moving to Node #0,1 Current State: 64:[18, 25, 57], Operations: ['92-35=57'] Exploring Operation: 25-18=7, Resulting Numbers: [57, 7] Generated Node #0,1,4: 64:[57, 7] Operation: 25-18=7 Moving to Node #0,1,4 Current State: 64:[57, 7], Operations: ['92-35=57', '25-18=7'] Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 8, 33, 46, 77 ]
98
[ "33-8=25", "46+77=123", "123-25=98" ]
Current State: 98:[8, 33, 46, 77], Operations: [] Exploring Operation: 33-8=25, Resulting Numbers: [46, 77, 25] Generated Node #2: [46, 77, 25] from Operation: 33-8=25 Current State: 98:[46, 77, 25], Operations: ['33-8=25'] Exploring Operation: 46+77=123, Resulting Numbers: [25, 123] Generated Node #3: [25, 123] from Operation: 46+77=123 Current State: 98:[25, 123], Operations: ['33-8=25', '46+77=123'] Exploring Operation: 123-25=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[8, 33, 46, 77], Operations: [] Exploring Operation: 33+77=110, Resulting Numbers: [8, 46, 110] Generated Node #0,0: 98:[8, 46, 110] Operation: 33+77=110 Exploring Operation: 77-33=44, Resulting Numbers: [8, 46, 44] Generated Node #0,1: 98:[8, 46, 44] Operation: 77-33=44 Moving to Node #0,1 Current State: 98:[8, 46, 44], Operations: ['77-33=44'] Exploring Operation: 46-44=2, Resulting Numbers: [8, 2] Generated Node #0,1,0: 98:[8, 2] Operation: 46-44=2 Exploring Operation: 8+44=52, Resulting Numbers: [46, 52] Generated Node #0,1,1: 98:[46, 52] Operation: 8+44=52 Moving to Node #0,0 Current State: 98:[8, 46, 110], Operations: ['33+77=110'] Exploring Operation: 110-46=64, Resulting Numbers: [8, 64] Generated Node #0,0,0: 98:[8, 64] Operation: 110-46=64 Exploring Operation: 110-8=102, Resulting Numbers: [46, 102] Generated Node #0,0,1: 98:[46, 102] Operation: 110-8=102 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[46, 102], Operations: ['33+77=110', '110-8=102'] Exploring Operation: 102-46=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 46+102=148, Resulting Numbers: [148] 148,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[8, 64], Operations: ['33+77=110', '110-46=64'] Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,98 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: 98:[8, 2], Operations: ['77-33=44', '46-44=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[46, 52], Operations: ['77-33=44', '8+44=52'] Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 46+52=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[8, 33, 46, 77], Operations: [] Exploring Operation: 77-33=44, Resulting Numbers: [8, 46, 44] Generated Node #0,1: 98:[8, 46, 44] Operation: 77-33=44 Moving to Node #0,1 Current State: 98:[8, 46, 44], Operations: ['77-33=44'] Exploring Operation: 8+44=52, Resulting Numbers: [46, 52] Generated Node #0,1,1: 98:[46, 52] Operation: 8+44=52 Moving to Node #0,1,1 Current State: 98:[46, 52], Operations: ['77-33=44', '8+44=52'] Exploring Operation: 46+52=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 68, 63, 5, 40 ]
39
[ "68-63=5", "5/5=1", "40-1=39" ]
Current State: 39:[68, 63, 5, 40], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [5, 40, 5] Generated Node #2: [5, 40, 5] from Operation: 68-63=5 Current State: 39:[5, 40, 5], Operations: ['68-63=5'] Exploring Operation: 5/5=1, Resulting Numbers: [40, 1] Generated Node #3: [40, 1] from Operation: 5/5=1 Current State: 39:[40, 1], Operations: ['68-63=5', '5/5=1'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[68, 63, 5, 40], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [5, 40, 5] Generated Node #0,0: 39:[5, 40, 5] Operation: 68-63=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[5, 40, 5], Operations: ['68-63=5'] Exploring Operation: 5/5=1, Resulting Numbers: [40, 1] Generated Node #0,0,0: 39:[40, 1] Operation: 5/5=1 Moving to Node #0,0,0 Current State: 39:[40, 1], Operations: ['68-63=5', '5/5=1'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[68, 63, 5, 40], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [5, 40, 5] Generated Node #0,0: 39:[5, 40, 5] Operation: 68-63=5 Moving to Node #0,0 Current State: 39:[5, 40, 5], Operations: ['68-63=5'] Exploring Operation: 5/5=1, Resulting Numbers: [40, 1] Generated Node #0,0,0: 39:[40, 1] Operation: 5/5=1 Moving to Node #0,0,0 Current State: 39:[40, 1], Operations: ['68-63=5', '5/5=1'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 66, 49, 24, 28 ]
24
[ "66-24=42", "28*42=1176", "1176/49=24" ]
Current State: 24:[66, 49, 24, 28], Operations: [] Exploring Operation: 66-24=42, Resulting Numbers: [49, 28, 42] Generated Node #2: [49, 28, 42] from Operation: 66-24=42 Current State: 24:[49, 28, 42], Operations: ['66-24=42'] Exploring Operation: 28*42=1176, Resulting Numbers: [49, 1176] Generated Node #3: [49, 1176] from Operation: 28*42=1176 Current State: 24:[49, 1176], Operations: ['66-24=42', '28*42=1176'] Exploring Operation: 1176/49=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[66, 49, 24, 28], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [24, 28, 17] Generated Node #0,0: 24:[24, 28, 17] Operation: 66-49=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[24, 28, 17], Operations: ['66-49=17'] Exploring Operation: 28-17=11, Resulting Numbers: [24, 11] Generated Node #0,0,0: 24:[24, 11] Operation: 28-17=11 Moving to Node #0,0,0 Current State: 24:[24, 11], Operations: ['66-49=17', '28-17=11'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 57, 31, 9, 21 ]
16
[ "31*9=279", "57+279=336", "336/21=16" ]
Current State: 16:[57, 31, 9, 21], Operations: [] Exploring Operation: 31*9=279, Resulting Numbers: [57, 21, 279] Generated Node #2: [57, 21, 279] from Operation: 31*9=279 Current State: 16:[57, 21, 279], Operations: ['31*9=279'] Exploring Operation: 57+279=336, Resulting Numbers: [21, 336] Generated Node #3: [21, 336] from Operation: 57+279=336 Current State: 16:[21, 336], Operations: ['31*9=279', '57+279=336'] Exploring Operation: 336/21=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[57, 31, 9, 21], Operations: [] Exploring Operation: 57-31=26, Resulting Numbers: [9, 21, 26] Generated Node #0,0: 16:[9, 21, 26] Operation: 57-31=26 Exploring Operation: 57-21=36, Resulting Numbers: [31, 9, 36] Generated Node #0,1: 16:[31, 9, 36] Operation: 57-21=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[9, 21, 26], Operations: ['57-31=26'] Exploring Operation: 26-9=17, Resulting Numbers: [21, 17] Generated Node #0,0,0: 16:[21, 17] Operation: 26-9=17 Exploring Operation: 26-21=5, Resulting Numbers: [9, 5] Generated Node #0,0,1: 16:[9, 5] Operation: 26-21=5 Moving to Node #0,0,1 Current State: 16:[9, 5], Operations: ['57-31=26', '26-21=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[21, 17], Operations: ['57-31=26', '26-9=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[31, 9, 36], Operations: ['57-21=36'] Exploring Operation: 36/9=4, Resulting Numbers: [31, 4] Generated Node #0,1,0: 16:[31, 4] Operation: 36/9=4 Exploring Operation: 36-31=5, Resulting Numbers: [9, 5] Generated Node #0,1,1: 16:[9, 5] Operation: 36-31=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[9, 5], Operations: ['57-21=36', '36-31=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[31, 4], Operations: ['57-21=36', '36/9=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 81, 26, 29, 88 ]
21
[ "88-81=7", "29-26=3", "7*3=21" ]
Current State: 21:[81, 26, 29, 88], Operations: [] Exploring Operation: 88-81=7, Resulting Numbers: [26, 29, 7] Generated Node #2: [26, 29, 7] from Operation: 88-81=7 Current State: 21:[26, 29, 7], Operations: ['88-81=7'] Exploring Operation: 29-26=3, Resulting Numbers: [7, 3] Generated Node #3: [7, 3] from Operation: 29-26=3 Current State: 21:[7, 3], Operations: ['88-81=7', '29-26=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[81, 26, 29, 88], Operations: [] Exploring Operation: 88-29=59, Resulting Numbers: [81, 26, 59] Generated Node #0,0: 21:[81, 26, 59] Operation: 88-29=59 Exploring Operation: 81-26=55, Resulting Numbers: [29, 88, 55] Generated Node #0,1: 21:[29, 88, 55] Operation: 81-26=55 Exploring Operation: 88-81=7, Resulting Numbers: [26, 29, 7] Generated Node #0,2: 21:[26, 29, 7] Operation: 88-81=7 Exploring Operation: 81-29=52, Resulting Numbers: [26, 88, 52] Generated Node #0,3: 21:[26, 88, 52] Operation: 81-29=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[26, 29, 7], Operations: ['88-81=7'] Exploring Operation: 29-7=22, Resulting Numbers: [26, 22] Generated Node #0,2,0: 21:[26, 22] Operation: 29-7=22 Exploring Operation: 26+7=33, Resulting Numbers: [29, 33] Generated Node #0,2,1: 21:[29, 33] Operation: 26+7=33 Exploring Operation: 29-26=3, Resulting Numbers: [7, 3] Generated Node #0,2,2: 21:[7, 3] Operation: 29-26=3 Exploring Operation: 26-7=19, Resulting Numbers: [29, 19] Generated Node #0,2,3: 21:[29, 19] Operation: 26-7=19 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[7, 3], Operations: ['88-81=7', '29-26=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[81, 26, 29, 88], Operations: [] Exploring Operation: 88-81=7, Resulting Numbers: [26, 29, 7] Generated Node #0,2: 21:[26, 29, 7] Operation: 88-81=7 Moving to Node #0,2 Current State: 21:[26, 29, 7], Operations: ['88-81=7'] Exploring Operation: 29-26=3, Resulting Numbers: [7, 3] Generated Node #0,2,2: 21:[7, 3] Operation: 29-26=3 Moving to Node #0,2,2 Current State: 21:[7, 3], Operations: ['88-81=7', '29-26=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 33, 63, 22, 81 ]
89
[ "63-33=30", "81-22=59", "30+59=89" ]
Current State: 89:[33, 63, 22, 81], Operations: [] Exploring Operation: 63-33=30, Resulting Numbers: [22, 81, 30] Generated Node #2: [22, 81, 30] from Operation: 63-33=30 Current State: 89:[22, 81, 30], Operations: ['63-33=30'] Exploring Operation: 81-22=59, Resulting Numbers: [30, 59] Generated Node #3: [30, 59] from Operation: 81-22=59 Current State: 89:[30, 59], Operations: ['63-33=30', '81-22=59'] Exploring Operation: 30+59=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[33, 63, 22, 81], Operations: [] Exploring Operation: 33+63=96, Resulting Numbers: [22, 81, 96] Generated Node #0,0: 89:[22, 81, 96] Operation: 33+63=96 Exploring Operation: 22+81=103, Resulting Numbers: [33, 63, 103] Generated Node #0,1: 89:[33, 63, 103] Operation: 22+81=103 Exploring Operation: 33+22=55, Resulting Numbers: [63, 81, 55] Generated Node #0,2: 89:[63, 81, 55] Operation: 33+22=55 Exploring Operation: 33-22=11, Resulting Numbers: [63, 81, 11] Generated Node #0,3: 89:[63, 81, 11] Operation: 33-22=11 Exploring Operation: 63+22=85, Resulting Numbers: [33, 81, 85] Generated Node #0,4: 89:[33, 81, 85] Operation: 63+22=85 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[63, 81, 55], Operations: ['33+22=55'] Exploring Operation: 63+81=144, Resulting Numbers: [55, 144] Generated Node #0,2,0: 89:[55, 144] Operation: 63+81=144 Exploring Operation: 63+55=118, Resulting Numbers: [81, 118] Generated Node #0,2,1: 89:[81, 118] Operation: 63+55=118 Exploring Operation: 81-55=26, Resulting Numbers: [63, 26] Generated Node #0,2,2: 89:[63, 26] Operation: 81-55=26 Exploring Operation: 63-55=8, Resulting Numbers: [81, 8] Generated Node #0,2,3: 89:[81, 8] Operation: 63-55=8 Exploring Operation: 81+55=136, Resulting Numbers: [63, 136] Generated Node #0,2,4: 89:[63, 136] Operation: 81+55=136 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[81, 118], Operations: ['33+22=55', '63+55=118'] Exploring Operation: 118-81=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 81+118=199, Resulting Numbers: [199] 199,89 unequal: No Solution Exploring Operation: 81*118=9558, Resulting Numbers: [9558] 9558,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 89:[63, 136], Operations: ['33+22=55', '81+55=136'] Exploring Operation: 63*136=8568, Resulting Numbers: [8568] 8568,89 unequal: No Solution Exploring Operation: 136-63=73, Resulting Numbers: [73] 73,89 unequal: No Solution Exploring Operation: 63+136=199, Resulting Numbers: [199] 199,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[55, 144], Operations: ['33+22=55', '63+81=144'] Exploring Operation: 55+144=199, Resulting Numbers: [199] 199,89 unequal: No Solution Exploring Operation: 144-55=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[33, 63, 22, 81], Operations: [] Exploring Operation: 33+22=55, Resulting Numbers: [63, 81, 55] Generated Node #0,2: 89:[63, 81, 55] Operation: 33+22=55 Moving to Node #0,2 Current State: 89:[63, 81, 55], Operations: ['33+22=55'] Exploring Operation: 63+81=144, Resulting Numbers: [55, 144] Generated Node #0,2,0: 89:[55, 144] Operation: 63+81=144 Moving to Node #0,2,0 Current State: 89:[55, 144], Operations: ['33+22=55', '63+81=144'] Exploring Operation: 144-55=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 51, 42, 10, 91 ]
90
[ "51-42=9", "91-10=81", "9+81=90" ]
Current State: 90:[51, 42, 10, 91], Operations: [] Exploring Operation: 51-42=9, Resulting Numbers: [10, 91, 9] Generated Node #2: [10, 91, 9] from Operation: 51-42=9 Current State: 90:[10, 91, 9], Operations: ['51-42=9'] Exploring Operation: 91-10=81, Resulting Numbers: [9, 81] Generated Node #3: [9, 81] from Operation: 91-10=81 Current State: 90:[9, 81], Operations: ['51-42=9', '91-10=81'] Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[51, 42, 10, 91], Operations: [] Exploring Operation: 51-10=41, Resulting Numbers: [42, 91, 41] Generated Node #0,0: 90:[42, 91, 41] Operation: 51-10=41 Exploring Operation: 91-51=40, Resulting Numbers: [42, 10, 40] Generated Node #0,1: 90:[42, 10, 40] Operation: 91-51=40 Exploring Operation: 51-42=9, Resulting Numbers: [10, 91, 9] Generated Node #0,2: 90:[10, 91, 9] Operation: 51-42=9 Exploring Operation: 51+42=93, Resulting Numbers: [10, 91, 93] Generated Node #0,3: 90:[10, 91, 93] Operation: 51+42=93 Exploring Operation: 42-10=32, Resulting Numbers: [51, 91, 32] Generated Node #0,4: 90:[51, 91, 32] Operation: 42-10=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[10, 91, 9], Operations: ['51-42=9'] Exploring Operation: 91-10=81, Resulting Numbers: [9, 81] Generated Node #0,2,0: 90:[9, 81] Operation: 91-10=81 Exploring Operation: 10*9=90, Resulting Numbers: [91, 90] Generated Node #0,2,1: 90:[91, 90] Operation: 10*9=90 Exploring Operation: 91-9=82, Resulting Numbers: [10, 82] Generated Node #0,2,2: 90:[10, 82] Operation: 91-9=82 Exploring Operation: 10-9=1, Resulting Numbers: [91, 1] Generated Node #0,2,3: 90:[91, 1] Operation: 10-9=1 Exploring Operation: 10+9=19, Resulting Numbers: [91, 19] Generated Node #0,2,4: 90:[91, 19] Operation: 10+9=19 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 90:[91, 90], Operations: ['51-42=9', '10*9=90'] Exploring Operation: 91*90=8190, Resulting Numbers: [8190] 8190,90 unequal: No Solution Exploring Operation: 91+90=181, Resulting Numbers: [181] 181,90 unequal: No Solution Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,90 unequal: No Solution No 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: 90:[91, 1], Operations: ['51-42=9', '10-9=1'] Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,90 unequal: No Solution Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[51, 42, 10, 91], Operations: [] Exploring Operation: 51-42=9, Resulting Numbers: [10, 91, 9] Generated Node #0,2: 90:[10, 91, 9] Operation: 51-42=9 Moving to Node #0,2 Current State: 90:[10, 91, 9], Operations: ['51-42=9'] Exploring Operation: 10-9=1, Resulting Numbers: [91, 1] Generated Node #0,2,3: 90:[91, 1] Operation: 10-9=1 Moving to Node #0,2,3 Current State: 90:[91, 1], Operations: ['51-42=9', '10-9=1'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 85, 11, 87, 94 ]
89
[ "85+11=96", "94-87=7", "96-7=89" ]
Current State: 89:[85, 11, 87, 94], Operations: [] Exploring Operation: 85+11=96, Resulting Numbers: [87, 94, 96] Generated Node #2: [87, 94, 96] from Operation: 85+11=96 Current State: 89:[87, 94, 96], Operations: ['85+11=96'] Exploring Operation: 94-87=7, Resulting Numbers: [96, 7] Generated Node #3: [96, 7] from Operation: 94-87=7 Current State: 89:[96, 7], Operations: ['85+11=96', '94-87=7'] Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[85, 11, 87, 94], Operations: [] Exploring Operation: 11+87=98, Resulting Numbers: [85, 94, 98] Generated Node #0,0: 89:[85, 94, 98] Operation: 11+87=98 Exploring Operation: 94-11=83, Resulting Numbers: [85, 87, 83] Generated Node #0,1: 89:[85, 87, 83] Operation: 94-11=83 Exploring Operation: 85+11=96, Resulting Numbers: [87, 94, 96] Generated Node #0,2: 89:[87, 94, 96] Operation: 85+11=96 Moving to Node #0,1 Current State: 89:[85, 87, 83], Operations: ['94-11=83'] Exploring Operation: 85+87=172, Resulting Numbers: [83, 172] Generated Node #0,1,0: 89:[83, 172] Operation: 85+87=172 Exploring Operation: 87+83=170, Resulting Numbers: [85, 170] Generated Node #0,1,1: 89:[85, 170] Operation: 87+83=170 Exploring Operation: 85+83=168, Resulting Numbers: [87, 168] Generated Node #0,1,2: 89:[87, 168] Operation: 85+83=168 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[87, 168], Operations: ['94-11=83', '85+83=168'] Exploring Operation: 87*168=14616, Resulting Numbers: [14616] 14616,89 unequal: No Solution Exploring Operation: 87+168=255, Resulting Numbers: [255] 255,89 unequal: No Solution Exploring Operation: 168-87=81, Resulting Numbers: [81] 81,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[85, 170], Operations: ['94-11=83', '87+83=170'] Exploring Operation: 85+170=255, Resulting Numbers: [255] 255,89 unequal: No Solution Exploring Operation: 170-85=85, Resulting Numbers: [85] 85,89 unequal: No Solution Exploring Operation: 170/85=2, Resulting Numbers: [2] 2,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[83, 172], Operations: ['94-11=83', '85+87=172'] Exploring Operation: 83*172=14276, Resulting Numbers: [14276] 14276,89 unequal: No Solution Exploring Operation: 172-83=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[85, 11, 87, 94], Operations: [] Exploring Operation: 94-11=83, Resulting Numbers: [85, 87, 83] Generated Node #0,1: 89:[85, 87, 83] Operation: 94-11=83 Moving to Node #0,1 Current State: 89:[85, 87, 83], Operations: ['94-11=83'] Exploring Operation: 85+87=172, Resulting Numbers: [83, 172] Generated Node #0,1,0: 89:[83, 172] Operation: 85+87=172 Moving to Node #0,1,0 Current State: 89:[83, 172], Operations: ['94-11=83', '85+87=172'] Exploring Operation: 172-83=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 93, 86, 69, 86 ]
93
[ "86-86=0", "69*0=0", "93+0=93" ]
Current State: 93:[93, 86, 69, 86], Operations: [] Exploring Operation: 86-86=0, Resulting Numbers: [93, 69, 0] Generated Node #2: [93, 69, 0] from Operation: 86-86=0 Current State: 93:[93, 69, 0], Operations: ['86-86=0'] Exploring Operation: 69*0=0, Resulting Numbers: [93, 0] Generated Node #3: [93, 0] from Operation: 69*0=0 Current State: 93:[93, 0], Operations: ['86-86=0', '69*0=0'] Exploring Operation: 93+0=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[93, 86, 69, 86], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [86, 86, 24] Generated Node #0,0: 93:[86, 86, 24] Operation: 93-69=24 Exploring Operation: 86-69=17, Resulting Numbers: [93, 86, 17] Generated Node #0,1: 93:[93, 86, 17] Operation: 86-69=17 Exploring Operation: 86-69=17, Resulting Numbers: [93, 86, 17] Generated Node #0,2: 93:[93, 86, 17] Operation: 86-69=17 Exploring Operation: 86/86=1, Resulting Numbers: [93, 69, 1] Generated Node #0,3: 93:[93, 69, 1] Operation: 86/86=1 Moving to Node #0,0 Current State: 93:[86, 86, 24], Operations: ['93-69=24'] Exploring Operation: 86-86=0, Resulting Numbers: [24, 0] Generated Node #0,0,0: 93:[24, 0] Operation: 86-86=0 Exploring Operation: 86/86=1, Resulting Numbers: [24, 1] Generated Node #0,0,1: 93:[24, 1] Operation: 86/86=1 Exploring Operation: 86+24=110, Resulting Numbers: [86, 110] Generated Node #0,0,2: 93:[86, 110] Operation: 86+24=110 Exploring Operation: 86+24=110, Resulting Numbers: [86, 110] Generated Node #0,0,3: 93:[86, 110] Operation: 86+24=110 Moving to Node #0,2 Current State: 93:[93, 86, 17], Operations: ['86-69=17'] Exploring Operation: 86+17=103, Resulting Numbers: [93, 103] Generated Node #0,2,0: 93:[93, 103] Operation: 86+17=103 Exploring Operation: 93-86=7, Resulting Numbers: [17, 7] Generated Node #0,2,1: 93:[17, 7] Operation: 93-86=7 Exploring Operation: 93+17=110, Resulting Numbers: [86, 110] Generated Node #0,2,2: 93:[86, 110] Operation: 93+17=110 Exploring Operation: 93-17=76, Resulting Numbers: [86, 76] Generated Node #0,2,3: 93:[86, 76] Operation: 93-17=76 Moving to Node #0,1 Current State: 93:[93, 86, 17], Operations: ['86-69=17'] Exploring Operation: 93-17=76, Resulting Numbers: [86, 76] Generated Node #0,1,0: 93:[86, 76] Operation: 93-17=76 Exploring Operation: 86+17=103, Resulting Numbers: [93, 103] Generated Node #0,1,1: 93:[93, 103] Operation: 86+17=103 Exploring Operation: 93+17=110, Resulting Numbers: [86, 110] Generated Node #0,1,2: 93:[86, 110] Operation: 93+17=110 Exploring Operation: 93-86=7, Resulting Numbers: [17, 7] Generated Node #0,1,3: 93:[17, 7] Operation: 93-86=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[93, 103], Operations: ['86-69=17', '86+17=103'] Exploring Operation: 93+103=196, Resulting Numbers: [196] 196,93 unequal: No Solution Exploring Operation: 103-93=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 93*103=9579, Resulting Numbers: [9579] 9579,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,3 Current State: 93:[17, 7], Operations: ['86-69=17', '93-86=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,93 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,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:[86, 76], Operations: ['86-69=17', '93-17=76'] Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 86*76=6536, Resulting Numbers: [6536] 6536,93 unequal: No Solution Exploring Operation: 86+76=162, Resulting Numbers: [162] 162,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[86, 110], Operations: ['86-69=17', '93+17=110'] Exploring Operation: 86*110=9460, Resulting Numbers: [9460] 9460,93 unequal: No Solution Exploring Operation: 86+110=196, Resulting Numbers: [196] 196,93 unequal: No Solution Exploring Operation: 110-86=24, Resulting Numbers: [24] 24,93 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: 93:[93, 69, 1], Operations: ['86/86=1'] Exploring Operation: 93/1=93, Resulting Numbers: [69, 93] Generated Node #0,3,0: 93:[69, 93] Operation: 93/1=93 Exploring Operation: 93*1=93, Resulting Numbers: [69, 93] Generated Node #0,3,1: 93:[69, 93] Operation: 93*1=93 Exploring Operation: 93-69=24, Resulting Numbers: [1, 24] Generated Node #0,3,2: 93:[1, 24] Operation: 93-69=24 Exploring Operation: 69+1=70, Resulting Numbers: [93, 70] Generated Node #0,3,3: 93:[93, 70] Operation: 69+1=70 Moving to Node #0,0,1 Current State: 93:[24, 1], Operations: ['93-69=24', '86/86=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[1, 24], Operations: ['86/86=1', '93-69=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[93, 103], Operations: ['86-69=17', '86+17=103'] Exploring Operation: 93*103=9579, Resulting Numbers: [9579] 9579,93 unequal: No Solution Exploring Operation: 103-93=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 93+103=196, Resulting Numbers: [196] 196,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[24, 0], Operations: ['93-69=24', '86-86=0'] Exploring Operation: 24+0=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 24-0=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 24*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[17, 7], Operations: ['86-69=17', '93-86=7'] Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,93 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[93, 70], Operations: ['86/86=1', '69+1=70'] Exploring Operation: 93+70=163, Resulting Numbers: [163] 163,93 unequal: No Solution Exploring Operation: 93*70=6510, Resulting Numbers: [6510] 6510,93 unequal: No Solution Exploring Operation: 93-70=23, Resulting Numbers: [23] 23,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[86, 110], Operations: ['86-69=17', '93+17=110'] Exploring Operation: 86+110=196, Resulting Numbers: [196] 196,93 unequal: No Solution Exploring Operation: 110-86=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 86*110=9460, Resulting Numbers: [9460] 9460,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[86, 110], Operations: ['93-69=24', '86+24=110'] Exploring Operation: 110-86=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 86*110=9460, Resulting Numbers: [9460] 9460,93 unequal: No Solution Exploring Operation: 86+110=196, Resulting Numbers: [196] 196,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[69, 93], Operations: ['86/86=1', '93/1=93'] Exploring Operation: 93-69=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 69*93=6417, Resulting Numbers: [6417] 6417,93 unequal: No Solution Exploring Operation: 69+93=162, Resulting Numbers: [162] 162,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[86, 76], Operations: ['86-69=17', '93-17=76'] Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 86+76=162, Resulting Numbers: [162] 162,93 unequal: No Solution Exploring Operation: 86*76=6536, Resulting Numbers: [6536] 6536,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[69, 93], Operations: ['86/86=1', '93*1=93'] Exploring Operation: 69*93=6417, Resulting Numbers: [6417] 6417,93 unequal: No Solution Exploring Operation: 93-69=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 69+93=162, Resulting Numbers: [162] 162,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[86, 110], Operations: ['93-69=24', '86+24=110'] Exploring Operation: 86*110=9460, Resulting Numbers: [9460] 9460,93 unequal: No Solution Exploring Operation: 110-86=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 86+110=196, Resulting Numbers: [196] 196,93 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 31, 88, 16, 33 ]
70
[ "31+88=119", "16+33=49", "119-49=70" ]
Current State: 70:[31, 88, 16, 33], Operations: [] Exploring Operation: 31+88=119, Resulting Numbers: [16, 33, 119] Generated Node #2: [16, 33, 119] from Operation: 31+88=119 Current State: 70:[16, 33, 119], Operations: ['31+88=119'] Exploring Operation: 16+33=49, Resulting Numbers: [119, 49] Generated Node #3: [119, 49] from Operation: 16+33=49 Current State: 70:[119, 49], Operations: ['31+88=119', '16+33=49'] Exploring Operation: 119-49=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[31, 88, 16, 33], Operations: [] Exploring Operation: 88-16=72, Resulting Numbers: [31, 33, 72] Generated Node #0,0: 70:[31, 33, 72] Operation: 88-16=72 Exploring Operation: 33-31=2, Resulting Numbers: [88, 16, 2] Generated Node #0,1: 70:[88, 16, 2] Operation: 33-31=2 Exploring Operation: 31-16=15, Resulting Numbers: [88, 33, 15] Generated Node #0,2: 70:[88, 33, 15] Operation: 31-16=15 Exploring Operation: 88-31=57, Resulting Numbers: [16, 33, 57] Generated Node #0,3: 70:[16, 33, 57] Operation: 88-31=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[31, 33, 72], Operations: ['88-16=72'] Exploring Operation: 72-31=41, Resulting Numbers: [33, 41] Generated Node #0,0,0: 70:[33, 41] Operation: 72-31=41 Exploring Operation: 31+33=64, Resulting Numbers: [72, 64] Generated Node #0,0,1: 70:[72, 64] Operation: 31+33=64 Exploring Operation: 72-33=39, Resulting Numbers: [31, 39] Generated Node #0,0,2: 70:[31, 39] Operation: 72-33=39 Exploring Operation: 33-31=2, Resulting Numbers: [72, 2] Generated Node #0,0,3: 70:[72, 2] Operation: 33-31=2 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 70:[72, 2], Operations: ['88-16=72', '33-31=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[31, 88, 16, 33], Operations: [] Exploring Operation: 88-16=72, Resulting Numbers: [31, 33, 72] Generated Node #0,0: 70:[31, 33, 72] Operation: 88-16=72 Moving to Node #0,0 Current State: 70:[31, 33, 72], Operations: ['88-16=72'] Exploring Operation: 33-31=2, Resulting Numbers: [72, 2] Generated Node #0,0,3: 70:[72, 2] Operation: 33-31=2 Moving to Node #0,0,3 Current State: 70:[72, 2], Operations: ['88-16=72', '33-31=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 18, 58, 12, 74 ]
13
[ "18*58=1044", "1044/12=87", "87-74=13" ]
Current State: 13:[18, 58, 12, 74], Operations: [] Exploring Operation: 18*58=1044, Resulting Numbers: [12, 74, 1044] Generated Node #2: [12, 74, 1044] from Operation: 18*58=1044 Current State: 13:[12, 74, 1044], Operations: ['18*58=1044'] Exploring Operation: 1044/12=87, Resulting Numbers: [74, 87] Generated Node #3: [74, 87] from Operation: 1044/12=87 Current State: 13:[74, 87], Operations: ['18*58=1044', '1044/12=87'] Exploring Operation: 87-74=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[18, 58, 12, 74], Operations: [] Exploring Operation: 74-18=56, Resulting Numbers: [58, 12, 56] Generated Node #0,0: 13:[58, 12, 56] Operation: 74-18=56 Exploring Operation: 74-58=16, Resulting Numbers: [18, 12, 16] Generated Node #0,1: 13:[18, 12, 16] Operation: 74-58=16 Exploring Operation: 58-18=40, Resulting Numbers: [12, 74, 40] Generated Node #0,2: 13:[12, 74, 40] Operation: 58-18=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[18, 12, 16], Operations: ['74-58=16'] Exploring Operation: 16-12=4, Resulting Numbers: [18, 4] Generated Node #0,1,0: 13:[18, 4] Operation: 16-12=4 Exploring Operation: 18-16=2, Resulting Numbers: [12, 2] Generated Node #0,1,1: 13:[12, 2] Operation: 18-16=2 Exploring Operation: 18-12=6, Resulting Numbers: [16, 6] Generated Node #0,1,2: 13:[16, 6] Operation: 18-12=6 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 13:[16, 6], Operations: ['74-58=16', '18-12=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,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,1,1 Current State: 13:[12, 2], Operations: ['74-58=16', '18-16=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,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,1,0 Current State: 13:[18, 4], Operations: ['74-58=16', '16-12=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[58, 12, 56], Operations: ['74-18=56'] Exploring Operation: 58-12=46, Resulting Numbers: [56, 46] Generated Node #0,0,0: 13:[56, 46] Operation: 58-12=46 Exploring Operation: 58-56=2, Resulting Numbers: [12, 2] Generated Node #0,0,1: 13:[12, 2] Operation: 58-56=2 Exploring Operation: 56-12=44, Resulting Numbers: [58, 44] Generated Node #0,0,2: 13:[58, 44] Operation: 56-12=44 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[12, 2], Operations: ['74-18=56', '58-56=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,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:[56, 46], Operations: ['74-18=56', '58-12=46'] Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,13 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,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:[58, 44], Operations: ['74-18=56', '56-12=44'] Exploring Operation: 58-44=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 58+44=102, Resulting Numbers: [102] 102,13 unequal: No Solution Exploring Operation: 58*44=2552, Resulting Numbers: [2552] 2552,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,2 Current State: 13:[12, 74, 40], Operations: ['58-18=40'] Exploring Operation: 74-40=34, Resulting Numbers: [12, 34] Generated Node #0,2,0: 13:[12, 34] Operation: 74-40=34 Exploring Operation: 40-12=28, Resulting Numbers: [74, 28] Generated Node #0,2,1: 13:[74, 28] Operation: 40-12=28 Exploring Operation: 74-12=62, Resulting Numbers: [40, 62] Generated Node #0,2,2: 13:[40, 62] Operation: 74-12=62 Moving to Node #0,2,0 Current State: 13:[12, 34], Operations: ['58-18=40', '74-40=34'] Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,13 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[74, 28], Operations: ['58-18=40', '40-12=28'] Exploring Operation: 74+28=102, Resulting Numbers: [102] 102,13 unequal: No Solution Exploring Operation: 74*28=2072, Resulting Numbers: [2072] 2072,13 unequal: No Solution Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[40, 62], Operations: ['58-18=40', '74-12=62'] Exploring Operation: 62-40=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 40*62=2480, Resulting Numbers: [2480] 2480,13 unequal: No Solution Exploring Operation: 40+62=102, Resulting Numbers: [102] 102,13 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
[ 32, 77, 71, 94 ]
56
[ "32+77=109", "71+94=165", "165-109=56" ]
Current State: 56:[32, 77, 71, 94], Operations: [] Exploring Operation: 32+77=109, Resulting Numbers: [71, 94, 109] Generated Node #2: [71, 94, 109] from Operation: 32+77=109 Current State: 56:[71, 94, 109], Operations: ['32+77=109'] Exploring Operation: 71+94=165, Resulting Numbers: [109, 165] Generated Node #3: [109, 165] from Operation: 71+94=165 Current State: 56:[109, 165], Operations: ['32+77=109', '71+94=165'] Exploring Operation: 165-109=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[32, 77, 71, 94], Operations: [] Exploring Operation: 94-77=17, Resulting Numbers: [32, 71, 17] Generated Node #0,0: 56:[32, 71, 17] Operation: 94-77=17 Exploring Operation: 94-71=23, Resulting Numbers: [32, 77, 23] Generated Node #0,1: 56:[32, 77, 23] Operation: 94-71=23 Exploring Operation: 94-32=62, Resulting Numbers: [77, 71, 62] Generated Node #0,2: 56:[77, 71, 62] Operation: 94-32=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[32, 71, 17], Operations: ['94-77=17'] Exploring Operation: 32-17=15, Resulting Numbers: [71, 15] Generated Node #0,0,0: 56:[71, 15] Operation: 32-17=15 Exploring Operation: 71-32=39, Resulting Numbers: [17, 39] Generated Node #0,0,1: 56:[17, 39] Operation: 71-32=39 Exploring Operation: 71-17=54, Resulting Numbers: [32, 54] Generated Node #0,0,2: 56:[32, 54] Operation: 71-17=54 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[32, 54], Operations: ['94-77=17', '71-17=54'] Exploring Operation: 32+54=86, Resulting Numbers: [86] 86,56 unequal: No Solution Exploring Operation: 32*54=1728, Resulting Numbers: [1728] 1728,56 unequal: No Solution Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,56 unequal: No Solution No 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: 56:[17, 39], Operations: ['94-77=17', '71-32=39'] Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[32, 77, 71, 94], Operations: [] Exploring Operation: 94-77=17, Resulting Numbers: [32, 71, 17] Generated Node #0,0: 56:[32, 71, 17] Operation: 94-77=17 Moving to Node #0,0 Current State: 56:[32, 71, 17], Operations: ['94-77=17'] Exploring Operation: 71-32=39, Resulting Numbers: [17, 39] Generated Node #0,0,1: 56:[17, 39] Operation: 71-32=39 Moving to Node #0,0,1 Current State: 56:[17, 39], Operations: ['94-77=17', '71-32=39'] Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 82, 54, 18, 68 ]
42
[ "82-68=14", "54/18=3", "14*3=42" ]
Current State: 42:[82, 54, 18, 68], Operations: [] Exploring Operation: 82-68=14, Resulting Numbers: [54, 18, 14] Generated Node #2: [54, 18, 14] from Operation: 82-68=14 Current State: 42:[54, 18, 14], Operations: ['82-68=14'] Exploring Operation: 54/18=3, Resulting Numbers: [14, 3] Generated Node #3: [14, 3] from Operation: 54/18=3 Current State: 42:[14, 3], Operations: ['82-68=14', '54/18=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[82, 54, 18, 68], Operations: [] Exploring Operation: 82-68=14, Resulting Numbers: [54, 18, 14] Generated Node #0,0: 42:[54, 18, 14] Operation: 82-68=14 Exploring Operation: 82-54=28, Resulting Numbers: [18, 68, 28] Generated Node #0,1: 42:[18, 68, 28] Operation: 82-54=28 Exploring Operation: 82-18=64, Resulting Numbers: [54, 68, 64] Generated Node #0,2: 42:[54, 68, 64] Operation: 82-18=64 Exploring Operation: 68-54=14, Resulting Numbers: [82, 18, 14] Generated Node #0,3: 42:[82, 18, 14] Operation: 68-54=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[54, 18, 14], Operations: ['82-68=14'] Exploring Operation: 54-14=40, Resulting Numbers: [18, 40] Generated Node #0,0,0: 42:[18, 40] Operation: 54-14=40 Exploring Operation: 18-14=4, Resulting Numbers: [54, 4] Generated Node #0,0,1: 42:[54, 4] Operation: 18-14=4 Exploring Operation: 54/18=3, Resulting Numbers: [14, 3] Generated Node #0,0,2: 42:[14, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [14, 36] Generated Node #0,0,3: 42:[14, 36] Operation: 54-18=36 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[14, 3], Operations: ['82-68=14', '54/18=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[82, 54, 18, 68], Operations: [] Exploring Operation: 82-68=14, Resulting Numbers: [54, 18, 14] Generated Node #0,0: 42:[54, 18, 14] Operation: 82-68=14 Moving to Node #0,0 Current State: 42:[54, 18, 14], Operations: ['82-68=14'] Exploring Operation: 54/18=3, Resulting Numbers: [14, 3] Generated Node #0,0,2: 42:[14, 3] Operation: 54/18=3 Moving to Node #0,0,2 Current State: 42:[14, 3], Operations: ['82-68=14', '54/18=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 2, 32, 22, 86 ]
81
[ "32-22=10", "10/2=5", "86-5=81" ]
Current State: 81:[2, 32, 22, 86], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [2, 86, 10] Generated Node #2: [2, 86, 10] from Operation: 32-22=10 Current State: 81:[2, 86, 10], Operations: ['32-22=10'] Exploring Operation: 10/2=5, Resulting Numbers: [86, 5] Generated Node #3: [86, 5] from Operation: 10/2=5 Current State: 81:[86, 5], Operations: ['32-22=10', '10/2=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[2, 32, 22, 86], Operations: [] Exploring Operation: 2+22=24, Resulting Numbers: [32, 86, 24] Generated Node #0,0: 81:[32, 86, 24] Operation: 2+22=24 Exploring Operation: 32-2=30, Resulting Numbers: [22, 86, 30] Generated Node #0,1: 81:[22, 86, 30] Operation: 32-2=30 Exploring Operation: 22/2=11, Resulting Numbers: [32, 86, 11] Generated Node #0,2: 81:[32, 86, 11] Operation: 22/2=11 Exploring Operation: 32-22=10, Resulting Numbers: [2, 86, 10] Generated Node #0,3: 81:[2, 86, 10] Operation: 32-22=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[2, 86, 10], Operations: ['32-22=10'] Exploring Operation: 10/2=5, Resulting Numbers: [86, 5] Generated Node #0,3,0: 81:[86, 5] Operation: 10/2=5 Exploring Operation: 86-10=76, Resulting Numbers: [2, 76] Generated Node #0,3,1: 81:[2, 76] Operation: 86-10=76 Exploring Operation: 86-2=84, Resulting Numbers: [10, 84] Generated Node #0,3,2: 81:[10, 84] Operation: 86-2=84 Exploring Operation: 10-2=8, Resulting Numbers: [86, 8] Generated Node #0,3,3: 81:[86, 8] Operation: 10-2=8 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 81:[10, 84], Operations: ['32-22=10', '86-2=84'] Exploring Operation: 10+84=94, Resulting Numbers: [94] 94,81 unequal: No Solution Exploring Operation: 84-10=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 10*84=840, Resulting Numbers: [840] 840,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:[2, 76], Operations: ['32-22=10', '86-10=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,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:[86, 8], Operations: ['32-22=10', '10-2=8'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 86*8=688, Resulting Numbers: [688] 688,81 unequal: No Solution Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,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:[86, 5], Operations: ['32-22=10', '10/2=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,81 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[2, 32, 22, 86], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [2, 86, 10] Generated Node #0,3: 81:[2, 86, 10] Operation: 32-22=10 Moving to Node #0,3 Current State: 81:[2, 86, 10], Operations: ['32-22=10'] Exploring Operation: 10/2=5, Resulting Numbers: [86, 5] Generated Node #0,3,0: 81:[86, 5] Operation: 10/2=5 Moving to Node #0,3,0 Current State: 81:[86, 5], Operations: ['32-22=10', '10/2=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_4
mult_heuristic
[ 44, 33, 81, 16 ]
64
[ "44+33=77", "81-77=4", "16*4=64" ]
Current State: 64:[44, 33, 81, 16], Operations: [] Exploring Operation: 44+33=77, Resulting Numbers: [81, 16, 77] Generated Node #2: [81, 16, 77] from Operation: 44+33=77 Current State: 64:[81, 16, 77], Operations: ['44+33=77'] Exploring Operation: 81-77=4, Resulting Numbers: [16, 4] Generated Node #3: [16, 4] from Operation: 81-77=4 Current State: 64:[16, 4], Operations: ['44+33=77', '81-77=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[44, 33, 81, 16], Operations: [] Exploring Operation: 81-44=37, Resulting Numbers: [33, 16, 37] Generated Node #0,0: 64:[33, 16, 37] Operation: 81-44=37 Moving to Node #0,0 Current State: 64:[33, 16, 37], Operations: ['81-44=37'] Exploring Operation: 37-33=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 64:[16, 4] Operation: 37-33=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[16, 4], Operations: ['81-44=37', '37-33=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[44, 33, 81, 16], Operations: [] Exploring Operation: 81-44=37, Resulting Numbers: [33, 16, 37] Generated Node #0,0: 64:[33, 16, 37] Operation: 81-44=37 Moving to Node #0,0 Current State: 64:[33, 16, 37], Operations: ['81-44=37'] Exploring Operation: 37-33=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 64:[16, 4] Operation: 37-33=4 Moving to Node #0,0,0 Current State: 64:[16, 4], Operations: ['81-44=37', '37-33=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 47, 51, 59, 73 ]
84
[ "47+51=98", "73-59=14", "98-14=84" ]
Current State: 84:[47, 51, 59, 73], Operations: [] Exploring Operation: 47+51=98, Resulting Numbers: [59, 73, 98] Generated Node #2: [59, 73, 98] from Operation: 47+51=98 Current State: 84:[59, 73, 98], Operations: ['47+51=98'] Exploring Operation: 73-59=14, Resulting Numbers: [98, 14] Generated Node #3: [98, 14] from Operation: 73-59=14 Current State: 84:[98, 14], Operations: ['47+51=98', '73-59=14'] Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[47, 51, 59, 73], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [47, 59, 22] Generated Node #0,0: 84:[47, 59, 22] Operation: 73-51=22 Exploring Operation: 59-51=8, Resulting Numbers: [47, 73, 8] Generated Node #0,1: 84:[47, 73, 8] Operation: 59-51=8 Exploring Operation: 73-59=14, Resulting Numbers: [47, 51, 14] Generated Node #0,2: 84:[47, 51, 14] Operation: 73-59=14 Exploring Operation: 59-47=12, Resulting Numbers: [51, 73, 12] Generated Node #0,3: 84:[51, 73, 12] Operation: 59-47=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[47, 51, 14], Operations: ['73-59=14'] Exploring Operation: 51-47=4, Resulting Numbers: [14, 4] Generated Node #0,2,0: 84:[14, 4] Operation: 51-47=4 Exploring Operation: 51-14=37, Resulting Numbers: [47, 37] Generated Node #0,2,1: 84:[47, 37] Operation: 51-14=37 Exploring Operation: 47-14=33, Resulting Numbers: [51, 33] Generated Node #0,2,2: 84:[51, 33] Operation: 47-14=33 Exploring Operation: 47+51=98, Resulting Numbers: [14, 98] Generated Node #0,2,3: 84:[14, 98] Operation: 47+51=98 Moving to Node #0,2,0 Current State: 84:[14, 4], Operations: ['73-59=14', '51-47=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[47, 37], Operations: ['73-59=14', '51-14=37'] Exploring Operation: 47*37=1739, Resulting Numbers: [1739] 1739,84 unequal: No Solution Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[47, 51, 59, 73], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [47, 51, 14] Generated Node #0,2: 84:[47, 51, 14] Operation: 73-59=14 Moving to Node #0,2 Current State: 84:[47, 51, 14], Operations: ['73-59=14'] Exploring Operation: 51-14=37, Resulting Numbers: [47, 37] Generated Node #0,2,1: 84:[47, 37] Operation: 51-14=37 Moving to Node #0,2,1 Current State: 84:[47, 37], Operations: ['73-59=14', '51-14=37'] Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 34, 44, 22, 80 ]
47
[ "22+80=102", "102/34=3", "44+3=47" ]
Current State: 47:[34, 44, 22, 80], Operations: [] Exploring Operation: 22+80=102, Resulting Numbers: [34, 44, 102] Generated Node #2: [34, 44, 102] from Operation: 22+80=102 Current State: 47:[34, 44, 102], Operations: ['22+80=102'] Exploring Operation: 102/34=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 102/34=3 Current State: 47:[44, 3], Operations: ['22+80=102', '102/34=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[34, 44, 22, 80], Operations: [] Exploring Operation: 34+22=56, Resulting Numbers: [44, 80, 56] Generated Node #0,0: 47:[44, 80, 56] Operation: 34+22=56 Exploring Operation: 80-22=58, Resulting Numbers: [34, 44, 58] Generated Node #0,1: 47:[34, 44, 58] Operation: 80-22=58 Exploring Operation: 80-44=36, Resulting Numbers: [34, 22, 36] Generated Node #0,2: 47:[34, 22, 36] Operation: 80-44=36 Exploring Operation: 80-34=46, Resulting Numbers: [44, 22, 46] Generated Node #0,3: 47:[44, 22, 46] Operation: 80-34=46 Exploring Operation: 44+22=66, Resulting Numbers: [34, 80, 66] Generated Node #0,4: 47:[34, 80, 66] Operation: 44+22=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[34, 44, 58], Operations: ['80-22=58'] Exploring Operation: 34+58=92, Resulting Numbers: [44, 92] Generated Node #0,1,0: 47:[44, 92] Operation: 34+58=92 Exploring Operation: 44-34=10, Resulting Numbers: [58, 10] Generated Node #0,1,1: 47:[58, 10] Operation: 44-34=10 Exploring Operation: 34+44=78, Resulting Numbers: [58, 78] Generated Node #0,1,2: 47:[58, 78] Operation: 34+44=78 Exploring Operation: 58-44=14, Resulting Numbers: [34, 14] Generated Node #0,1,3: 47:[34, 14] Operation: 58-44=14 Exploring Operation: 58-34=24, Resulting Numbers: [44, 24] Generated Node #0,1,4: 47:[44, 24] Operation: 58-34=24 Moving to Node #0,1,4 Current State: 47:[44, 24], Operations: ['80-22=58', '58-34=24'] Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,47 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[58, 78], Operations: ['80-22=58', '34+44=78'] Exploring Operation: 78-58=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 58+78=136, Resulting Numbers: [136] 136,47 unequal: No Solution Exploring Operation: 58*78=4524, Resulting Numbers: [4524] 4524,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[34, 14], Operations: ['80-22=58', '58-44=14'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[44, 92], Operations: ['80-22=58', '34+58=92'] Exploring Operation: 92-44=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 44*92=4048, Resulting Numbers: [4048] 4048,47 unequal: No Solution Exploring Operation: 44+92=136, Resulting Numbers: [136] 136,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[58, 10], Operations: ['80-22=58', '44-34=10'] Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,47 unequal: No Solution Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 58-10=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,3 Current State: 47:[44, 22, 46], Operations: ['80-34=46'] Exploring Operation: 44/22=2, Resulting Numbers: [46, 2] Generated Node #0,3,0: 47:[46, 2] Operation: 44/22=2 Exploring Operation: 22+46=68, Resulting Numbers: [44, 68] Generated Node #0,3,1: 47:[44, 68] Operation: 22+46=68 Exploring Operation: 44-22=22, Resulting Numbers: [46, 22] Generated Node #0,3,2: 47:[46, 22] Operation: 44-22=22 Exploring Operation: 46-22=24, Resulting Numbers: [44, 24] Generated Node #0,3,3: 47:[44, 24] Operation: 46-22=24 Exploring Operation: 44+22=66, Resulting Numbers: [46, 66] Generated Node #0,3,4: 47:[46, 66] Operation: 44+22=66 Moving to Node #0,3,4 Current State: 47:[46, 66], Operations: ['80-34=46', '44+22=66'] Exploring Operation: 46*66=3036, Resulting Numbers: [3036] 3036,47 unequal: No Solution Exploring Operation: 46+66=112, Resulting Numbers: [112] 112,47 unequal: No Solution Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[44, 68], Operations: ['80-34=46', '22+46=68'] Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 44+68=112, Resulting Numbers: [112] 112,47 unequal: No Solution Exploring Operation: 44*68=2992, Resulting Numbers: [2992] 2992,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[46, 22], Operations: ['80-34=46', '44-22=22'] Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,47 unequal: No Solution Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[44, 24], Operations: ['80-34=46', '46-22=24'] Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,47 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[46, 2], Operations: ['80-34=46', '44/22=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,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:[44, 80, 56], Operations: ['34+22=56'] Exploring Operation: 80-56=24, Resulting Numbers: [44, 24] Generated Node #0,0,0: 47:[44, 24] Operation: 80-56=24 Exploring Operation: 80-44=36, Resulting Numbers: [56, 36] Generated Node #0,0,1: 47:[56, 36] Operation: 80-44=36 Exploring Operation: 44+80=124, Resulting Numbers: [56, 124] Generated Node #0,0,2: 47:[56, 124] Operation: 44+80=124 Exploring Operation: 44+56=100, Resulting Numbers: [80, 100] Generated Node #0,0,3: 47:[80, 100] Operation: 44+56=100 Exploring Operation: 56-44=12, Resulting Numbers: [80, 12] Generated Node #0,0,4: 47:[80, 12] Operation: 56-44=12 Moving to Node #0,0,1 Current State: 47:[56, 36], Operations: ['34+22=56', '80-44=36'] Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 56*36=2016, Resulting Numbers: [2016] 2016,47 unequal: No Solution Exploring Operation: 56+36=92, Resulting Numbers: [92] 92,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[44, 24], Operations: ['34+22=56', '80-56=24'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,47 unequal: No Solution Moving to Node #0,0,4 Current State: 47:[80, 12], Operations: ['34+22=56', '56-44=12'] Exploring Operation: 80+12=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 80*12=960, Resulting Numbers: [960] 960,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[56, 124], Operations: ['34+22=56', '44+80=124'] Exploring Operation: 124-56=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 56*124=6944, Resulting Numbers: [6944] 6944,47 unequal: No Solution Exploring Operation: 56+124=180, Resulting Numbers: [180] 180,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[80, 100], Operations: ['34+22=56', '44+56=100'] Exploring Operation: 100-80=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 80+100=180, Resulting Numbers: [180] 180,47 unequal: No Solution Exploring Operation: 80*100=8000, Resulting Numbers: [8000] 8000,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,2 Current State: 47:[34, 22, 36], Operations: ['80-44=36'] Exploring Operation: 34+22=56, Resulting Numbers: [36, 56] Generated Node #0,2,0: 47:[36, 56] Operation: 34+22=56 Exploring Operation: 34+36=70, Resulting Numbers: [22, 70] Generated Node #0,2,1: 47:[22, 70] Operation: 34+36=70 Exploring Operation: 36-22=14, Resulting Numbers: [34, 14] Generated Node #0,2,2: 47:[34, 14] Operation: 36-22=14 Exploring Operation: 22+36=58, Resulting Numbers: [34, 58] Generated Node #0,2,3: 47:[34, 58] Operation: 22+36=58 Exploring Operation: 34-22=12, Resulting Numbers: [36, 12] Generated Node #0,2,4: 47:[36, 12] Operation: 34-22=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[36, 56], Operations: ['80-44=36', '34+22=56'] Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 36+56=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 36*56=2016, Resulting Numbers: [2016] 2016,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:[34, 58], Operations: ['80-44=36', '22+36=58'] Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 34*58=1972, Resulting Numbers: [1972] 1972,47 unequal: No Solution Exploring Operation: 34+58=92, Resulting Numbers: [92] 92,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:[34, 14], Operations: ['80-44=36', '36-22=14'] Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,47 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 34+14=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,4 Current State: 47:[36, 12], Operations: ['80-44=36', '34-22=12'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 36*12=432, Resulting Numbers: [432] 432,47 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 36+12=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,1 Current State: 47:[22, 70], Operations: ['80-44=36', '34+36=70'] Exploring Operation: 22+70=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 22*70=1540, Resulting Numbers: [1540] 1540,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:[34, 80, 66], Operations: ['44+22=66'] Exploring Operation: 80-66=14, Resulting Numbers: [34, 14] Generated Node #0,4,0: 47:[34, 14] Operation: 80-66=14 Exploring Operation: 80-34=46, Resulting Numbers: [66, 46] Generated Node #0,4,1: 47:[66, 46] Operation: 80-34=46 Exploring Operation: 34+66=100, Resulting Numbers: [80, 100] Generated Node #0,4,2: 47:[80, 100] Operation: 34+66=100 Exploring Operation: 66-34=32, Resulting Numbers: [80, 32] Generated Node #0,4,3: 47:[80, 32] Operation: 66-34=32 Exploring Operation: 34+80=114, Resulting Numbers: [66, 114] Generated Node #0,4,4: 47:[66, 114] Operation: 34+80=114 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 47:[66, 46], Operations: ['44+22=66', '80-34=46'] Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 66*46=3036, Resulting Numbers: [3036] 3036,47 unequal: No Solution Exploring Operation: 66+46=112, Resulting Numbers: [112] 112,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,4,0 Current State: 47:[34, 14], Operations: ['44+22=66', '80-66=14'] Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,47 unequal: No Solution Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,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,4,3 Current State: 47:[80, 32], Operations: ['44+22=66', '66-34=32'] Exploring Operation: 80*32=2560, Resulting Numbers: [2560] 2560,47 unequal: No Solution Exploring Operation: 80+32=112, Resulting Numbers: [112] 112,47 unequal: No Solution Exploring Operation: 80-32=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,4,2 Current State: 47:[80, 100], Operations: ['44+22=66', '34+66=100'] Exploring Operation: 80+100=180, Resulting Numbers: [180] 180,47 unequal: No Solution Exploring Operation: 100-80=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 80*100=8000, Resulting Numbers: [8000] 8000,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,4,4 Current State: 47:[66, 114], Operations: ['44+22=66', '34+80=114'] Exploring Operation: 66+114=180, Resulting Numbers: [180] 180,47 unequal: No Solution Exploring Operation: 66*114=7524, Resulting Numbers: [7524] 7524,47 unequal: No Solution Exploring Operation: 114-66=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 No solution found.
0
hs_5
sum_heuristic
[ 63, 98, 27, 49 ]
45
[ "63+27=90", "98/49=2", "90/2=45" ]
Current State: 45:[63, 98, 27, 49], Operations: [] Exploring Operation: 63+27=90, Resulting Numbers: [98, 49, 90] Generated Node #2: [98, 49, 90] from Operation: 63+27=90 Current State: 45:[98, 49, 90], Operations: ['63+27=90'] Exploring Operation: 98/49=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 98/49=2 Current State: 45:[90, 2], Operations: ['63+27=90', '98/49=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[63, 98, 27, 49], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [63, 27, 2] Generated Node #0,0: 45:[63, 27, 2] Operation: 98/49=2 Exploring Operation: 98-63=35, Resulting Numbers: [27, 49, 35] Generated Node #0,1: 45:[27, 49, 35] Operation: 98-63=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[27, 49, 35], Operations: ['98-63=35'] Exploring Operation: 49-35=14, Resulting Numbers: [27, 14] Generated Node #0,1,0: 45:[27, 14] Operation: 49-35=14 Exploring Operation: 35-27=8, Resulting Numbers: [49, 8] Generated Node #0,1,1: 45:[49, 8] Operation: 35-27=8 Moving to Node #0,1,1 Current State: 45:[49, 8], Operations: ['98-63=35', '35-27=8'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[27, 14], Operations: ['98-63=35', '49-35=14'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[63, 27, 2], Operations: ['98/49=2'] Exploring Operation: 63-27=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 45:[2, 36] Operation: 63-27=36 Exploring Operation: 27*2=54, Resulting Numbers: [63, 54] Generated Node #0,0,1: 45:[63, 54] Operation: 27*2=54 Moving to Node #0,0,0 Current State: 45:[2, 36], Operations: ['98/49=2', '63-27=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[63, 54], Operations: ['98/49=2', '27*2=54'] Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 63+54=117, Resulting Numbers: [117] 117,45 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
[ 66, 24, 89, 95 ]
15
[ "66+24=90", "95-89=6", "90/6=15" ]
Current State: 15:[66, 24, 89, 95], Operations: [] Exploring Operation: 66+24=90, Resulting Numbers: [89, 95, 90] Generated Node #2: [89, 95, 90] from Operation: 66+24=90 Current State: 15:[89, 95, 90], Operations: ['66+24=90'] Exploring Operation: 95-89=6, Resulting Numbers: [90, 6] Generated Node #3: [90, 6] from Operation: 95-89=6 Current State: 15:[90, 6], Operations: ['66+24=90', '95-89=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[66, 24, 89, 95], Operations: [] Exploring Operation: 95-89=6, Resulting Numbers: [66, 24, 6] Generated Node #0,0: 15:[66, 24, 6] Operation: 95-89=6 Exploring Operation: 89-66=23, Resulting Numbers: [24, 95, 23] Generated Node #0,1: 15:[24, 95, 23] Operation: 89-66=23 Exploring Operation: 95-66=29, Resulting Numbers: [24, 89, 29] Generated Node #0,2: 15:[24, 89, 29] Operation: 95-66=29 Exploring Operation: 66-24=42, Resulting Numbers: [89, 95, 42] Generated Node #0,3: 15:[89, 95, 42] Operation: 66-24=42 Exploring Operation: 89-24=65, Resulting Numbers: [66, 95, 65] Generated Node #0,4: 15:[66, 95, 65] Operation: 89-24=65 Moving to Node #0,0 Current State: 15:[66, 24, 6], Operations: ['95-89=6'] Exploring Operation: 24/6=4, Resulting Numbers: [66, 4] Generated Node #0,0,0: 15:[66, 4] Operation: 24/6=4 Exploring Operation: 24-6=18, Resulting Numbers: [66, 18] Generated Node #0,0,1: 15:[66, 18] Operation: 24-6=18 Exploring Operation: 66-24=42, Resulting Numbers: [6, 42] Generated Node #0,0,2: 15:[6, 42] Operation: 66-24=42 Exploring Operation: 66-6=60, Resulting Numbers: [24, 60] Generated Node #0,0,3: 15:[24, 60] Operation: 66-6=60 Exploring Operation: 66/6=11, Resulting Numbers: [24, 11] Generated Node #0,0,4: 15:[24, 11] Operation: 66/6=11 Moving to Node #0,2 Current State: 15:[24, 89, 29], Operations: ['95-66=29'] Exploring Operation: 24+29=53, Resulting Numbers: [89, 53] Generated Node #0,2,0: 15:[89, 53] Operation: 24+29=53 Exploring Operation: 29-24=5, Resulting Numbers: [89, 5] Generated Node #0,2,1: 15:[89, 5] Operation: 29-24=5 Exploring Operation: 24+89=113, Resulting Numbers: [29, 113] Generated Node #0,2,2: 15:[29, 113] Operation: 24+89=113 Exploring Operation: 89-29=60, Resulting Numbers: [24, 60] Generated Node #0,2,3: 15:[24, 60] Operation: 89-29=60 Exploring Operation: 89-24=65, Resulting Numbers: [29, 65] Generated Node #0,2,4: 15:[29, 65] Operation: 89-24=65 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[24, 60], Operations: ['95-66=29', '89-29=60'] Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,15 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 15:[29, 65], Operations: ['95-66=29', '89-24=65'] Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,15 unequal: No Solution Exploring Operation: 29*65=1885, Resulting Numbers: [1885] 1885,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[89, 5], Operations: ['95-66=29', '29-24=5'] Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,15 unequal: No Solution Exploring Operation: 89*5=445, Resulting Numbers: [445] 445,15 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[89, 53], Operations: ['95-66=29', '24+29=53'] Exploring Operation: 89+53=142, Resulting Numbers: [142] 142,15 unequal: No Solution Exploring Operation: 89*53=4717, Resulting Numbers: [4717] 4717,15 unequal: No Solution Exploring Operation: 89-53=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[29, 113], Operations: ['95-66=29', '24+89=113'] Exploring Operation: 29*113=3277, Resulting Numbers: [3277] 3277,15 unequal: No Solution Exploring Operation: 113-29=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 29+113=142, Resulting Numbers: [142] 142,15 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: 15:[24, 95, 23], Operations: ['89-66=23'] Exploring Operation: 24+95=119, Resulting Numbers: [23, 119] Generated Node #0,1,0: 15:[23, 119] Operation: 24+95=119 Exploring Operation: 24-23=1, Resulting Numbers: [95, 1] Generated Node #0,1,1: 15:[95, 1] Operation: 24-23=1 Exploring Operation: 95-24=71, Resulting Numbers: [23, 71] Generated Node #0,1,2: 15:[23, 71] Operation: 95-24=71 Exploring Operation: 95-23=72, Resulting Numbers: [24, 72] Generated Node #0,1,3: 15:[24, 72] Operation: 95-23=72 Exploring Operation: 24+23=47, Resulting Numbers: [95, 47] Generated Node #0,1,4: 15:[95, 47] Operation: 24+23=47 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[23, 71], Operations: ['89-66=23', '95-24=71'] Exploring Operation: 23*71=1633, Resulting Numbers: [1633] 1633,15 unequal: No Solution Exploring Operation: 23+71=94, Resulting Numbers: [94] 94,15 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[24, 72], Operations: ['89-66=23', '95-23=72'] Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 24+72=96, Resulting Numbers: [96] 96,15 unequal: No Solution Exploring Operation: 24*72=1728, Resulting Numbers: [1728] 1728,15 unequal: No Solution Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[95, 1], Operations: ['89-66=23', '24-23=1'] Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,15 unequal: No Solution Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,15 unequal: No Solution Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,15 unequal: No Solution Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[23, 119], Operations: ['89-66=23', '24+95=119'] Exploring Operation: 23+119=142, Resulting Numbers: [142] 142,15 unequal: No Solution Exploring Operation: 23*119=2737, Resulting Numbers: [2737] 2737,15 unequal: No Solution Exploring Operation: 119-23=96, Resulting Numbers: [96] 96,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 15:[95, 47], Operations: ['89-66=23', '24+23=47'] Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 95+47=142, Resulting Numbers: [142] 142,15 unequal: No Solution Exploring Operation: 95*47=4465, Resulting Numbers: [4465] 4465,15 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: 15:[89, 95, 42], Operations: ['66-24=42'] Exploring Operation: 95-89=6, Resulting Numbers: [42, 6] Generated Node #0,3,0: 15:[42, 6] Operation: 95-89=6 Exploring Operation: 89-42=47, Resulting Numbers: [95, 47] Generated Node #0,3,1: 15:[95, 47] Operation: 89-42=47 Exploring Operation: 89+95=184, Resulting Numbers: [42, 184] Generated Node #0,3,2: 15:[42, 184] Operation: 89+95=184 Exploring Operation: 95-42=53, Resulting Numbers: [89, 53] Generated Node #0,3,3: 15:[89, 53] Operation: 95-42=53 Exploring Operation: 89+42=131, Resulting Numbers: [95, 131] Generated Node #0,3,4: 15:[95, 131] Operation: 89+42=131 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[42, 6], Operations: ['66-24=42', '95-89=6'] Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[95, 47], Operations: ['66-24=42', '89-42=47'] Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 95+47=142, Resulting Numbers: [142] 142,15 unequal: No Solution Exploring Operation: 95*47=4465, Resulting Numbers: [4465] 4465,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[89, 53], Operations: ['66-24=42', '95-42=53'] Exploring Operation: 89+53=142, Resulting Numbers: [142] 142,15 unequal: No Solution Exploring Operation: 89-53=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 89*53=4717, Resulting Numbers: [4717] 4717,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 15:[42, 184], Operations: ['66-24=42', '89+95=184'] Exploring Operation: 184-42=142, Resulting Numbers: [142] 142,15 unequal: No Solution Exploring Operation: 42+184=226, Resulting Numbers: [226] 226,15 unequal: No Solution Exploring Operation: 42*184=7728, Resulting Numbers: [7728] 7728,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 15:[95, 131], Operations: ['66-24=42', '89+42=131'] Exploring Operation: 95*131=12445, Resulting Numbers: [12445] 12445,15 unequal: No Solution Exploring Operation: 95+131=226, Resulting Numbers: [226] 226,15 unequal: No Solution Exploring Operation: 131-95=36, Resulting Numbers: [36] 36,15 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: 15:[66, 95, 65], Operations: ['89-24=65'] Exploring Operation: 66+65=131, Resulting Numbers: [95, 131] Generated Node #0,4,0: 15:[95, 131] Operation: 66+65=131 Exploring Operation: 66+95=161, Resulting Numbers: [65, 161] Generated Node #0,4,1: 15:[65, 161] Operation: 66+95=161 Exploring Operation: 66-65=1, Resulting Numbers: [95, 1] Generated Node #0,4,2: 15:[95, 1] Operation: 66-65=1 Exploring Operation: 95-65=30, Resulting Numbers: [66, 30] Generated Node #0,4,3: 15:[66, 30] Operation: 95-65=30 Exploring Operation: 95-66=29, Resulting Numbers: [65, 29] Generated Node #0,4,4: 15:[65, 29] Operation: 95-66=29 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 15:[65, 29], Operations: ['89-24=65', '95-66=29'] Exploring Operation: 65+29=94, Resulting Numbers: [94] 94,15 unequal: No Solution Exploring Operation: 65*29=1885, Resulting Numbers: [1885] 1885,15 unequal: No Solution Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 15:[66, 30], Operations: ['89-24=65', '95-65=30'] Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,15 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 15:[95, 1], Operations: ['89-24=65', '66-65=1'] Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,15 unequal: No Solution Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,15 unequal: No Solution Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,15 unequal: No Solution Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 15:[95, 131], Operations: ['89-24=65', '66+65=131'] Exploring Operation: 131-95=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 95*131=12445, Resulting Numbers: [12445] 12445,15 unequal: No Solution Exploring Operation: 95+131=226, Resulting Numbers: [226] 226,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 15:[65, 161], Operations: ['89-24=65', '66+95=161'] Exploring Operation: 65*161=10465, Resulting Numbers: [10465] 10465,15 unequal: No Solution Exploring Operation: 65+161=226, Resulting Numbers: [226] 226,15 unequal: No Solution Exploring Operation: 161-65=96, Resulting Numbers: [96] 96,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 15:[24, 11], Operations: ['95-89=6', '66/6=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[6, 42], Operations: ['95-89=6', '66-24=42'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,15 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[66, 4], Operations: ['95-89=6', '24/6=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[66, 18], Operations: ['95-89=6', '24-6=18'] Exploring Operation: 66*18=1188, Resulting Numbers: [1188] 1188,15 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[24, 60], Operations: ['95-89=6', '66-6=60'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,15 unequal: No Solution Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,15 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 20, 4, 76, 92 ]
80
[ "20/4=5", "92-76=16", "5*16=80" ]
Current State: 80:[20, 4, 76, 92], Operations: [] Exploring Operation: 20/4=5, Resulting Numbers: [76, 92, 5] Generated Node #2: [76, 92, 5] from Operation: 20/4=5 Current State: 80:[76, 92, 5], Operations: ['20/4=5'] Exploring Operation: 92-76=16, Resulting Numbers: [5, 16] Generated Node #3: [5, 16] from Operation: 92-76=16 Current State: 80:[5, 16], Operations: ['20/4=5', '92-76=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[20, 4, 76, 92], Operations: [] Exploring Operation: 92-20=72, Resulting Numbers: [4, 76, 72] Generated Node #0,0: 80:[4, 76, 72] Operation: 92-20=72 Exploring Operation: 92-4=88, Resulting Numbers: [20, 76, 88] Generated Node #0,1: 80:[20, 76, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [20, 76, 23] Generated Node #0,2: 80:[20, 76, 23] Operation: 92/4=23 Exploring Operation: 4+76=80, Resulting Numbers: [20, 92, 80] Generated Node #0,3: 80:[20, 92, 80] Operation: 4+76=80 Exploring Operation: 92-76=16, Resulting Numbers: [20, 4, 16] Generated Node #0,4: 80:[20, 4, 16] Operation: 92-76=16 Start Sub Search at level 1: Moving to Node #0,4 Current State: 80:[20, 4, 16], Operations: ['92-76=16'] Exploring Operation: 20/4=5, Resulting Numbers: [16, 5] Generated Node #0,4,0: 80:[16, 5] Operation: 20/4=5 Exploring Operation: 20-4=16, Resulting Numbers: [16, 16] Generated Node #0,4,1: 80:[16, 16] Operation: 20-4=16 Exploring Operation: 20-16=4, Resulting Numbers: [4, 4] Generated Node #0,4,2: 80:[4, 4] Operation: 20-16=4 Exploring Operation: 20*4=80, Resulting Numbers: [16, 80] Generated Node #0,4,3: 80:[16, 80] Operation: 20*4=80 Exploring Operation: 4+16=20, Resulting Numbers: [20, 20] Generated Node #0,4,4: 80:[20, 20] Operation: 4+16=20 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 80:[16, 5], Operations: ['92-76=16', '20/4=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[20, 4, 76, 92], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [20, 4, 16] Generated Node #0,4: 80:[20, 4, 16] Operation: 92-76=16 Moving to Node #0,4 Current State: 80:[20, 4, 16], Operations: ['92-76=16'] Exploring Operation: 20/4=5, Resulting Numbers: [16, 5] Generated Node #0,4,0: 80:[16, 5] Operation: 20/4=5 Moving to Node #0,4,0 Current State: 80:[16, 5], Operations: ['92-76=16', '20/4=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 23, 12, 3, 44 ]
36
[ "23-12=11", "3+44=47", "47-11=36" ]
Current State: 36:[23, 12, 3, 44], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [3, 44, 11] Generated Node #2: [3, 44, 11] from Operation: 23-12=11 Current State: 36:[3, 44, 11], Operations: ['23-12=11'] Exploring Operation: 3+44=47, Resulting Numbers: [11, 47] Generated Node #3: [11, 47] from Operation: 3+44=47 Current State: 36:[11, 47], Operations: ['23-12=11', '3+44=47'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[23, 12, 3, 44], Operations: [] Exploring Operation: 44-12=32, Resulting Numbers: [23, 3, 32] Generated Node #0,0: 36:[23, 3, 32] Operation: 44-12=32 Exploring Operation: 23+12=35, Resulting Numbers: [3, 44, 35] Generated Node #0,1: 36:[3, 44, 35] Operation: 23+12=35 Exploring Operation: 23-12=11, Resulting Numbers: [3, 44, 11] Generated Node #0,2: 36:[3, 44, 11] Operation: 23-12=11 Exploring Operation: 44-23=21, Resulting Numbers: [12, 3, 21] Generated Node #0,3: 36:[12, 3, 21] Operation: 44-23=21 Moving to Node #0,3 Current State: 36:[12, 3, 21], Operations: ['44-23=21'] Exploring Operation: 21-3=18, Resulting Numbers: [12, 18] Generated Node #0,3,0: 36:[12, 18] Operation: 21-3=18 Exploring Operation: 21-12=9, Resulting Numbers: [3, 9] Generated Node #0,3,1: 36:[3, 9] Operation: 21-12=9 Exploring Operation: 21/3=7, Resulting Numbers: [12, 7] Generated Node #0,3,2: 36:[12, 7] Operation: 21/3=7 Exploring Operation: 12*3=36, Resulting Numbers: [21, 36] Generated Node #0,3,3: 36:[21, 36] Operation: 12*3=36 Moving to Node #0,1 Current State: 36:[3, 44, 35], Operations: ['23+12=35'] Exploring Operation: 3+44=47, Resulting Numbers: [35, 47] Generated Node #0,1,0: 36:[35, 47] Operation: 3+44=47 Exploring Operation: 3+35=38, Resulting Numbers: [44, 38] Generated Node #0,1,1: 36:[44, 38] Operation: 3+35=38 Exploring Operation: 44-3=41, Resulting Numbers: [35, 41] Generated Node #0,1,2: 36:[35, 41] Operation: 44-3=41 Exploring Operation: 44-35=9, Resulting Numbers: [3, 9] Generated Node #0,1,3: 36:[3, 9] Operation: 44-35=9 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[3, 9], Operations: ['23+12=35', '44-35=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[35, 41], Operations: ['23+12=35', '44-3=41'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,36 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[44, 38], Operations: ['23+12=35', '3+35=38'] Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 44*38=1672, Resulting Numbers: [1672] 1672,36 unequal: No Solution Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[35, 47], Operations: ['23+12=35', '3+44=47'] Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 35*47=1645, Resulting Numbers: [1645] 1645,36 unequal: No Solution Exploring Operation: 35+47=82, Resulting Numbers: [82] 82,36 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: 36:[23, 3, 32], Operations: ['44-12=32'] Exploring Operation: 3+32=35, Resulting Numbers: [23, 35] Generated Node #0,0,0: 36:[23, 35] Operation: 3+32=35 Exploring Operation: 23-3=20, Resulting Numbers: [32, 20] Generated Node #0,0,1: 36:[32, 20] Operation: 23-3=20 Exploring Operation: 23+3=26, Resulting Numbers: [32, 26] Generated Node #0,0,2: 36:[32, 26] Operation: 23+3=26 Exploring Operation: 32-23=9, Resulting Numbers: [3, 9] Generated Node #0,0,3: 36:[3, 9] Operation: 32-23=9 Moving to Node #0,2 Current State: 36:[3, 44, 11], Operations: ['23-12=11'] Exploring Operation: 44-11=33, Resulting Numbers: [3, 33] Generated Node #0,2,0: 36:[3, 33] Operation: 44-11=33 Exploring Operation: 44-3=41, Resulting Numbers: [11, 41] Generated Node #0,2,1: 36:[11, 41] Operation: 44-3=41 Exploring Operation: 44/11=4, Resulting Numbers: [3, 4] Generated Node #0,2,2: 36:[3, 4] Operation: 44/11=4 Exploring Operation: 11-3=8, Resulting Numbers: [44, 8] Generated Node #0,2,3: 36:[44, 8] Operation: 11-3=8 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[3, 4], Operations: ['23-12=11', '44/11=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[3, 33], Operations: ['23-12=11', '44-11=33'] Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[23, 12, 3, 44], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [3, 44, 11] Generated Node #0,2: 36:[3, 44, 11] Operation: 23-12=11 Moving to Node #0,2 Current State: 36:[3, 44, 11], Operations: ['23-12=11'] Exploring Operation: 44-11=33, Resulting Numbers: [3, 33] Generated Node #0,2,0: 36:[3, 33] Operation: 44-11=33 Moving to Node #0,2,0 Current State: 36:[3, 33], Operations: ['23-12=11', '44-11=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_4
mult_heuristic
[ 36, 52, 26, 10 ]
16
[ "52/26=2", "10*2=20", "36-20=16" ]
Current State: 16:[36, 52, 26, 10], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [36, 10, 2] Generated Node #2: [36, 10, 2] from Operation: 52/26=2 Current State: 16:[36, 10, 2], Operations: ['52/26=2'] Exploring Operation: 10*2=20, Resulting Numbers: [36, 20] Generated Node #3: [36, 20] from Operation: 10*2=20 Current State: 16:[36, 20], Operations: ['52/26=2', '10*2=20'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[36, 52, 26, 10], Operations: [] Exploring Operation: 36-10=26, Resulting Numbers: [52, 26, 26] Generated Node #0,0: 16:[52, 26, 26] Operation: 36-10=26 Exploring Operation: 52-26=26, Resulting Numbers: [36, 10, 26] Generated Node #0,1: 16:[36, 10, 26] Operation: 52-26=26 Exploring Operation: 52/26=2, Resulting Numbers: [36, 10, 2] Generated Node #0,2: 16:[36, 10, 2] Operation: 52/26=2 Exploring Operation: 36-26=10, Resulting Numbers: [52, 10, 10] Generated Node #0,3: 16:[52, 10, 10] Operation: 36-26=10 Exploring Operation: 52-36=16, Resulting Numbers: [26, 10, 16] Generated Node #0,4: 16:[26, 10, 16] Operation: 52-36=16 Moving to Node #0,4 Current State: 16:[26, 10, 16], Operations: ['52-36=16'] Exploring Operation: 26-10=16, Resulting Numbers: [16, 16] Generated Node #0,4,0: 16:[16, 16] Operation: 26-10=16 Exploring Operation: 10+16=26, Resulting Numbers: [26, 26] Generated Node #0,4,1: 16:[26, 26] Operation: 10+16=26 Exploring Operation: 26-16=10, Resulting Numbers: [10, 10] Generated Node #0,4,2: 16:[10, 10] Operation: 26-16=10 Exploring Operation: 26+10=36, Resulting Numbers: [16, 36] Generated Node #0,4,3: 16:[16, 36] Operation: 26+10=36 Exploring Operation: 16-10=6, Resulting Numbers: [26, 6] Generated Node #0,4,4: 16:[26, 6] Operation: 16-10=6 Moving to Node #0,2 Current State: 16:[36, 10, 2], Operations: ['52/26=2'] Exploring Operation: 10-2=8, Resulting Numbers: [36, 8] Generated Node #0,2,0: 16:[36, 8] Operation: 10-2=8 Exploring Operation: 36/2=18, Resulting Numbers: [10, 18] Generated Node #0,2,1: 16:[10, 18] Operation: 36/2=18 Exploring Operation: 36-10=26, Resulting Numbers: [2, 26] Generated Node #0,2,2: 16:[2, 26] Operation: 36-10=26 Exploring Operation: 36-2=34, Resulting Numbers: [10, 34] Generated Node #0,2,3: 16:[10, 34] Operation: 36-2=34 Exploring Operation: 10/2=5, Resulting Numbers: [36, 5] Generated Node #0,2,4: 16:[36, 5] Operation: 10/2=5 Moving to Node #0,1 Current State: 16:[36, 10, 26], Operations: ['52-26=26'] Exploring Operation: 36+10=46, Resulting Numbers: [26, 46] Generated Node #0,1,0: 16:[26, 46] Operation: 36+10=46 Exploring Operation: 10+26=36, Resulting Numbers: [36, 36] Generated Node #0,1,1: 16:[36, 36] Operation: 10+26=36 Exploring Operation: 36-26=10, Resulting Numbers: [10, 10] Generated Node #0,1,2: 16:[10, 10] Operation: 36-26=10 Exploring Operation: 26-10=16, Resulting Numbers: [36, 16] Generated Node #0,1,3: 16:[36, 16] Operation: 26-10=16 Exploring Operation: 36-10=26, Resulting Numbers: [26, 26] Generated Node #0,1,4: 16:[26, 26] Operation: 36-10=26 Moving to Node #0,3 Current State: 16:[52, 10, 10], Operations: ['36-26=10'] Exploring Operation: 52-10=42, Resulting Numbers: [10, 42] Generated Node #0,3,0: 16:[10, 42] Operation: 52-10=42 Exploring Operation: 10+10=20, Resulting Numbers: [52, 20] Generated Node #0,3,1: 16:[52, 20] Operation: 10+10=20 Exploring Operation: 10/10=1, Resulting Numbers: [52, 1] Generated Node #0,3,2: 16:[52, 1] Operation: 10/10=1 Exploring Operation: 10-10=0, Resulting Numbers: [52, 0] Generated Node #0,3,3: 16:[52, 0] Operation: 10-10=0 Exploring Operation: 52-10=42, Resulting Numbers: [10, 42] Generated Node #0,3,4: 16:[10, 42] Operation: 52-10=42 Moving to Node #0,0 Current State: 16:[52, 26, 26], Operations: ['36-10=26'] Exploring Operation: 26/26=1, Resulting Numbers: [52, 1] Generated Node #0,0,0: 16:[52, 1] Operation: 26/26=1 Exploring Operation: 52/26=2, Resulting Numbers: [26, 2] Generated Node #0,0,1: 16:[26, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [26, 26] Generated Node #0,0,2: 16:[26, 26] Operation: 52-26=26 Exploring Operation: 52-26=26, Resulting Numbers: [26, 26] Generated Node #0,0,3: 16:[26, 26] Operation: 52-26=26 Exploring Operation: 52/26=2, Resulting Numbers: [26, 2] Generated Node #0,0,4: 16:[26, 2] Operation: 52/26=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[26, 2], Operations: ['36-10=26', '52/26=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 16:[26, 2], Operations: ['36-10=26', '52/26=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[26, 26], Operations: ['36-10=26', '52-26=26'] Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 16:[26, 26], Operations: ['36-10=26', '52-26=26'] Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,16 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[52, 1], Operations: ['36-10=26', '26/26=1'] Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 16:[16, 16], Operations: ['52-36=16', '26-10=16'] Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,16 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[10, 18], Operations: ['52/26=2', '36/2=18'] Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,16 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,16 unequal: No Solution Moving to Node #0,4,2 Current State: 16:[10, 10], Operations: ['52-36=16', '26-16=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,16 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[10, 10], Operations: ['52-26=26', '36-26=10'] Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,16 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[2, 26], Operations: ['52/26=2', '36-10=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,16 unequal: No Solution Moving to Node #0,4,4 Current State: 16:[26, 6], Operations: ['52-36=16', '16-10=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,16 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[26, 26], Operations: ['52-26=26', '36-10=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,16 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[36, 16], Operations: ['52-26=26', '26-10=16'] Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,16 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,16 unequal: No Solution Moving to Node #0,4,3 Current State: 16:[16, 36], Operations: ['52-36=16', '26+10=36'] Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,16 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,16 unequal: No Solution Moving to Node #0,4,1 Current State: 16:[26, 26], Operations: ['52-36=16', '10+16=26'] Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[10, 34], Operations: ['52/26=2', '36-2=34'] Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,16 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[36, 8], Operations: ['52/26=2', '10-2=8'] Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,16 unequal: No Solution Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,16 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,16 unequal: No Solution Moving to Node #0,2,4 Current State: 16:[36, 5], Operations: ['52/26=2', '10/2=5'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,16 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,16 unequal: No Solution Moving to Node #0,3,4 Current State: 16:[10, 42], Operations: ['36-26=10', '52-10=42'] Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[10, 42], Operations: ['36-26=10', '52-10=42'] Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,16 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[52, 1], Operations: ['36-26=10', '10/10=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[52, 0], Operations: ['36-26=10', '10-10=0'] Exploring Operation: 52+0=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 52*0=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 52-0=52, Resulting Numbers: [52] 52,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[26, 46], Operations: ['52-26=26', '36+10=46'] Exploring Operation: 26+46=72, Resulting Numbers: [72] 72,16 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 26*46=1196, Resulting Numbers: [1196] 1196,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[36, 36], Operations: ['52-26=26', '10+26=36'] Exploring Operation: 36*36=1296, Resulting Numbers: [1296] 1296,16 unequal: No Solution Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,16 unequal: No Solution Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 36-36=0, Resulting Numbers: [0] 0,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[52, 20], Operations: ['36-26=10', '10+10=20'] Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,16 unequal: No Solution Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 52*20=1040, Resulting Numbers: [1040] 1040,16 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 53, 28, 16, 50 ]
76
[ "53-50=3", "16*3=48", "28+48=76" ]
Current State: 76:[53, 28, 16, 50], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [28, 16, 3] Generated Node #2: [28, 16, 3] from Operation: 53-50=3 Current State: 76:[28, 16, 3], Operations: ['53-50=3'] Exploring Operation: 16*3=48, Resulting Numbers: [28, 48] Generated Node #3: [28, 48] from Operation: 16*3=48 Current State: 76:[28, 48], Operations: ['53-50=3', '16*3=48'] Exploring Operation: 28+48=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[53, 28, 16, 50], Operations: [] Exploring Operation: 53+28=81, Resulting Numbers: [16, 50, 81] Generated Node #0,0: 76:[16, 50, 81] Operation: 53+28=81 Exploring Operation: 53-50=3, Resulting Numbers: [28, 16, 3] Generated Node #0,1: 76:[28, 16, 3] Operation: 53-50=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[28, 16, 3], Operations: ['53-50=3'] Exploring Operation: 28-16=12, Resulting Numbers: [3, 12] Generated Node #0,1,0: 76:[3, 12] Operation: 28-16=12 Exploring Operation: 28+16=44, Resulting Numbers: [3, 44] Generated Node #0,1,1: 76:[3, 44] Operation: 28+16=44 Moving to Node #0,1,1 Current State: 76:[3, 44], Operations: ['53-50=3', '28+16=44'] Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[3, 12], Operations: ['53-50=3', '28-16=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[16, 50, 81], Operations: ['53+28=81'] Exploring Operation: 50-16=34, Resulting Numbers: [81, 34] Generated Node #0,0,0: 76:[81, 34] Operation: 50-16=34 Exploring Operation: 81-50=31, Resulting Numbers: [16, 31] Generated Node #0,0,1: 76:[16, 31] Operation: 81-50=31 Moving to Node #0,0,0 Current State: 76:[81, 34], Operations: ['53+28=81', '50-16=34'] Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,76 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[16, 31], Operations: ['53+28=81', '81-50=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,76 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
[ 2, 33, 25, 80 ]
48
[ "80/2=40", "33-25=8", "40+8=48" ]
Current State: 48:[2, 33, 25, 80], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [33, 25, 40] Generated Node #2: [33, 25, 40] from Operation: 80/2=40 Current State: 48:[33, 25, 40], Operations: ['80/2=40'] Exploring Operation: 33-25=8, Resulting Numbers: [40, 8] Generated Node #3: [40, 8] from Operation: 33-25=8 Current State: 48:[40, 8], Operations: ['80/2=40', '33-25=8'] Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[2, 33, 25, 80], Operations: [] Exploring Operation: 33-25=8, Resulting Numbers: [2, 80, 8] Generated Node #0,0: 48:[2, 80, 8] Operation: 33-25=8 Exploring Operation: 80-25=55, Resulting Numbers: [2, 33, 55] Generated Node #0,1: 48:[2, 33, 55] Operation: 80-25=55 Exploring Operation: 80/2=40, Resulting Numbers: [33, 25, 40] Generated Node #0,2: 48:[33, 25, 40] Operation: 80/2=40 Exploring Operation: 80-33=47, Resulting Numbers: [2, 25, 47] Generated Node #0,3: 48:[2, 25, 47] Operation: 80-33=47 Moving to Node #0,3 Current State: 48:[2, 25, 47], Operations: ['80-33=47'] Exploring Operation: 2+47=49, Resulting Numbers: [25, 49] Generated Node #0,3,0: 48:[25, 49] Operation: 2+47=49 Exploring Operation: 2*25=50, Resulting Numbers: [47, 50] Generated Node #0,3,1: 48:[47, 50] Operation: 2*25=50 Exploring Operation: 25-2=23, Resulting Numbers: [47, 23] Generated Node #0,3,2: 48:[47, 23] Operation: 25-2=23 Exploring Operation: 47-25=22, Resulting Numbers: [2, 22] Generated Node #0,3,3: 48:[2, 22] Operation: 47-25=22 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[25, 49], Operations: ['80-33=47', '2+47=49'] Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,48 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[47, 23], Operations: ['80-33=47', '25-2=23'] Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,48 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[2, 22], Operations: ['80-33=47', '47-25=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[47, 50], Operations: ['80-33=47', '2*25=50'] Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 47+50=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 47*50=2350, Resulting Numbers: [2350] 2350,48 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: 48:[2, 33, 55], Operations: ['80-25=55'] Exploring Operation: 33-2=31, Resulting Numbers: [55, 31] Generated Node #0,1,0: 48:[55, 31] Operation: 33-2=31 Exploring Operation: 55-2=53, Resulting Numbers: [33, 53] Generated Node #0,1,1: 48:[33, 53] Operation: 55-2=53 Exploring Operation: 2+33=35, Resulting Numbers: [55, 35] Generated Node #0,1,2: 48:[55, 35] Operation: 2+33=35 Exploring Operation: 55-33=22, Resulting Numbers: [2, 22] Generated Node #0,1,3: 48:[2, 22] Operation: 55-33=22 Moving to Node #0,2 Current State: 48:[33, 25, 40], Operations: ['80/2=40'] Exploring Operation: 33+25=58, Resulting Numbers: [40, 58] Generated Node #0,2,0: 48:[40, 58] Operation: 33+25=58 Exploring Operation: 40-25=15, Resulting Numbers: [33, 15] Generated Node #0,2,1: 48:[33, 15] Operation: 40-25=15 Exploring Operation: 40-33=7, Resulting Numbers: [25, 7] Generated Node #0,2,2: 48:[25, 7] Operation: 40-33=7 Exploring Operation: 33-25=8, Resulting Numbers: [40, 8] Generated Node #0,2,3: 48:[40, 8] Operation: 33-25=8 Moving to Node #0,0 Current State: 48:[2, 80, 8], Operations: ['33-25=8'] Exploring Operation: 80/2=40, Resulting Numbers: [8, 40] Generated Node #0,0,0: 48:[8, 40] Operation: 80/2=40 Exploring Operation: 80-8=72, Resulting Numbers: [2, 72] Generated Node #0,0,1: 48:[2, 72] Operation: 80-8=72 Exploring Operation: 80/8=10, Resulting Numbers: [2, 10] Generated Node #0,0,2: 48:[2, 10] Operation: 80/8=10 Exploring Operation: 80-2=78, Resulting Numbers: [8, 78] Generated Node #0,0,3: 48:[8, 78] Operation: 80-2=78 Moving to Node #0,1,3 Current State: 48:[2, 22], Operations: ['80-25=55', '55-33=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[25, 7], Operations: ['80/2=40', '40-33=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[2, 10], Operations: ['33-25=8', '80/8=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[40, 8], Operations: ['80/2=40', '33-25=8'] Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 40*8=320, Resulting Numbers: [320] 320,48 unequal: No Solution Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[2, 33, 25, 80], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [33, 25, 40] Generated Node #0,2: 48:[33, 25, 40] Operation: 80/2=40 Moving to Node #0,2 Current State: 48:[33, 25, 40], Operations: ['80/2=40'] Exploring Operation: 33-25=8, Resulting Numbers: [40, 8] Generated Node #0,2,3: 48:[40, 8] Operation: 33-25=8 Moving to Node #0,2,3 Current State: 48:[40, 8], Operations: ['80/2=40', '33-25=8'] Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.954861
hs_4
mult_heuristic
[ 3, 11, 20, 17 ]
36
[ "3*11=33", "20-17=3", "33+3=36" ]
Current State: 36:[3, 11, 20, 17], Operations: [] Exploring Operation: 3*11=33, Resulting Numbers: [20, 17, 33] Generated Node #2: [20, 17, 33] from Operation: 3*11=33 Current State: 36:[20, 17, 33], Operations: ['3*11=33'] Exploring Operation: 20-17=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 20-17=3 Current State: 36:[33, 3], Operations: ['3*11=33', '20-17=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[3, 11, 20, 17], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [3, 20, 6] Generated Node #0,0: 36:[3, 20, 6] Operation: 17-11=6 Exploring Operation: 20-17=3, Resulting Numbers: [3, 11, 3] Generated Node #0,1: 36:[3, 11, 3] Operation: 20-17=3 Exploring Operation: 20-3=17, Resulting Numbers: [11, 17, 17] Generated Node #0,2: 36:[11, 17, 17] Operation: 20-3=17 Exploring Operation: 20+17=37, Resulting Numbers: [3, 11, 37] Generated Node #0,3: 36:[3, 11, 37] Operation: 20+17=37 Exploring Operation: 20-11=9, Resulting Numbers: [3, 17, 9] Generated Node #0,4: 36:[3, 17, 9] Operation: 20-11=9 Moving to Node #0,1 Current State: 36:[3, 11, 3], Operations: ['20-17=3'] Exploring Operation: 11-3=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 36:[3, 8] Operation: 11-3=8 Exploring Operation: 3+3=6, Resulting Numbers: [11, 6] Generated Node #0,1,1: 36:[11, 6] Operation: 3+3=6 Exploring Operation: 3+11=14, Resulting Numbers: [3, 14] Generated Node #0,1,2: 36:[3, 14] Operation: 3+11=14 Exploring Operation: 3*3=9, Resulting Numbers: [11, 9] Generated Node #0,1,3: 36:[11, 9] Operation: 3*3=9 Exploring Operation: 11-3=8, Resulting Numbers: [3, 8] Generated Node #0,1,4: 36:[3, 8] Operation: 11-3=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[3, 8], Operations: ['20-17=3', '11-3=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[11, 6], Operations: ['20-17=3', '3+3=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,36 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[11, 9], Operations: ['20-17=3', '3*3=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 36:[3, 8], Operations: ['20-17=3', '11-3=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[3, 14], Operations: ['20-17=3', '3+11=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,36 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: 36:[3, 17, 9], Operations: ['20-11=9'] Exploring Operation: 9-3=6, Resulting Numbers: [17, 6] Generated Node #0,4,0: 36:[17, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [17, 3] Generated Node #0,4,1: 36:[17, 3] Operation: 9/3=3 Exploring Operation: 17-9=8, Resulting Numbers: [3, 8] Generated Node #0,4,2: 36:[3, 8] Operation: 17-9=8 Exploring Operation: 3+9=12, Resulting Numbers: [17, 12] Generated Node #0,4,3: 36:[17, 12] Operation: 3+9=12 Exploring Operation: 3+17=20, Resulting Numbers: [9, 20] Generated Node #0,4,4: 36:[9, 20] Operation: 3+17=20 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 36:[17, 6], Operations: ['20-11=9', '9-3=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,36 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 36:[17, 3], Operations: ['20-11=9', '9/3=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,36 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 36:[3, 8], Operations: ['20-11=9', '17-9=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 36:[17, 12], Operations: ['20-11=9', '3+9=12'] Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,36 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 36:[9, 20], Operations: ['20-11=9', '3+17=20'] Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,36 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,36 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: 36:[3, 20, 6], Operations: ['17-11=6'] Exploring Operation: 20-3=17, Resulting Numbers: [6, 17] Generated Node #0,0,0: 36:[6, 17] Operation: 20-3=17 Exploring Operation: 6/3=2, Resulting Numbers: [20, 2] Generated Node #0,0,1: 36:[20, 2] Operation: 6/3=2 Exploring Operation: 3*6=18, Resulting Numbers: [20, 18] Generated Node #0,0,2: 36:[20, 18] Operation: 3*6=18 Exploring Operation: 3+6=9, Resulting Numbers: [20, 9] Generated Node #0,0,3: 36:[20, 9] Operation: 3+6=9 Exploring Operation: 6-3=3, Resulting Numbers: [20, 3] Generated Node #0,0,4: 36:[20, 3] Operation: 6-3=3 Moving to Node #0,3 Current State: 36:[3, 11, 37], Operations: ['20+17=37'] Exploring Operation: 3*11=33, Resulting Numbers: [37, 33] Generated Node #0,3,0: 36:[37, 33] Operation: 3*11=33 Exploring Operation: 3+37=40, Resulting Numbers: [11, 40] Generated Node #0,3,1: 36:[11, 40] Operation: 3+37=40 Exploring Operation: 11-3=8, Resulting Numbers: [37, 8] Generated Node #0,3,2: 36:[37, 8] Operation: 11-3=8 Exploring Operation: 37-3=34, Resulting Numbers: [11, 34] Generated Node #0,3,3: 36:[11, 34] Operation: 37-3=34 Exploring Operation: 3+11=14, Resulting Numbers: [37, 14] Generated Node #0,3,4: 36:[37, 14] Operation: 3+11=14 Moving to Node #0,2 Current State: 36:[11, 17, 17], Operations: ['20-3=17'] Exploring Operation: 17/17=1, Resulting Numbers: [11, 1] Generated Node #0,2,0: 36:[11, 1] Operation: 17/17=1 Exploring Operation: 17+17=34, Resulting Numbers: [11, 34] Generated Node #0,2,1: 36:[11, 34] Operation: 17+17=34 Exploring Operation: 17-11=6, Resulting Numbers: [17, 6] Generated Node #0,2,2: 36:[17, 6] Operation: 17-11=6 Exploring Operation: 17-11=6, Resulting Numbers: [17, 6] Generated Node #0,2,3: 36:[17, 6] Operation: 17-11=6 Exploring Operation: 17-17=0, Resulting Numbers: [11, 0] Generated Node #0,2,4: 36:[11, 0] Operation: 17-17=0 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[17, 6], Operations: ['20-3=17', '17-11=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,36 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 36:[17, 6], Operations: ['20-3=17', '17-11=6'] Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,36 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[11, 1], Operations: ['20-3=17', '17/17=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[11, 34], Operations: ['20-3=17', '17+17=34'] Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,36 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 36:[11, 0], Operations: ['20-3=17', '17-17=0'] Exploring Operation: 11+0=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 11-0=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 11*0=0, Resulting Numbers: [0] 0,36 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: 36:[6, 17], Operations: ['17-11=6', '20-3=17'] Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,36 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[20, 18], Operations: ['17-11=6', '3*6=18'] Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,36 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[37, 8], Operations: ['20+17=37', '11-3=8'] Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,36 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[20, 2], Operations: ['17-11=6', '6/3=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,36 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[20, 3], Operations: ['17-11=6', '6-3=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[20, 9], Operations: ['17-11=6', '3+6=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[11, 34], Operations: ['20+17=37', '37-3=34'] Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[37, 14], Operations: ['20+17=37', '3+11=14'] Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,36 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,36 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[37, 33], Operations: ['20+17=37', '3*11=33'] Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 37*33=1221, Resulting Numbers: [1221] 1221,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[11, 40], Operations: ['20+17=37', '3+37=40'] Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,36 unequal: No Solution Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,36 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,36 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 87, 37, 72, 35 ]
51
[ "37-35=2", "72/2=36", "87-36=51" ]
Current State: 51:[87, 37, 72, 35], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [87, 72, 2] Generated Node #2: [87, 72, 2] from Operation: 37-35=2 Current State: 51:[87, 72, 2], Operations: ['37-35=2'] Exploring Operation: 72/2=36, Resulting Numbers: [87, 36] Generated Node #3: [87, 36] from Operation: 72/2=36 Current State: 51:[87, 36], Operations: ['37-35=2', '72/2=36'] Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[87, 37, 72, 35], Operations: [] Exploring Operation: 87-72=15, Resulting Numbers: [37, 35, 15] Generated Node #0,0: 51:[37, 35, 15] Operation: 87-72=15 Moving to Node #0,0 Current State: 51:[37, 35, 15], Operations: ['87-72=15'] Exploring Operation: 37-35=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 51:[15, 2] Operation: 37-35=2 Moving to Node #0,0,0 Current State: 51:[15, 2], Operations: ['87-72=15', '37-35=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,51 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 17, 69, 43, 42 ]
87
[ "17+69=86", "43-42=1", "86+1=87" ]
Current State: 87:[17, 69, 43, 42], Operations: [] Exploring Operation: 17+69=86, Resulting Numbers: [43, 42, 86] Generated Node #2: [43, 42, 86] from Operation: 17+69=86 Current State: 87:[43, 42, 86], Operations: ['17+69=86'] Exploring Operation: 43-42=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 43-42=1 Current State: 87:[86, 1], Operations: ['17+69=86', '43-42=1'] Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[17, 69, 43, 42], Operations: [] Exploring Operation: 43+42=85, Resulting Numbers: [17, 69, 85] Generated Node #0,0: 87:[17, 69, 85] Operation: 43+42=85 Exploring Operation: 69-43=26, Resulting Numbers: [17, 42, 26] Generated Node #0,1: 87:[17, 42, 26] Operation: 69-43=26 Exploring Operation: 69-42=27, Resulting Numbers: [17, 43, 27] Generated Node #0,2: 87:[17, 43, 27] Operation: 69-42=27 Exploring Operation: 17+69=86, Resulting Numbers: [43, 42, 86] Generated Node #0,3: 87:[43, 42, 86] Operation: 17+69=86 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[17, 42, 26], Operations: ['69-43=26'] Exploring Operation: 42-17=25, Resulting Numbers: [26, 25] Generated Node #0,1,0: 87:[26, 25] Operation: 42-17=25 Exploring Operation: 42-26=16, Resulting Numbers: [17, 16] Generated Node #0,1,1: 87:[17, 16] Operation: 42-26=16 Exploring Operation: 26-17=9, Resulting Numbers: [42, 9] Generated Node #0,1,2: 87:[42, 9] Operation: 26-17=9 Exploring Operation: 17+26=43, Resulting Numbers: [42, 43] Generated Node #0,1,3: 87:[42, 43] Operation: 17+26=43 Moving to Node #0,1,0 Current State: 87:[26, 25], Operations: ['69-43=26', '42-17=25'] Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,87 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[42, 9], Operations: ['69-43=26', '26-17=9'] Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,87 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,87 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[17, 16], Operations: ['69-43=26', '42-26=16'] Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,87 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[42, 43], Operations: ['69-43=26', '17+26=43'] Exploring Operation: 42*43=1806, Resulting Numbers: [1806] 1806,87 unequal: No Solution Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[17, 43, 27], Operations: ['69-42=27'] Exploring Operation: 43-27=16, Resulting Numbers: [17, 16] Generated Node #0,2,0: 87:[17, 16] Operation: 43-27=16 Exploring Operation: 27-17=10, Resulting Numbers: [43, 10] Generated Node #0,2,1: 87:[43, 10] Operation: 27-17=10 Exploring Operation: 43-17=26, Resulting Numbers: [27, 26] Generated Node #0,2,2: 87:[27, 26] Operation: 43-17=26 Exploring Operation: 17+43=60, Resulting Numbers: [27, 60] Generated Node #0,2,3: 87:[27, 60] Operation: 17+43=60 Moving to Node #0,2,2 Current State: 87:[27, 26], Operations: ['69-42=27', '43-17=26'] Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,87 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[43, 10], Operations: ['69-42=27', '27-17=10'] Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,87 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[17, 16], Operations: ['69-42=27', '43-27=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[27, 60], Operations: ['69-42=27', '17+43=60'] Exploring Operation: 27+60=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[17, 69, 43, 42], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [17, 43, 27] Generated Node #0,2: 87:[17, 43, 27] Operation: 69-42=27 Moving to Node #0,2 Current State: 87:[17, 43, 27], Operations: ['69-42=27'] Exploring Operation: 17+43=60, Resulting Numbers: [27, 60] Generated Node #0,2,3: 87:[27, 60] Operation: 17+43=60 Moving to Node #0,2,3 Current State: 87:[27, 60], Operations: ['69-42=27', '17+43=60'] Exploring Operation: 27+60=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
sum_heuristic
[ 31, 21, 26, 38 ]
64
[ "31+21=52", "38-26=12", "52+12=64" ]
Current State: 64:[31, 21, 26, 38], Operations: [] Exploring Operation: 31+21=52, Resulting Numbers: [26, 38, 52] Generated Node #2: [26, 38, 52] from Operation: 31+21=52 Current State: 64:[26, 38, 52], Operations: ['31+21=52'] Exploring Operation: 38-26=12, Resulting Numbers: [52, 12] Generated Node #3: [52, 12] from Operation: 38-26=12 Current State: 64:[52, 12], Operations: ['31+21=52', '38-26=12'] Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[31, 21, 26, 38], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [31, 38, 5] Generated Node #0,0: 64:[31, 38, 5] Operation: 26-21=5 Exploring Operation: 26+38=64, Resulting Numbers: [31, 21, 64] Generated Node #0,1: 64:[31, 21, 64] Operation: 26+38=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[31, 21, 64], Operations: ['26+38=64'] Exploring Operation: 64-31=33, Resulting Numbers: [21, 33] Generated Node #0,1,0: 64:[21, 33] Operation: 64-31=33 Exploring Operation: 31-21=10, Resulting Numbers: [64, 10] Generated Node #0,1,1: 64:[64, 10] Operation: 31-21=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[64, 10], Operations: ['26+38=64', '31-21=10'] Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[21, 33], Operations: ['26+38=64', '64-31=33'] Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[31, 38, 5], Operations: ['26-21=5'] Exploring Operation: 38-31=7, Resulting Numbers: [5, 7] Generated Node #0,0,0: 64:[5, 7] Operation: 38-31=7 Exploring Operation: 38-5=33, Resulting Numbers: [31, 33] Generated Node #0,0,1: 64:[31, 33] Operation: 38-5=33 Moving to Node #0,0,0 Current State: 64:[5, 7], Operations: ['26-21=5', '38-31=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[31, 33], Operations: ['26-21=5', '38-5=33'] Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 31+33=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[31, 21, 26, 38], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [31, 38, 5] Generated Node #0,0: 64:[31, 38, 5] Operation: 26-21=5 Moving to Node #0,0 Current State: 64:[31, 38, 5], Operations: ['26-21=5'] Exploring Operation: 38-5=33, Resulting Numbers: [31, 33] Generated Node #0,0,1: 64:[31, 33] Operation: 38-5=33 Moving to Node #0,0,1 Current State: 64:[31, 33], Operations: ['26-21=5', '38-5=33'] Exploring Operation: 31+33=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 42, 71, 9, 63 ]
59
[ "42+71=113", "63-9=54", "113-54=59" ]
Current State: 59:[42, 71, 9, 63], Operations: [] Exploring Operation: 42+71=113, Resulting Numbers: [9, 63, 113] Generated Node #2: [9, 63, 113] from Operation: 42+71=113 Current State: 59:[9, 63, 113], Operations: ['42+71=113'] Exploring Operation: 63-9=54, Resulting Numbers: [113, 54] Generated Node #3: [113, 54] from Operation: 63-9=54 Current State: 59:[113, 54], Operations: ['42+71=113', '63-9=54'] Exploring Operation: 113-54=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[42, 71, 9, 63], Operations: [] Exploring Operation: 63-9=54, Resulting Numbers: [42, 71, 54] Generated Node #0,0: 59:[42, 71, 54] Operation: 63-9=54 Exploring Operation: 42-9=33, Resulting Numbers: [71, 63, 33] Generated Node #0,1: 59:[71, 63, 33] Operation: 42-9=33 Exploring Operation: 42+9=51, Resulting Numbers: [71, 63, 51] Generated Node #0,2: 59:[71, 63, 51] Operation: 42+9=51 Exploring Operation: 71-9=62, Resulting Numbers: [42, 63, 62] Generated Node #0,3: 59:[42, 63, 62] Operation: 71-9=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[71, 63, 51], Operations: ['42+9=51'] Exploring Operation: 63-51=12, Resulting Numbers: [71, 12] Generated Node #0,2,0: 59:[71, 12] Operation: 63-51=12 Exploring Operation: 71-63=8, Resulting Numbers: [51, 8] Generated Node #0,2,1: 59:[51, 8] Operation: 71-63=8 Exploring Operation: 71-51=20, Resulting Numbers: [63, 20] Generated Node #0,2,2: 59:[63, 20] Operation: 71-51=20 Exploring Operation: 71+51=122, Resulting Numbers: [63, 122] Generated Node #0,2,3: 59:[63, 122] Operation: 71+51=122 Moving to Node #0,2,2 Current State: 59:[63, 20], Operations: ['42+9=51', '71-51=20'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,59 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[51, 8], Operations: ['42+9=51', '71-63=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[42, 71, 9, 63], Operations: [] Exploring Operation: 42+9=51, Resulting Numbers: [71, 63, 51] Generated Node #0,2: 59:[71, 63, 51] Operation: 42+9=51 Moving to Node #0,2 Current State: 59:[71, 63, 51], Operations: ['42+9=51'] Exploring Operation: 71-63=8, Resulting Numbers: [51, 8] Generated Node #0,2,1: 59:[51, 8] Operation: 71-63=8 Moving to Node #0,2,1 Current State: 59:[51, 8], Operations: ['42+9=51', '71-63=8'] Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 80, 88, 33, 88 ]
47
[ "80+88=168", "33+88=121", "168-121=47" ]
Current State: 47:[80, 88, 33, 88], Operations: [] Exploring Operation: 80+88=168, Resulting Numbers: [33, 168] Generated Node #2: [33, 168] from Operation: 80+88=168 Current State: 47:[33, 168], Operations: ['80+88=168'] Exploring Operation: 33+88=121, Resulting Numbers: [168, 121] Generated Node #3: [168, 121] from Operation: 33+88=121 Current State: 47:[168, 121], Operations: ['80+88=168', '33+88=121'] Exploring Operation: 168-121=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[80, 88, 33, 88], Operations: [] Exploring Operation: 88-33=55, Resulting Numbers: [80, 88, 55] Generated Node #0,0: 47:[80, 88, 55] Operation: 88-33=55 Exploring Operation: 88-33=55, Resulting Numbers: [80, 88, 55] Generated Node #0,1: 47:[80, 88, 55] Operation: 88-33=55 Exploring Operation: 88-80=8, Resulting Numbers: [33, 88, 8] Generated Node #0,2: 47:[33, 88, 8] Operation: 88-80=8 Exploring Operation: 80-33=47, Resulting Numbers: [88, 88, 47] Generated Node #0,3: 47:[88, 88, 47] Operation: 80-33=47 Exploring Operation: 88/88=1, Resulting Numbers: [80, 33, 1] Generated Node #0,4: 47:[80, 33, 1] Operation: 88/88=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[80, 88, 55], Operations: ['88-33=55'] Exploring Operation: 80-55=25, Resulting Numbers: [88, 25] Generated Node #0,0,0: 47:[88, 25] Operation: 80-55=25 Exploring Operation: 80+55=135, Resulting Numbers: [88, 135] Generated Node #0,0,1: 47:[88, 135] Operation: 80+55=135 Exploring Operation: 88-80=8, Resulting Numbers: [55, 8] Generated Node #0,0,2: 47:[55, 8] Operation: 88-80=8 Exploring Operation: 80+88=168, Resulting Numbers: [55, 168] Generated Node #0,0,3: 47:[55, 168] Operation: 80+88=168 Exploring Operation: 88-55=33, Resulting Numbers: [80, 33] Generated Node #0,0,4: 47:[80, 33] Operation: 88-55=33 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[55, 8], Operations: ['88-33=55', '88-80=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[80, 88, 33, 88], Operations: [] Exploring Operation: 88-33=55, Resulting Numbers: [80, 88, 55] Generated Node #0,0: 47:[80, 88, 55] Operation: 88-33=55 Moving to Node #0,0 Current State: 47:[80, 88, 55], Operations: ['88-33=55'] Exploring Operation: 88-80=8, Resulting Numbers: [55, 8] Generated Node #0,0,2: 47:[55, 8] Operation: 88-80=8 Moving to Node #0,0,2 Current State: 47:[55, 8], Operations: ['88-33=55', '88-80=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 95, 35, 92, 46 ]
14
[ "95-35=60", "92-46=46", "60-46=14" ]
Current State: 14:[95, 35, 92, 46], Operations: [] Exploring Operation: 95-35=60, Resulting Numbers: [92, 46, 60] Generated Node #2: [92, 46, 60] from Operation: 95-35=60 Current State: 14:[92, 46, 60], Operations: ['95-35=60'] Exploring Operation: 92-46=46, Resulting Numbers: [60, 46] Generated Node #3: [60, 46] from Operation: 92-46=46 Current State: 14:[60, 46], Operations: ['95-35=60', '92-46=46'] Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[95, 35, 92, 46], Operations: [] Exploring Operation: 95-46=49, Resulting Numbers: [35, 92, 49] Generated Node #0,0: 14:[35, 92, 49] Operation: 95-46=49 Exploring Operation: 92/46=2, Resulting Numbers: [95, 35, 2] Generated Node #0,1: 14:[95, 35, 2] Operation: 92/46=2 Exploring Operation: 95-92=3, Resulting Numbers: [35, 46, 3] Generated Node #0,2: 14:[35, 46, 3] Operation: 95-92=3 Moving to Node #0,2 Current State: 14:[35, 46, 3], Operations: ['95-92=3'] Exploring Operation: 35-3=32, Resulting Numbers: [46, 32] Generated Node #0,2,0: 14:[46, 32] Operation: 35-3=32 Exploring Operation: 46-3=43, Resulting Numbers: [35, 43] Generated Node #0,2,1: 14:[35, 43] Operation: 46-3=43 Exploring Operation: 46-35=11, Resulting Numbers: [3, 11] Generated Node #0,2,2: 14:[3, 11] Operation: 46-35=11 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[3, 11], Operations: ['95-92=3', '46-35=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[95, 35, 92, 46], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [35, 46, 3] Generated Node #0,2: 14:[35, 46, 3] Operation: 95-92=3 Moving to Node #0,2 Current State: 14:[35, 46, 3], Operations: ['95-92=3'] Exploring Operation: 46-35=11, Resulting Numbers: [3, 11] Generated Node #0,2,2: 14:[3, 11] Operation: 46-35=11 Moving to Node #0,2,2 Current State: 14:[3, 11], Operations: ['95-92=3', '46-35=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 47, 32, 4, 10 ]
94
[ "32/4=8", "10-8=2", "47*2=94" ]
Current State: 94:[47, 32, 4, 10], Operations: [] Exploring Operation: 32/4=8, Resulting Numbers: [47, 10, 8] Generated Node #2: [47, 10, 8] from Operation: 32/4=8 Current State: 94:[47, 10, 8], Operations: ['32/4=8'] Exploring Operation: 10-8=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 10-8=2 Current State: 94:[47, 2], Operations: ['32/4=8', '10-8=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[47, 32, 4, 10], Operations: [] Exploring Operation: 32/4=8, Resulting Numbers: [47, 10, 8] Generated Node #0,0: 94:[47, 10, 8] Operation: 32/4=8 Exploring Operation: 32+10=42, Resulting Numbers: [47, 4, 42] Generated Node #0,1: 94:[47, 4, 42] Operation: 32+10=42 Moving to Node #0,1 Current State: 94:[47, 4, 42], Operations: ['32+10=42'] Exploring Operation: 47-42=5, Resulting Numbers: [4, 5] Generated Node #0,1,0: 94:[4, 5] Operation: 47-42=5 Exploring Operation: 4+42=46, Resulting Numbers: [47, 46] Generated Node #0,1,1: 94:[47, 46] Operation: 4+42=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[47, 46], Operations: ['32+10=42', '4+42=46'] Exploring Operation: 47+46=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,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:[4, 5], Operations: ['32+10=42', '47-42=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 94:[47, 10, 8], Operations: ['32/4=8'] Exploring Operation: 10-8=2, Resulting Numbers: [47, 2] Generated Node #0,0,0: 94:[47, 2] Operation: 10-8=2 Exploring Operation: 10*8=80, Resulting Numbers: [47, 80] Generated Node #0,0,1: 94:[47, 80] Operation: 10*8=80 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[47, 2], Operations: ['32/4=8', '10-8=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[47, 32, 4, 10], Operations: [] Exploring Operation: 32/4=8, Resulting Numbers: [47, 10, 8] Generated Node #0,0: 94:[47, 10, 8] Operation: 32/4=8 Moving to Node #0,0 Current State: 94:[47, 10, 8], Operations: ['32/4=8'] Exploring Operation: 10-8=2, Resulting Numbers: [47, 2] Generated Node #0,0,0: 94:[47, 2] Operation: 10-8=2 Moving to Node #0,0,0 Current State: 94:[47, 2], Operations: ['32/4=8', '10-8=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 56, 71, 9, 50 ]
86
[ "56+71=127", "50-9=41", "127-41=86" ]
Current State: 86:[56, 71, 9, 50], Operations: [] Exploring Operation: 56+71=127, Resulting Numbers: [9, 50, 127] Generated Node #2: [9, 50, 127] from Operation: 56+71=127 Current State: 86:[9, 50, 127], Operations: ['56+71=127'] Exploring Operation: 50-9=41, Resulting Numbers: [127, 41] Generated Node #3: [127, 41] from Operation: 50-9=41 Current State: 86:[127, 41], Operations: ['56+71=127', '50-9=41'] Exploring Operation: 127-41=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[56, 71, 9, 50], Operations: [] Exploring Operation: 56-9=47, Resulting Numbers: [71, 50, 47] Generated Node #0,0: 86:[71, 50, 47] Operation: 56-9=47 Exploring Operation: 56-50=6, Resulting Numbers: [71, 9, 6] Generated Node #0,1: 86:[71, 9, 6] Operation: 56-50=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[71, 50, 47], Operations: ['56-9=47'] Exploring Operation: 71-50=21, Resulting Numbers: [47, 21] Generated Node #0,0,0: 86:[47, 21] Operation: 71-50=21 Exploring Operation: 50-47=3, Resulting Numbers: [71, 3] Generated Node #0,0,1: 86:[71, 3] Operation: 50-47=3 Moving to Node #0,0,1 Current State: 86:[71, 3], Operations: ['56-9=47', '50-47=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,86 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[47, 21], Operations: ['56-9=47', '71-50=21'] Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,86 unequal: No Solution Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,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:[71, 9, 6], Operations: ['56-50=6'] Exploring Operation: 71+9=80, Resulting Numbers: [6, 80] Generated Node #0,1,0: 86:[6, 80] Operation: 71+9=80 Exploring Operation: 71+6=77, Resulting Numbers: [9, 77] Generated Node #0,1,1: 86:[9, 77] Operation: 71+6=77 Moving to Node #0,1,0 Current State: 86:[6, 80], Operations: ['56-50=6', '71+9=80'] Exploring Operation: 6+80=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[56, 71, 9, 50], Operations: [] Exploring Operation: 56-50=6, Resulting Numbers: [71, 9, 6] Generated Node #0,1: 86:[71, 9, 6] Operation: 56-50=6 Moving to Node #0,1 Current State: 86:[71, 9, 6], Operations: ['56-50=6'] Exploring Operation: 71+9=80, Resulting Numbers: [6, 80] Generated Node #0,1,0: 86:[6, 80] Operation: 71+9=80 Moving to Node #0,1,0 Current State: 86:[6, 80], Operations: ['56-50=6', '71+9=80'] Exploring Operation: 6+80=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 65, 4, 50, 1 ]
10
[ "65-4=61", "50+1=51", "61-51=10" ]
Current State: 10:[65, 4, 50, 1], Operations: [] Exploring Operation: 65-4=61, Resulting Numbers: [50, 1, 61] Generated Node #2: [50, 1, 61] from Operation: 65-4=61 Current State: 10:[50, 1, 61], Operations: ['65-4=61'] Exploring Operation: 50+1=51, Resulting Numbers: [61, 51] Generated Node #3: [61, 51] from Operation: 50+1=51 Current State: 10:[61, 51], Operations: ['65-4=61', '50+1=51'] Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[65, 4, 50, 1], Operations: [] Exploring Operation: 65-4=61, Resulting Numbers: [50, 1, 61] Generated Node #0,0: 10:[50, 1, 61] Operation: 65-4=61 Exploring Operation: 65-50=15, Resulting Numbers: [4, 1, 15] Generated Node #0,1: 10:[4, 1, 15] Operation: 65-50=15 Moving to Node #0,1 Current State: 10:[4, 1, 15], Operations: ['65-50=15'] Exploring Operation: 15-4=11, Resulting Numbers: [1, 11] Generated Node #0,1,0: 10:[1, 11] Operation: 15-4=11 Exploring Operation: 4+1=5, Resulting Numbers: [15, 5] Generated Node #0,1,1: 10:[15, 5] Operation: 4+1=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[1, 11], Operations: ['65-50=15', '15-4=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[65, 4, 50, 1], Operations: [] Exploring Operation: 65-50=15, Resulting Numbers: [4, 1, 15] Generated Node #0,1: 10:[4, 1, 15] Operation: 65-50=15 Moving to Node #0,1 Current State: 10:[4, 1, 15], Operations: ['65-50=15'] Exploring Operation: 15-4=11, Resulting Numbers: [1, 11] Generated Node #0,1,0: 10:[1, 11] Operation: 15-4=11 Moving to Node #0,1,0 Current State: 10:[1, 11], Operations: ['65-50=15', '15-4=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 13, 13, 28, 93 ]
65
[ "13-13=0", "93-28=65", "0+65=65" ]
Current State: 65:[13, 13, 28, 93], Operations: [] Exploring Operation: 13-13=0, Resulting Numbers: [28, 93, 0] Generated Node #2: [28, 93, 0] from Operation: 13-13=0 Current State: 65:[28, 93, 0], Operations: ['13-13=0'] Exploring Operation: 93-28=65, Resulting Numbers: [0, 65] Generated Node #3: [0, 65] from Operation: 93-28=65 Current State: 65:[0, 65], Operations: ['13-13=0', '93-28=65'] Exploring Operation: 0+65=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[13, 13, 28, 93], Operations: [] Exploring Operation: 93-28=65, Resulting Numbers: [13, 13, 65] Generated Node #0,0: 65:[13, 13, 65] Operation: 93-28=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[13, 13, 65], Operations: ['93-28=65'] Exploring Operation: 65/13=5, Resulting Numbers: [13, 5] Generated Node #0,0,0: 65:[13, 5] Operation: 65/13=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[13, 5], Operations: ['93-28=65', '65/13=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[13, 13, 28, 93], Operations: [] Exploring Operation: 93-28=65, Resulting Numbers: [13, 13, 65] Generated Node #0,0: 65:[13, 13, 65] Operation: 93-28=65 Moving to Node #0,0 Current State: 65:[13, 13, 65], Operations: ['93-28=65'] Exploring Operation: 65/13=5, Resulting Numbers: [13, 5] Generated Node #0,0,0: 65:[13, 5] Operation: 65/13=5 Moving to Node #0,0,0 Current State: 65:[13, 5], Operations: ['93-28=65', '65/13=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 13, 25, 85, 22 ]
96
[ "25*85=2125", "2125-13=2112", "2112/22=96" ]
Current State: 96:[13, 25, 85, 22], Operations: [] Exploring Operation: 25*85=2125, Resulting Numbers: [13, 22, 2125] Generated Node #2: [13, 22, 2125] from Operation: 25*85=2125 Current State: 96:[13, 22, 2125], Operations: ['25*85=2125'] Exploring Operation: 2125-13=2112, Resulting Numbers: [22, 2112] Generated Node #3: [22, 2112] from Operation: 2125-13=2112 Current State: 96:[22, 2112], Operations: ['25*85=2125', '2125-13=2112'] Exploring Operation: 2112/22=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[13, 25, 85, 22], Operations: [] Exploring Operation: 13+85=98, Resulting Numbers: [25, 22, 98] Generated Node #0,0: 96:[25, 22, 98] Operation: 13+85=98 Exploring Operation: 25-22=3, Resulting Numbers: [13, 85, 3] Generated Node #0,1: 96:[13, 85, 3] Operation: 25-22=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[25, 22, 98], Operations: ['13+85=98'] Exploring Operation: 25-22=3, Resulting Numbers: [98, 3] Generated Node #0,0,0: 96:[98, 3] Operation: 25-22=3 Exploring Operation: 25+22=47, Resulting Numbers: [98, 47] Generated Node #0,0,1: 96:[98, 47] Operation: 25+22=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[98, 3], Operations: ['13+85=98', '25-22=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,96 unequal: No Solution Exploring Operation: 98+3=101, Resulting Numbers: [101] 101,96 unequal: No Solution No 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: 96:[98, 47], Operations: ['13+85=98', '25+22=47'] Exploring Operation: 98+47=145, Resulting Numbers: [145] 145,96 unequal: No Solution Exploring Operation: 98-47=51, Resulting Numbers: [51] 51,96 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: 96:[13, 85, 3], Operations: ['25-22=3'] Exploring Operation: 85+3=88, Resulting Numbers: [13, 88] Generated Node #0,1,0: 96:[13, 88] Operation: 85+3=88 Exploring Operation: 13+85=98, Resulting Numbers: [3, 98] Generated Node #0,1,1: 96:[3, 98] Operation: 13+85=98 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[3, 98], Operations: ['25-22=3', '13+85=98'] Exploring Operation: 3+98=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,96 unequal: No Solution No 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: 96:[13, 88], Operations: ['25-22=3', '85+3=88'] Exploring Operation: 13+88=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 96, 55, 4, 35 ]
99
[ "96-55=41", "4*35=140", "140-41=99" ]
Current State: 99:[96, 55, 4, 35], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [4, 35, 41] Generated Node #2: [4, 35, 41] from Operation: 96-55=41 Current State: 99:[4, 35, 41], Operations: ['96-55=41'] Exploring Operation: 4*35=140, Resulting Numbers: [41, 140] Generated Node #3: [41, 140] from Operation: 4*35=140 Current State: 99:[41, 140], Operations: ['96-55=41', '4*35=140'] Exploring Operation: 140-41=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[96, 55, 4, 35], Operations: [] Exploring Operation: 55+35=90, Resulting Numbers: [96, 4, 90] Generated Node #0,0: 99:[96, 4, 90] Operation: 55+35=90 Exploring Operation: 55-35=20, Resulting Numbers: [96, 4, 20] Generated Node #0,1: 99:[96, 4, 20] Operation: 55-35=20 Exploring Operation: 96-55=41, Resulting Numbers: [4, 35, 41] Generated Node #0,2: 99:[4, 35, 41] Operation: 96-55=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[4, 35, 41], Operations: ['96-55=41'] Exploring Operation: 35-4=31, Resulting Numbers: [41, 31] Generated Node #0,2,0: 99:[41, 31] Operation: 35-4=31 Exploring Operation: 41-35=6, Resulting Numbers: [4, 6] Generated Node #0,2,1: 99:[4, 6] Operation: 41-35=6 Exploring Operation: 41-4=37, Resulting Numbers: [35, 37] Generated Node #0,2,2: 99:[35, 37] Operation: 41-4=37 Moving to Node #0,2,1 Current State: 99:[4, 6], Operations: ['96-55=41', '41-35=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[35, 37], Operations: ['96-55=41', '41-4=37'] Exploring Operation: 35*37=1295, Resulting Numbers: [1295] 1295,99 unequal: No Solution Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[41, 31], Operations: ['96-55=41', '35-4=31'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 41*31=1271, Resulting Numbers: [1271] 1271,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 Current State: 99:[96, 4, 90], Operations: ['55+35=90'] Exploring Operation: 4+90=94, Resulting Numbers: [96, 94] Generated Node #0,0,0: 99:[96, 94] Operation: 4+90=94 Exploring Operation: 96-90=6, Resulting Numbers: [4, 6] Generated Node #0,0,1: 99:[4, 6] Operation: 96-90=6 Exploring Operation: 96+4=100, Resulting Numbers: [90, 100] Generated Node #0,0,2: 99:[90, 100] Operation: 96+4=100 Moving to Node #0,0,1 Current State: 99:[4, 6], Operations: ['55+35=90', '96-90=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[96, 94], Operations: ['55+35=90', '4+90=94'] Exploring Operation: 96-94=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 96+94=190, Resulting Numbers: [190] 190,99 unequal: No Solution Exploring Operation: 96*94=9024, Resulting Numbers: [9024] 9024,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[90, 100], Operations: ['55+35=90', '96+4=100'] Exploring Operation: 100-90=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 90*100=9000, Resulting Numbers: [9000] 9000,99 unequal: No Solution Exploring Operation: 90+100=190, Resulting Numbers: [190] 190,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 Current State: 99:[96, 4, 20], Operations: ['55-35=20'] Exploring Operation: 20-4=16, Resulting Numbers: [96, 16] Generated Node #0,1,0: 99:[96, 16] Operation: 20-4=16 Exploring Operation: 96+4=100, Resulting Numbers: [20, 100] Generated Node #0,1,1: 99:[20, 100] Operation: 96+4=100 Exploring Operation: 20/4=5, Resulting Numbers: [96, 5] Generated Node #0,1,2: 99:[96, 5] Operation: 20/4=5 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[96, 5], Operations: ['55-35=20', '20/4=5'] Exploring Operation: 96*5=480, Resulting Numbers: [480] 480,99 unequal: No Solution Exploring Operation: 96+5=101, Resulting Numbers: [101] 101,99 unequal: No Solution Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[96, 16], Operations: ['55-35=20', '20-4=16'] Exploring Operation: 96+16=112, Resulting Numbers: [112] 112,99 unequal: No Solution Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[20, 100], Operations: ['55-35=20', '96+4=100'] Exploring Operation: 100-20=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 100/20=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 20+100=120, Resulting Numbers: [120] 120,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 73, 12, 33, 59 ]
22
[ "73+59=132", "132/12=11", "33-11=22" ]
Current State: 22:[73, 12, 33, 59], Operations: [] Exploring Operation: 73+59=132, Resulting Numbers: [12, 33, 132] Generated Node #2: [12, 33, 132] from Operation: 73+59=132 Current State: 22:[12, 33, 132], Operations: ['73+59=132'] Exploring Operation: 132/12=11, Resulting Numbers: [33, 11] Generated Node #3: [33, 11] from Operation: 132/12=11 Current State: 22:[33, 11], Operations: ['73+59=132', '132/12=11'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[73, 12, 33, 59], Operations: [] Exploring Operation: 73-33=40, Resulting Numbers: [12, 59, 40] Generated Node #0,0: 22:[12, 59, 40] Operation: 73-33=40 Exploring Operation: 73-12=61, Resulting Numbers: [33, 59, 61] Generated Node #0,1: 22:[33, 59, 61] Operation: 73-12=61 Exploring Operation: 59-33=26, Resulting Numbers: [73, 12, 26] Generated Node #0,2: 22:[73, 12, 26] Operation: 59-33=26 Exploring Operation: 73-59=14, Resulting Numbers: [12, 33, 14] Generated Node #0,3: 22:[12, 33, 14] Operation: 73-59=14 Exploring Operation: 59-12=47, Resulting Numbers: [73, 33, 47] Generated Node #0,4: 22:[73, 33, 47] Operation: 59-12=47 Moving to Node #0,3 Current State: 22:[12, 33, 14], Operations: ['73-59=14'] Exploring Operation: 14-12=2, Resulting Numbers: [33, 2] Generated Node #0,3,0: 22:[33, 2] Operation: 14-12=2 Exploring Operation: 33-14=19, Resulting Numbers: [12, 19] Generated Node #0,3,1: 22:[12, 19] Operation: 33-14=19 Exploring Operation: 33-12=21, Resulting Numbers: [14, 21] Generated Node #0,3,2: 22:[14, 21] Operation: 33-12=21 Exploring Operation: 12+14=26, Resulting Numbers: [33, 26] Generated Node #0,3,3: 22:[33, 26] Operation: 12+14=26 Exploring Operation: 12+33=45, Resulting Numbers: [14, 45] Generated Node #0,3,4: 22:[14, 45] Operation: 12+33=45 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 22:[12, 19], Operations: ['73-59=14', '33-14=19'] Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,22 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,22 unequal: No Solution No 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: 22:[14, 21], Operations: ['73-59=14', '33-12=21'] Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,22 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,22 unequal: No Solution No 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: 22:[33, 2], Operations: ['73-59=14', '14-12=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,22 unequal: No Solution No 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: 22:[33, 26], Operations: ['73-59=14', '12+14=26'] Exploring Operation: 33*26=858, Resulting Numbers: [858] 858,22 unequal: No Solution Exploring Operation: 33+26=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,22 unequal: No Solution No 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: 22:[14, 45], Operations: ['73-59=14', '12+33=45'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,22 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: 22:[73, 12, 26], Operations: ['59-33=26'] Exploring Operation: 73-12=61, Resulting Numbers: [26, 61] Generated Node #0,2,0: 22:[26, 61] Operation: 73-12=61 Exploring Operation: 26-12=14, Resulting Numbers: [73, 14] Generated Node #0,2,1: 22:[73, 14] Operation: 26-12=14 Exploring Operation: 73-26=47, Resulting Numbers: [12, 47] Generated Node #0,2,2: 22:[12, 47] Operation: 73-26=47 Exploring Operation: 12+26=38, Resulting Numbers: [73, 38] Generated Node #0,2,3: 22:[73, 38] Operation: 12+26=38 Exploring Operation: 73+12=85, Resulting Numbers: [26, 85] Generated Node #0,2,4: 22:[26, 85] Operation: 73+12=85 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[12, 47], Operations: ['59-33=26', '73-26=47'] Exploring Operation: 12+47=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 12*47=564, Resulting Numbers: [564] 564,22 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,22 unequal: No Solution No 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: 22:[26, 61], Operations: ['59-33=26', '73-12=61'] Exploring Operation: 26*61=1586, Resulting Numbers: [1586] 1586,22 unequal: No Solution Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 26+61=87, Resulting Numbers: [87] 87,22 unequal: No Solution No 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: 22:[73, 14], Operations: ['59-33=26', '26-12=14'] Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 73*14=1022, Resulting Numbers: [1022] 1022,22 unequal: No Solution No 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: 22:[73, 38], Operations: ['59-33=26', '12+26=38'] Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,22 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,22 unequal: No Solution No 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: 22:[26, 85], Operations: ['59-33=26', '73+12=85'] Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,22 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,22 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: 22:[12, 59, 40], Operations: ['73-33=40'] Exploring Operation: 59-40=19, Resulting Numbers: [12, 19] Generated Node #0,0,0: 22:[12, 19] Operation: 59-40=19 Exploring Operation: 12+59=71, Resulting Numbers: [40, 71] Generated Node #0,0,1: 22:[40, 71] Operation: 12+59=71 Exploring Operation: 59-12=47, Resulting Numbers: [40, 47] Generated Node #0,0,2: 22:[40, 47] Operation: 59-12=47 Exploring Operation: 12+40=52, Resulting Numbers: [59, 52] Generated Node #0,0,3: 22:[59, 52] Operation: 12+40=52 Exploring Operation: 40-12=28, Resulting Numbers: [59, 28] Generated Node #0,0,4: 22:[59, 28] Operation: 40-12=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[12, 19], Operations: ['73-33=40', '59-40=19'] Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,22 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,22 unequal: No Solution No 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: 22:[40, 47], Operations: ['73-33=40', '59-12=47'] Exploring Operation: 40*47=1880, Resulting Numbers: [1880] 1880,22 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 40+47=87, Resulting Numbers: [87] 87,22 unequal: No Solution No 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: 22:[59, 28], Operations: ['73-33=40', '40-12=28'] Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 59*28=1652, Resulting Numbers: [1652] 1652,22 unequal: No Solution No 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: 22:[40, 71], Operations: ['73-33=40', '12+59=71'] Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,22 unequal: No Solution Exploring Operation: 40*71=2840, Resulting Numbers: [2840] 2840,22 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,22 unequal: No Solution No 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: 22:[59, 52], Operations: ['73-33=40', '12+40=52'] Exploring Operation: 59*52=3068, Resulting Numbers: [3068] 3068,22 unequal: No Solution Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 59+52=111, Resulting Numbers: [111] 111,22 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: 22:[33, 59, 61], Operations: ['73-12=61'] Exploring Operation: 33+61=94, Resulting Numbers: [59, 94] Generated Node #0,1,0: 22:[59, 94] Operation: 33+61=94 Exploring Operation: 61-33=28, Resulting Numbers: [59, 28] Generated Node #0,1,1: 22:[59, 28] Operation: 61-33=28 Exploring Operation: 33+59=92, Resulting Numbers: [61, 92] Generated Node #0,1,2: 22:[61, 92] Operation: 33+59=92 Exploring Operation: 59-33=26, Resulting Numbers: [61, 26] Generated Node #0,1,3: 22:[61, 26] Operation: 59-33=26 Exploring Operation: 61-59=2, Resulting Numbers: [33, 2] Generated Node #0,1,4: 22:[33, 2] Operation: 61-59=2 Moving to Node #0,4 Current State: 22:[73, 33, 47], Operations: ['59-12=47'] Exploring Operation: 73+47=120, Resulting Numbers: [33, 120] Generated Node #0,4,0: 22:[33, 120] Operation: 73+47=120 Exploring Operation: 73+33=106, Resulting Numbers: [47, 106] Generated Node #0,4,1: 22:[47, 106] Operation: 73+33=106 Exploring Operation: 47-33=14, Resulting Numbers: [73, 14] Generated Node #0,4,2: 22:[73, 14] Operation: 47-33=14 Exploring Operation: 73-47=26, Resulting Numbers: [33, 26] Generated Node #0,4,3: 22:[33, 26] Operation: 73-47=26 Exploring Operation: 73-33=40, Resulting Numbers: [47, 40] Generated Node #0,4,4: 22:[47, 40] Operation: 73-33=40 Moving to Node #0,1,4 Current State: 22:[33, 2], Operations: ['73-12=61', '61-59=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,22 unequal: No Solution Moving to Node #0,4,3 Current State: 22:[33, 26], Operations: ['59-12=47', '73-47=26'] Exploring Operation: 33*26=858, Resulting Numbers: [858] 858,22 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 33+26=59, Resulting Numbers: [59] 59,22 unequal: No Solution Moving to Node #0,4,4 Current State: 22:[47, 40], Operations: ['59-12=47', '73-33=40'] Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 47+40=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 47*40=1880, Resulting Numbers: [1880] 1880,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[61, 26], Operations: ['73-12=61', '59-33=26'] Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,22 unequal: No Solution Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[59, 28], Operations: ['73-12=61', '61-33=28'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 59*28=1652, Resulting Numbers: [1652] 1652,22 unequal: No Solution Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,22 unequal: No Solution Moving to Node #0,4,2 Current State: 22:[73, 14], Operations: ['59-12=47', '47-33=14'] Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 73*14=1022, Resulting Numbers: [1022] 1022,22 unequal: No Solution Moving to Node #0,4,1 Current State: 22:[47, 106], Operations: ['59-12=47', '73+33=106'] Exploring Operation: 47*106=4982, Resulting Numbers: [4982] 4982,22 unequal: No Solution Exploring Operation: 106-47=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 47+106=153, Resulting Numbers: [153] 153,22 unequal: No Solution Moving to Node #0,4,0 Current State: 22:[33, 120], Operations: ['59-12=47', '73+47=120'] Exploring Operation: 33*120=3960, Resulting Numbers: [3960] 3960,22 unequal: No Solution Exploring Operation: 33+120=153, Resulting Numbers: [153] 153,22 unequal: No Solution Exploring Operation: 120-33=87, Resulting Numbers: [87] 87,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[61, 92], Operations: ['73-12=61', '33+59=92'] Exploring Operation: 92-61=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 61*92=5612, Resulting Numbers: [5612] 5612,22 unequal: No Solution Exploring Operation: 61+92=153, Resulting Numbers: [153] 153,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[59, 94], Operations: ['73-12=61', '33+61=94'] Exploring Operation: 59+94=153, Resulting Numbers: [153] 153,22 unequal: No Solution Exploring Operation: 59*94=5546, Resulting Numbers: [5546] 5546,22 unequal: No Solution Exploring Operation: 94-59=35, Resulting Numbers: [35] 35,22 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 85, 83, 14, 82 ]
99
[ "85+14=99", "83-82=1", "99*1=99" ]
Current State: 99:[85, 83, 14, 82], Operations: [] Exploring Operation: 85+14=99, Resulting Numbers: [83, 82, 99] Generated Node #2: [83, 82, 99] from Operation: 85+14=99 Current State: 99:[83, 82, 99], Operations: ['85+14=99'] Exploring Operation: 83-82=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 83-82=1 Current State: 99:[99, 1], Operations: ['85+14=99', '83-82=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[85, 83, 14, 82], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [83, 14, 3] Generated Node #0,0: 99:[83, 14, 3] Operation: 85-82=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[83, 14, 3], Operations: ['85-82=3'] Exploring Operation: 83+14=97, Resulting Numbers: [3, 97] Generated Node #0,0,0: 99:[3, 97] Operation: 83+14=97 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[3, 97], Operations: ['85-82=3', '83+14=97'] Exploring Operation: 3+97=100, Resulting Numbers: [100] 100,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 60, 62, 11, 90 ]
10
[ "62-60=2", "11-2=9", "90/9=10" ]
Current State: 10:[60, 62, 11, 90], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [11, 90, 2] Generated Node #2: [11, 90, 2] from Operation: 62-60=2 Current State: 10:[11, 90, 2], Operations: ['62-60=2'] Exploring Operation: 11-2=9, Resulting Numbers: [90, 9] Generated Node #3: [90, 9] from Operation: 11-2=9 Current State: 10:[90, 9], Operations: ['62-60=2', '11-2=9'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[60, 62, 11, 90], Operations: [] Exploring Operation: 90-62=28, Resulting Numbers: [60, 11, 28] Generated Node #0,0: 10:[60, 11, 28] Operation: 90-62=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[60, 11, 28], Operations: ['90-62=28'] Exploring Operation: 60-28=32, Resulting Numbers: [11, 32] Generated Node #0,0,0: 10:[11, 32] Operation: 60-28=32 Moving to Node #0,0,0 Current State: 10:[11, 32], Operations: ['90-62=28', '60-28=32'] Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,10 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
[ 64, 18, 20, 85 ]
18
[ "64+20=84", "85-84=1", "18*1=18" ]
Current State: 18:[64, 18, 20, 85], Operations: [] Exploring Operation: 64+20=84, Resulting Numbers: [18, 85, 84] Generated Node #2: [18, 85, 84] from Operation: 64+20=84 Current State: 18:[18, 85, 84], Operations: ['64+20=84'] Exploring Operation: 85-84=1, Resulting Numbers: [18, 1] Generated Node #3: [18, 1] from Operation: 85-84=1 Current State: 18:[18, 1], Operations: ['64+20=84', '85-84=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[64, 18, 20, 85], Operations: [] Exploring Operation: 64-20=44, Resulting Numbers: [18, 85, 44] Generated Node #0,0: 18:[18, 85, 44] Operation: 64-20=44 Exploring Operation: 85-64=21, Resulting Numbers: [18, 20, 21] Generated Node #0,1: 18:[18, 20, 21] Operation: 85-64=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[18, 20, 21], Operations: ['85-64=21'] Exploring Operation: 21-18=3, Resulting Numbers: [20, 3] Generated Node #0,1,0: 18:[20, 3] Operation: 21-18=3 Exploring Operation: 21-20=1, Resulting Numbers: [18, 1] Generated Node #0,1,1: 18:[18, 1] Operation: 21-20=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 18:[18, 1], Operations: ['85-64=21', '21-20=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[64, 18, 20, 85], Operations: [] Exploring Operation: 85-64=21, Resulting Numbers: [18, 20, 21] Generated Node #0,1: 18:[18, 20, 21] Operation: 85-64=21 Moving to Node #0,1 Current State: 18:[18, 20, 21], Operations: ['85-64=21'] Exploring Operation: 21-20=1, Resulting Numbers: [18, 1] Generated Node #0,1,1: 18:[18, 1] Operation: 21-20=1 Moving to Node #0,1,1 Current State: 18:[18, 1], Operations: ['85-64=21', '21-20=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 87, 96, 65, 19 ]
37
[ "96-87=9", "65-19=46", "46-9=37" ]
Current State: 37:[87, 96, 65, 19], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [65, 19, 9] Generated Node #2: [65, 19, 9] from Operation: 96-87=9 Current State: 37:[65, 19, 9], Operations: ['96-87=9'] Exploring Operation: 65-19=46, Resulting Numbers: [9, 46] Generated Node #3: [9, 46] from Operation: 65-19=46 Current State: 37:[9, 46], Operations: ['96-87=9', '65-19=46'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[87, 96, 65, 19], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [96, 19, 22] Generated Node #0,0: 37:[96, 19, 22] Operation: 87-65=22 Exploring Operation: 96-65=31, Resulting Numbers: [87, 19, 31] Generated Node #0,1: 37:[87, 19, 31] Operation: 96-65=31 Exploring Operation: 96-87=9, Resulting Numbers: [65, 19, 9] Generated Node #0,2: 37:[65, 19, 9] Operation: 96-87=9 Moving to Node #0,1 Current State: 37:[87, 19, 31], Operations: ['96-65=31'] Exploring Operation: 87-19=68, Resulting Numbers: [31, 68] Generated Node #0,1,0: 37:[31, 68] Operation: 87-19=68 Exploring Operation: 87-31=56, Resulting Numbers: [19, 56] Generated Node #0,1,1: 37:[19, 56] Operation: 87-31=56 Exploring Operation: 19+31=50, Resulting Numbers: [87, 50] Generated Node #0,1,2: 37:[87, 50] Operation: 19+31=50 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[31, 68], Operations: ['96-65=31', '87-19=68'] Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[87, 96, 65, 19], Operations: [] Exploring Operation: 96-65=31, Resulting Numbers: [87, 19, 31] Generated Node #0,1: 37:[87, 19, 31] Operation: 96-65=31 Moving to Node #0,1 Current State: 37:[87, 19, 31], Operations: ['96-65=31'] Exploring Operation: 87-19=68, Resulting Numbers: [31, 68] Generated Node #0,1,0: 37:[31, 68] Operation: 87-19=68 Moving to Node #0,1,0 Current State: 37:[31, 68], Operations: ['96-65=31', '87-19=68'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 62, 56, 57, 58 ]
64
[ "56+58=114", "114/57=2", "62+2=64" ]
Current State: 64:[62, 56, 57, 58], Operations: [] Exploring Operation: 56+58=114, Resulting Numbers: [62, 57, 114] Generated Node #2: [62, 57, 114] from Operation: 56+58=114 Current State: 64:[62, 57, 114], Operations: ['56+58=114'] Exploring Operation: 114/57=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 114/57=2 Current State: 64:[62, 2], Operations: ['56+58=114', '114/57=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[62, 56, 57, 58], Operations: [] Exploring Operation: 57-56=1, Resulting Numbers: [62, 58, 1] Generated Node #0,0: 64:[62, 58, 1] Operation: 57-56=1 Moving to Node #0,0 Current State: 64:[62, 58, 1], Operations: ['57-56=1'] Exploring Operation: 62-58=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 64:[1, 4] Operation: 62-58=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[1, 4], Operations: ['57-56=1', '62-58=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 88, 24, 73, 90 ]
99
[ "88-24=64", "73+90=163", "163-64=99" ]
Current State: 99:[88, 24, 73, 90], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [73, 90, 64] Generated Node #2: [73, 90, 64] from Operation: 88-24=64 Current State: 99:[73, 90, 64], Operations: ['88-24=64'] Exploring Operation: 73+90=163, Resulting Numbers: [64, 163] Generated Node #3: [64, 163] from Operation: 73+90=163 Current State: 99:[64, 163], Operations: ['88-24=64', '73+90=163'] Exploring Operation: 163-64=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[88, 24, 73, 90], Operations: [] Exploring Operation: 88-73=15, Resulting Numbers: [24, 90, 15] Generated Node #0,0: 99:[24, 90, 15] Operation: 88-73=15 Moving to Node #0,0 Current State: 99:[24, 90, 15], Operations: ['88-73=15'] Exploring Operation: 24-15=9, Resulting Numbers: [90, 9] Generated Node #0,0,0: 99:[90, 9] Operation: 24-15=9 Moving to Node #0,0,0 Current State: 99:[90, 9], Operations: ['88-73=15', '24-15=9'] Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[88, 24, 73, 90], Operations: [] Exploring Operation: 88-73=15, Resulting Numbers: [24, 90, 15] Generated Node #0,0: 99:[24, 90, 15] Operation: 88-73=15 Moving to Node #0,0 Current State: 99:[24, 90, 15], Operations: ['88-73=15'] Exploring Operation: 24-15=9, Resulting Numbers: [90, 9] Generated Node #0,0,0: 99:[90, 9] Operation: 24-15=9 Moving to Node #0,0,0 Current State: 99:[90, 9], Operations: ['88-73=15', '24-15=9'] Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 94, 78, 17, 69 ]
69
[ "94-78=16", "17-16=1", "69*1=69" ]
Current State: 69:[94, 78, 17, 69], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [17, 69, 16] Generated Node #2: [17, 69, 16] from Operation: 94-78=16 Current State: 69:[17, 69, 16], Operations: ['94-78=16'] Exploring Operation: 17-16=1, Resulting Numbers: [69, 1] Generated Node #3: [69, 1] from Operation: 17-16=1 Current State: 69:[69, 1], Operations: ['94-78=16', '17-16=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[94, 78, 17, 69], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [78, 17, 25] Generated Node #0,0: 69:[78, 17, 25] Operation: 94-69=25 Exploring Operation: 94-78=16, Resulting Numbers: [17, 69, 16] Generated Node #0,1: 69:[17, 69, 16] Operation: 94-78=16 Exploring Operation: 94-17=77, Resulting Numbers: [78, 69, 77] Generated Node #0,2: 69:[78, 69, 77] Operation: 94-17=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[17, 69, 16], Operations: ['94-78=16'] Exploring Operation: 17-16=1, Resulting Numbers: [69, 1] Generated Node #0,1,0: 69:[69, 1] Operation: 17-16=1 Exploring Operation: 17+16=33, Resulting Numbers: [69, 33] Generated Node #0,1,1: 69:[69, 33] Operation: 17+16=33 Exploring Operation: 69+16=85, Resulting Numbers: [17, 85] Generated Node #0,1,2: 69:[17, 85] Operation: 69+16=85 Moving to Node #0,1,0 Current State: 69:[69, 1], Operations: ['94-78=16', '17-16=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[94, 78, 17, 69], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [17, 69, 16] Generated Node #0,1: 69:[17, 69, 16] Operation: 94-78=16 Moving to Node #0,1 Current State: 69:[17, 69, 16], Operations: ['94-78=16'] Exploring Operation: 17-16=1, Resulting Numbers: [69, 1] Generated Node #0,1,0: 69:[69, 1] Operation: 17-16=1 Moving to Node #0,1,0 Current State: 69:[69, 1], Operations: ['94-78=16', '17-16=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 47, 5, 8, 32 ]
38
[ "47-5=42", "32/8=4", "42-4=38" ]
Current State: 38:[47, 5, 8, 32], Operations: [] Exploring Operation: 47-5=42, Resulting Numbers: [8, 32, 42] Generated Node #2: [8, 32, 42] from Operation: 47-5=42 Current State: 38:[8, 32, 42], Operations: ['47-5=42'] Exploring Operation: 32/8=4, Resulting Numbers: [42, 4] Generated Node #3: [42, 4] from Operation: 32/8=4 Current State: 38:[42, 4], Operations: ['47-5=42', '32/8=4'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[47, 5, 8, 32], Operations: [] Exploring Operation: 47-8=39, Resulting Numbers: [5, 32, 39] Generated Node #0,0: 38:[5, 32, 39] Operation: 47-8=39 Exploring Operation: 47-5=42, Resulting Numbers: [8, 32, 42] Generated Node #0,1: 38:[8, 32, 42] Operation: 47-5=42 Exploring Operation: 8+32=40, Resulting Numbers: [47, 5, 40] Generated Node #0,2: 38:[47, 5, 40] Operation: 8+32=40 Exploring Operation: 47-32=15, Resulting Numbers: [5, 8, 15] Generated Node #0,3: 38:[5, 8, 15] Operation: 47-32=15 Exploring Operation: 32/8=4, Resulting Numbers: [47, 5, 4] Generated Node #0,4: 38:[47, 5, 4] Operation: 32/8=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[5, 32, 39], Operations: ['47-8=39'] Exploring Operation: 39-5=34, Resulting Numbers: [32, 34] Generated Node #0,0,0: 38:[32, 34] Operation: 39-5=34 Exploring Operation: 32-5=27, Resulting Numbers: [39, 27] Generated Node #0,0,1: 38:[39, 27] Operation: 32-5=27 Exploring Operation: 5+39=44, Resulting Numbers: [32, 44] Generated Node #0,0,2: 38:[32, 44] Operation: 5+39=44 Exploring Operation: 5+32=37, Resulting Numbers: [39, 37] Generated Node #0,0,3: 38:[39, 37] Operation: 5+32=37 Exploring Operation: 39-32=7, Resulting Numbers: [5, 7] Generated Node #0,0,4: 38:[5, 7] Operation: 39-32=7 Moving to Node #0,0,3 Current State: 38:[39, 37], Operations: ['47-8=39', '5+32=37'] Exploring Operation: 39*37=1443, Resulting Numbers: [1443] 1443,38 unequal: No Solution Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,38 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,38 unequal: No Solution Moving to Node #0,0,4 Current State: 38:[5, 7], Operations: ['47-8=39', '39-32=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[39, 27], Operations: ['47-8=39', '32-5=27'] Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,38 unequal: No Solution Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[32, 34], Operations: ['47-8=39', '39-5=34'] Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 32+34=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 32*34=1088, Resulting Numbers: [1088] 1088,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[32, 44], Operations: ['47-8=39', '5+39=44'] Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,38 unequal: No Solution Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[5, 8, 15], Operations: ['47-32=15'] Exploring Operation: 5*8=40, Resulting Numbers: [15, 40] Generated Node #0,3,0: 38:[15, 40] Operation: 5*8=40 Exploring Operation: 5+15=20, Resulting Numbers: [8, 20] Generated Node #0,3,1: 38:[8, 20] Operation: 5+15=20 Exploring Operation: 15/5=3, Resulting Numbers: [8, 3] Generated Node #0,3,2: 38:[8, 3] Operation: 15/5=3 Exploring Operation: 8+15=23, Resulting Numbers: [5, 23] Generated Node #0,3,3: 38:[5, 23] Operation: 8+15=23 Exploring Operation: 8-5=3, Resulting Numbers: [15, 3] Generated Node #0,3,4: 38:[15, 3] Operation: 8-5=3 Moving to Node #0,3,4 Current State: 38:[15, 3], Operations: ['47-32=15', '8-5=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[15, 40], Operations: ['47-32=15', '5*8=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,38 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[8, 20], Operations: ['47-32=15', '5+15=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,38 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[8, 3], Operations: ['47-32=15', '15/5=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[5, 23], Operations: ['47-32=15', '8+15=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[47, 5, 40], Operations: ['8+32=40'] Exploring Operation: 40-5=35, Resulting Numbers: [47, 35] Generated Node #0,2,0: 38:[47, 35] Operation: 40-5=35 Exploring Operation: 47-40=7, Resulting Numbers: [5, 7] Generated Node #0,2,1: 38:[5, 7] Operation: 47-40=7 Exploring Operation: 40/5=8, Resulting Numbers: [47, 8] Generated Node #0,2,2: 38:[47, 8] Operation: 40/5=8 Exploring Operation: 47-5=42, Resulting Numbers: [40, 42] Generated Node #0,2,3: 38:[40, 42] Operation: 47-5=42 Exploring Operation: 47+5=52, Resulting Numbers: [40, 52] Generated Node #0,2,4: 38:[40, 52] Operation: 47+5=52 Moving to Node #0,2,3 Current State: 38:[40, 42], Operations: ['8+32=40', '47-5=42'] Exploring Operation: 40*42=1680, Resulting Numbers: [1680] 1680,38 unequal: No Solution Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,38 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[5, 7], Operations: ['8+32=40', '47-40=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[47, 35], Operations: ['8+32=40', '40-5=35'] Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,38 unequal: No Solution Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,38 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[47, 8], Operations: ['8+32=40', '40/5=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,38 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,38 unequal: No Solution Moving to Node #0,2,4 Current State: 38:[40, 52], Operations: ['8+32=40', '47+5=52'] Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,38 unequal: No Solution Exploring Operation: 40*52=2080, Resulting Numbers: [2080] 2080,38 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 38:[47, 5, 4], Operations: ['32/8=4'] Exploring Operation: 5-4=1, Resulting Numbers: [47, 1] Generated Node #0,4,0: 38:[47, 1] Operation: 5-4=1 Exploring Operation: 5*4=20, Resulting Numbers: [47, 20] Generated Node #0,4,1: 38:[47, 20] Operation: 5*4=20 Exploring Operation: 47+5=52, Resulting Numbers: [4, 52] Generated Node #0,4,2: 38:[4, 52] Operation: 47+5=52 Exploring Operation: 47-5=42, Resulting Numbers: [4, 42] Generated Node #0,4,3: 38:[4, 42] Operation: 47-5=42 Exploring Operation: 47-4=43, Resulting Numbers: [5, 43] Generated Node #0,4,4: 38:[5, 43] Operation: 47-4=43 Moving to Node #0,4,3 Current State: 38:[4, 42], Operations: ['32/8=4', '47-5=42'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[47, 5, 8, 32], Operations: [] Exploring Operation: 32/8=4, Resulting Numbers: [47, 5, 4] Generated Node #0,4: 38:[47, 5, 4] Operation: 32/8=4 Moving to Node #0,4 Current State: 38:[47, 5, 4], Operations: ['32/8=4'] Exploring Operation: 47-5=42, Resulting Numbers: [4, 42] Generated Node #0,4,3: 38:[4, 42] Operation: 47-5=42 Moving to Node #0,4,3 Current State: 38:[4, 42], Operations: ['32/8=4', '47-5=42'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.934028
hs_5
mult_heuristic
[ 37, 38, 57, 82 ]
25
[ "38-37=1", "82-57=25", "1*25=25" ]
Current State: 25:[37, 38, 57, 82], Operations: [] Exploring Operation: 38-37=1, Resulting Numbers: [57, 82, 1] Generated Node #2: [57, 82, 1] from Operation: 38-37=1 Current State: 25:[57, 82, 1], Operations: ['38-37=1'] Exploring Operation: 82-57=25, Resulting Numbers: [1, 25] Generated Node #3: [1, 25] from Operation: 82-57=25 Current State: 25:[1, 25], Operations: ['38-37=1', '82-57=25'] Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[37, 38, 57, 82], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [37, 38, 25] Generated Node #0,0: 25:[37, 38, 25] Operation: 82-57=25 Moving to Node #0,0 Current State: 25:[37, 38, 25], Operations: ['82-57=25'] Exploring Operation: 38-37=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 25:[25, 1] Operation: 38-37=1 Moving to Node #0,0,0 Current State: 25:[25, 1], Operations: ['82-57=25', '38-37=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[37, 38, 57, 82], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [37, 38, 25] Generated Node #0,0: 25:[37, 38, 25] Operation: 82-57=25 Moving to Node #0,0 Current State: 25:[37, 38, 25], Operations: ['82-57=25'] Exploring Operation: 38-37=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 25:[25, 1] Operation: 38-37=1 Moving to Node #0,0,0 Current State: 25:[25, 1], Operations: ['82-57=25', '38-37=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 17, 31, 71, 48 ]
42
[ "31+71=102", "102/17=6", "48-6=42" ]
Current State: 42:[17, 31, 71, 48], Operations: [] Exploring Operation: 31+71=102, Resulting Numbers: [17, 48, 102] Generated Node #2: [17, 48, 102] from Operation: 31+71=102 Current State: 42:[17, 48, 102], Operations: ['31+71=102'] Exploring Operation: 102/17=6, Resulting Numbers: [48, 6] Generated Node #3: [48, 6] from Operation: 102/17=6 Current State: 42:[48, 6], Operations: ['31+71=102', '102/17=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[17, 31, 71, 48], Operations: [] Exploring Operation: 71-31=40, Resulting Numbers: [17, 48, 40] Generated Node #0,0: 42:[17, 48, 40] Operation: 71-31=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[17, 48, 40], Operations: ['71-31=40'] Exploring Operation: 48-40=8, Resulting Numbers: [17, 8] Generated Node #0,0,0: 42:[17, 8] Operation: 48-40=8 Moving to Node #0,0,0 Current State: 42:[17, 8], Operations: ['71-31=40', '48-40=8'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 91, 41, 45, 2 ]
48
[ "41+45=86", "86/2=43", "91-43=48" ]
Current State: 48:[91, 41, 45, 2], Operations: [] Exploring Operation: 41+45=86, Resulting Numbers: [91, 2, 86] Generated Node #2: [91, 2, 86] from Operation: 41+45=86 Current State: 48:[91, 2, 86], Operations: ['41+45=86'] Exploring Operation: 86/2=43, Resulting Numbers: [91, 43] Generated Node #3: [91, 43] from Operation: 86/2=43 Current State: 48:[91, 43], Operations: ['41+45=86', '86/2=43'] Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[91, 41, 45, 2], Operations: [] Exploring Operation: 91-41=50, Resulting Numbers: [45, 2, 50] Generated Node #0,0: 48:[45, 2, 50] Operation: 91-41=50 Moving to Node #0,0 Current State: 48:[45, 2, 50], Operations: ['91-41=50'] Exploring Operation: 50-45=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 48:[2, 5] Operation: 50-45=5 Moving to Node #0,0,0 Current State: 48:[2, 5], Operations: ['91-41=50', '50-45=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,48 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 42, 93, 4, 29 ]
41
[ "42+93=135", "29+135=164", "164/4=41" ]
Current State: 41:[42, 93, 4, 29], Operations: [] Exploring Operation: 42+93=135, Resulting Numbers: [4, 29, 135] Generated Node #2: [4, 29, 135] from Operation: 42+93=135 Current State: 41:[4, 29, 135], Operations: ['42+93=135'] Exploring Operation: 29+135=164, Resulting Numbers: [4, 164] Generated Node #3: [4, 164] from Operation: 29+135=164 Current State: 41:[4, 164], Operations: ['42+93=135', '29+135=164'] Exploring Operation: 164/4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[42, 93, 4, 29], Operations: [] Exploring Operation: 93-4=89, Resulting Numbers: [42, 29, 89] Generated Node #0,0: 41:[42, 29, 89] Operation: 93-4=89 Exploring Operation: 93-42=51, Resulting Numbers: [4, 29, 51] Generated Node #0,1: 41:[4, 29, 51] Operation: 93-42=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[4, 29, 51], Operations: ['93-42=51'] Exploring Operation: 51-4=47, Resulting Numbers: [29, 47] Generated Node #0,1,0: 41:[29, 47] Operation: 51-4=47 Exploring Operation: 4+29=33, Resulting Numbers: [51, 33] Generated Node #0,1,1: 41:[51, 33] Operation: 4+29=33 Moving to Node #0,1,0 Current State: 41:[29, 47], Operations: ['93-42=51', '51-4=47'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[51, 33], Operations: ['93-42=51', '4+29=33'] Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 51+33=84, Resulting Numbers: [84] 84,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[42, 29, 89], Operations: ['93-4=89'] Exploring Operation: 89-42=47, Resulting Numbers: [29, 47] Generated Node #0,0,0: 41:[29, 47] Operation: 89-42=47 Exploring Operation: 89-29=60, Resulting Numbers: [42, 60] Generated Node #0,0,1: 41:[42, 60] Operation: 89-29=60 Moving to Node #0,0,0 Current State: 41:[29, 47], Operations: ['93-4=89', '89-42=47'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[42, 60], Operations: ['93-4=89', '89-29=60'] Exploring Operation: 42+60=102, Resulting Numbers: [102] 102,41 unequal: No Solution Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,41 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, 59, 49, 8 ]
16
[ "59-49=10", "10/5=2", "8*2=16" ]
Current State: 16:[5, 59, 49, 8], Operations: [] Exploring Operation: 59-49=10, Resulting Numbers: [5, 8, 10] Generated Node #2: [5, 8, 10] from Operation: 59-49=10 Current State: 16:[5, 8, 10], Operations: ['59-49=10'] Exploring Operation: 10/5=2, Resulting Numbers: [8, 2] Generated Node #3: [8, 2] from Operation: 10/5=2 Current State: 16:[8, 2], Operations: ['59-49=10', '10/5=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 59, 49, 8], Operations: [] Exploring Operation: 59-8=51, Resulting Numbers: [5, 49, 51] Generated Node #0,0: 16:[5, 49, 51] Operation: 59-8=51 Exploring Operation: 59-49=10, Resulting Numbers: [5, 8, 10] Generated Node #0,1: 16:[5, 8, 10] Operation: 59-49=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[5, 8, 10], Operations: ['59-49=10'] Exploring Operation: 10/5=2, Resulting Numbers: [8, 2] Generated Node #0,1,0: 16:[8, 2] Operation: 10/5=2 Exploring Operation: 5+10=15, Resulting Numbers: [8, 15] Generated Node #0,1,1: 16:[8, 15] Operation: 5+10=15 Moving to Node #0,1,0 Current State: 16:[8, 2], Operations: ['59-49=10', '10/5=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[5, 59, 49, 8], Operations: [] Exploring Operation: 59-49=10, Resulting Numbers: [5, 8, 10] Generated Node #0,1: 16:[5, 8, 10] Operation: 59-49=10 Moving to Node #0,1 Current State: 16:[5, 8, 10], Operations: ['59-49=10'] Exploring Operation: 10/5=2, Resulting Numbers: [8, 2] Generated Node #0,1,0: 16:[8, 2] Operation: 10/5=2 Moving to Node #0,1,0 Current State: 16:[8, 2], Operations: ['59-49=10', '10/5=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 54, 56, 20, 29 ]
22
[ "56-29=27", "54/27=2", "20+2=22" ]
Current State: 22:[54, 56, 20, 29], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [54, 20, 27] Generated Node #2: [54, 20, 27] from Operation: 56-29=27 Current State: 22:[54, 20, 27], Operations: ['56-29=27'] Exploring Operation: 54/27=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 54/27=2 Current State: 22:[20, 2], Operations: ['56-29=27', '54/27=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[54, 56, 20, 29], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [54, 20, 27] Generated Node #0,0: 22:[54, 20, 27] Operation: 56-29=27 Exploring Operation: 54-29=25, Resulting Numbers: [56, 20, 25] Generated Node #0,1: 22:[56, 20, 25] Operation: 54-29=25 Exploring Operation: 56-54=2, Resulting Numbers: [20, 29, 2] Generated Node #0,2: 22:[20, 29, 2] Operation: 56-54=2 Moving to Node #0,2 Current State: 22:[20, 29, 2], Operations: ['56-54=2'] Exploring Operation: 29-20=9, Resulting Numbers: [2, 9] Generated Node #0,2,0: 22:[2, 9] Operation: 29-20=9 Exploring Operation: 20+2=22, Resulting Numbers: [29, 22] Generated Node #0,2,1: 22:[29, 22] Operation: 20+2=22 Exploring Operation: 29-2=27, Resulting Numbers: [20, 27] Generated Node #0,2,2: 22:[20, 27] Operation: 29-2=27 Moving to Node #0,0 Current State: 22:[54, 20, 27], Operations: ['56-29=27'] Exploring Operation: 54/27=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 22:[20, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [20, 27] Generated Node #0,0,1: 22:[20, 27] Operation: 54-27=27 Exploring Operation: 54-20=34, Resulting Numbers: [27, 34] Generated Node #0,0,2: 22:[27, 34] Operation: 54-20=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[20, 2], Operations: ['56-29=27', '54/27=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,22 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[54, 56, 20, 29], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [54, 20, 27] Generated Node #0,0: 22:[54, 20, 27] Operation: 56-29=27 Moving to Node #0,0 Current State: 22:[54, 20, 27], Operations: ['56-29=27'] Exploring Operation: 54/27=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 22:[20, 2] Operation: 54/27=2 Moving to Node #0,0,0 Current State: 22:[20, 2], Operations: ['56-29=27', '54/27=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 3, 47, 96, 77 ]
42
[ "96-47=49", "77+49=126", "126/3=42" ]
Current State: 42:[3, 47, 96, 77], Operations: [] Exploring Operation: 96-47=49, Resulting Numbers: [3, 77, 49] Generated Node #2: [3, 77, 49] from Operation: 96-47=49 Current State: 42:[3, 77, 49], Operations: ['96-47=49'] Exploring Operation: 77+49=126, Resulting Numbers: [3, 126] Generated Node #3: [3, 126] from Operation: 77+49=126 Current State: 42:[3, 126], Operations: ['96-47=49', '77+49=126'] Exploring Operation: 126/3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[3, 47, 96, 77], Operations: [] Exploring Operation: 96-77=19, Resulting Numbers: [3, 47, 19] Generated Node #0,0: 42:[3, 47, 19] Operation: 96-77=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[3, 47, 19], Operations: ['96-77=19'] Exploring Operation: 47-3=44, Resulting Numbers: [19, 44] Generated Node #0,0,0: 42:[19, 44] Operation: 47-3=44 Moving to Node #0,0,0 Current State: 42:[19, 44], Operations: ['96-77=19', '47-3=44'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 73, 73, 17 ]
77
[ "73-5=68", "68/17=4", "73+4=77" ]
Current State: 77:[5, 73, 73, 17], Operations: [] Exploring Operation: 73-5=68, Resulting Numbers: [17, 68] Generated Node #2: [17, 68] from Operation: 73-5=68 Current State: 77:[17, 68], Operations: ['73-5=68'] Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,77 equal: Goal Reached Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[5, 73, 73, 17], Operations: [] Exploring Operation: 17-5=12, Resulting Numbers: [73, 73, 12] Generated Node #0,0: 77:[73, 73, 12] Operation: 17-5=12 Moving to Node #0,0 Current State: 77:[73, 73, 12], Operations: ['17-5=12'] Exploring Operation: 73/73=1, Resulting Numbers: [12, 1] Generated Node #0,0,0: 77:[12, 1] Operation: 73/73=1 Moving to Node #0,0,0 Current State: 77:[12, 1], Operations: ['17-5=12', '73/73=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,77 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 88, 10, 47, 12 ]
15
[ "88+47=135", "10*12=120", "135-120=15" ]
Current State: 15:[88, 10, 47, 12], Operations: [] Exploring Operation: 88+47=135, Resulting Numbers: [10, 12, 135] Generated Node #2: [10, 12, 135] from Operation: 88+47=135 Current State: 15:[10, 12, 135], Operations: ['88+47=135'] Exploring Operation: 10*12=120, Resulting Numbers: [135, 120] Generated Node #3: [135, 120] from Operation: 10*12=120 Current State: 15:[135, 120], Operations: ['88+47=135', '10*12=120'] Exploring Operation: 135-120=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[88, 10, 47, 12], Operations: [] Exploring Operation: 88-10=78, Resulting Numbers: [47, 12, 78] Generated Node #0,0: 15:[47, 12, 78] Operation: 88-10=78 Exploring Operation: 88-47=41, Resulting Numbers: [10, 12, 41] Generated Node #0,1: 15:[10, 12, 41] Operation: 88-47=41 Exploring Operation: 88-12=76, Resulting Numbers: [10, 47, 76] Generated Node #0,2: 15:[10, 47, 76] Operation: 88-12=76 Exploring Operation: 47-10=37, Resulting Numbers: [88, 12, 37] Generated Node #0,3: 15:[88, 12, 37] Operation: 47-10=37 Moving to Node #0,1 Current State: 15:[10, 12, 41], Operations: ['88-47=41'] Exploring Operation: 12-10=2, Resulting Numbers: [41, 2] Generated Node #0,1,0: 15:[41, 2] Operation: 12-10=2 Exploring Operation: 41-12=29, Resulting Numbers: [10, 29] Generated Node #0,1,1: 15:[10, 29] Operation: 41-12=29 Exploring Operation: 41-10=31, Resulting Numbers: [12, 31] Generated Node #0,1,2: 15:[12, 31] Operation: 41-10=31 Exploring Operation: 10+12=22, Resulting Numbers: [41, 22] Generated Node #0,1,3: 15:[41, 22] Operation: 10+12=22 Moving to Node #0,2 Current State: 15:[10, 47, 76], Operations: ['88-12=76'] Exploring Operation: 47-10=37, Resulting Numbers: [76, 37] Generated Node #0,2,0: 15:[76, 37] Operation: 47-10=37 Exploring Operation: 76-47=29, Resulting Numbers: [10, 29] Generated Node #0,2,1: 15:[10, 29] Operation: 76-47=29 Exploring Operation: 76-10=66, Resulting Numbers: [47, 66] Generated Node #0,2,2: 15:[47, 66] Operation: 76-10=66 Exploring Operation: 10+47=57, Resulting Numbers: [76, 57] Generated Node #0,2,3: 15:[76, 57] Operation: 10+47=57 Moving to Node #0,0 Current State: 15:[47, 12, 78], Operations: ['88-10=78'] Exploring Operation: 78-12=66, Resulting Numbers: [47, 66] Generated Node #0,0,0: 15:[47, 66] Operation: 78-12=66 Exploring Operation: 78-47=31, Resulting Numbers: [12, 31] Generated Node #0,0,1: 15:[12, 31] Operation: 78-47=31 Exploring Operation: 47+12=59, Resulting Numbers: [78, 59] Generated Node #0,0,2: 15:[78, 59] Operation: 47+12=59 Exploring Operation: 47-12=35, Resulting Numbers: [78, 35] Generated Node #0,0,3: 15:[78, 35] Operation: 47-12=35 Moving to Node #0,3 Current State: 15:[88, 12, 37], Operations: ['47-10=37'] Exploring Operation: 37-12=25, Resulting Numbers: [88, 25] Generated Node #0,3,0: 15:[88, 25] Operation: 37-12=25 Exploring Operation: 88-12=76, Resulting Numbers: [37, 76] Generated Node #0,3,1: 15:[37, 76] Operation: 88-12=76 Exploring Operation: 88-37=51, Resulting Numbers: [12, 51] Generated Node #0,3,2: 15:[12, 51] Operation: 88-37=51 Exploring Operation: 88+12=100, Resulting Numbers: [37, 100] Generated Node #0,3,3: 15:[37, 100] Operation: 88+12=100 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 15:[12, 51], Operations: ['47-10=37', '88-37=51'] Exploring Operation: 12+51=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 12*51=612, Resulting Numbers: [612] 612,15 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[88, 25], Operations: ['47-10=37', '37-12=25'] Exploring Operation: 88+25=113, Resulting Numbers: [113] 113,15 unequal: No Solution Exploring Operation: 88-25=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 88*25=2200, Resulting Numbers: [2200] 2200,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[37, 76], Operations: ['47-10=37', '88-12=76'] Exploring Operation: 37+76=113, Resulting Numbers: [113] 113,15 unequal: No Solution Exploring Operation: 37*76=2812, Resulting Numbers: [2812] 2812,15 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[37, 100], Operations: ['47-10=37', '88+12=100'] Exploring Operation: 37*100=3700, Resulting Numbers: [3700] 3700,15 unequal: No Solution Exploring Operation: 37+100=137, Resulting Numbers: [137] 137,15 unequal: No Solution Exploring Operation: 100-37=63, Resulting Numbers: [63] 63,15 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: 15:[10, 29], Operations: ['88-47=41', '41-12=29'] Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,15 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[12, 31], Operations: ['88-47=41', '41-10=31'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 12*31=372, Resulting Numbers: [372] 372,15 unequal: No Solution Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[10, 29], Operations: ['88-12=76', '76-47=29'] Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,15 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[12, 31], Operations: ['88-10=78', '78-47=31'] Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 12*31=372, Resulting Numbers: [372] 372,15 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[41, 2], Operations: ['88-47=41', '12-10=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[41, 22], Operations: ['88-47=41', '10+12=22'] Exploring Operation: 41*22=902, Resulting Numbers: [902] 902,15 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[47, 66], Operations: ['88-12=76', '76-10=66'] Exploring Operation: 47*66=3102, Resulting Numbers: [3102] 3102,15 unequal: No Solution Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 47+66=113, Resulting Numbers: [113] 113,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[76, 37], Operations: ['88-12=76', '47-10=37'] Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 76*37=2812, Resulting Numbers: [2812] 2812,15 unequal: No Solution Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[78, 35], Operations: ['88-10=78', '47-12=35'] Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 78+35=113, Resulting Numbers: [113] 113,15 unequal: No Solution Exploring Operation: 78*35=2730, Resulting Numbers: [2730] 2730,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[47, 66], Operations: ['88-10=78', '78-12=66'] Exploring Operation: 47+66=113, Resulting Numbers: [113] 113,15 unequal: No Solution Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 47*66=3102, Resulting Numbers: [3102] 3102,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[76, 57], Operations: ['88-12=76', '10+47=57'] Exploring Operation: 76*57=4332, Resulting Numbers: [4332] 4332,15 unequal: No Solution Exploring Operation: 76+57=133, Resulting Numbers: [133] 133,15 unequal: No Solution Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[78, 59], Operations: ['88-10=78', '47+12=59'] Exploring Operation: 78-59=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 78+59=137, Resulting Numbers: [137] 137,15 unequal: No Solution Exploring Operation: 78*59=4602, Resulting Numbers: [4602] 4602,15 unequal: No Solution No solution found.
0
hs_4
mult_heuristic