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
[ 91, 81, 60, 30 ]
63
[ "91-81=10", "30/10=3", "60+3=63" ]
Current State: 63:[91, 81, 60, 30], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [60, 30, 10] Generated Node #2: [60, 30, 10] from Operation: 91-81=10 Current State: 63:[60, 30, 10], Operations: ['91-81=10'] Exploring Operation: 30/10=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 30/10=3 Current State: 63:[60, 3], Operations: ['91-81=10', '30/10=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[91, 81, 60, 30], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [60, 30, 10] Generated Node #0,0: 63:[60, 30, 10] Operation: 91-81=10 Exploring Operation: 91-30=61, Resulting Numbers: [81, 60, 61] Generated Node #0,1: 63:[81, 60, 61] Operation: 91-30=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[60, 30, 10], Operations: ['91-81=10'] Exploring Operation: 30/10=3, Resulting Numbers: [60, 3] Generated Node #0,0,0: 63:[60, 3] Operation: 30/10=3 Exploring Operation: 60/30=2, Resulting Numbers: [10, 2] Generated Node #0,0,1: 63:[10, 2] Operation: 60/30=2 Moving to Node #0,0,1 Current State: 63:[10, 2], Operations: ['91-81=10', '60/30=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[60, 3], Operations: ['91-81=10', '30/10=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[91, 81, 60, 30], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [60, 30, 10] Generated Node #0,0: 63:[60, 30, 10] Operation: 91-81=10 Moving to Node #0,0 Current State: 63:[60, 30, 10], Operations: ['91-81=10'] Exploring Operation: 30/10=3, Resulting Numbers: [60, 3] Generated Node #0,0,0: 63:[60, 3] Operation: 30/10=3 Moving to Node #0,0,0 Current State: 63:[60, 3], Operations: ['91-81=10', '30/10=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 41, 80, 4, 31 ]
94
[ "41+80=121", "31-4=27", "121-27=94" ]
Current State: 94:[41, 80, 4, 31], Operations: [] Exploring Operation: 41+80=121, Resulting Numbers: [4, 31, 121] Generated Node #2: [4, 31, 121] from Operation: 41+80=121 Current State: 94:[4, 31, 121], Operations: ['41+80=121'] Exploring Operation: 31-4=27, Resulting Numbers: [121, 27] Generated Node #3: [121, 27] from Operation: 31-4=27 Current State: 94:[121, 27], Operations: ['41+80=121', '31-4=27'] Exploring Operation: 121-27=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[41, 80, 4, 31], Operations: [] Exploring Operation: 80-41=39, Resulting Numbers: [4, 31, 39] Generated Node #0,0: 94:[4, 31, 39] Operation: 80-41=39 Exploring Operation: 80+31=111, Resulting Numbers: [41, 4, 111] Generated Node #0,1: 94:[41, 4, 111] Operation: 80+31=111 Exploring Operation: 41-31=10, Resulting Numbers: [80, 4, 10] Generated Node #0,2: 94:[80, 4, 10] Operation: 41-31=10 Exploring Operation: 41+4=45, Resulting Numbers: [80, 31, 45] Generated Node #0,3: 94:[80, 31, 45] Operation: 41+4=45 Exploring Operation: 80-31=49, Resulting Numbers: [41, 4, 49] Generated Node #0,4: 94:[41, 4, 49] Operation: 80-31=49 Start Sub Search at level 1: Moving to Node #0,4 Current State: 94:[41, 4, 49], Operations: ['80-31=49'] Exploring Operation: 49-4=45, Resulting Numbers: [41, 45] Generated Node #0,4,0: 94:[41, 45] Operation: 49-4=45 Exploring Operation: 49-41=8, Resulting Numbers: [4, 8] Generated Node #0,4,1: 94:[4, 8] Operation: 49-41=8 Exploring Operation: 41+4=45, Resulting Numbers: [49, 45] Generated Node #0,4,2: 94:[49, 45] Operation: 41+4=45 Exploring Operation: 41-4=37, Resulting Numbers: [49, 37] Generated Node #0,4,3: 94:[49, 37] Operation: 41-4=37 Exploring Operation: 41+49=90, Resulting Numbers: [4, 90] Generated Node #0,4,4: 94:[4, 90] Operation: 41+49=90 Moving to Node #0,4,2 Current State: 94:[49, 45], Operations: ['80-31=49', '41+4=45'] Exploring Operation: 49*45=2205, Resulting Numbers: [2205] 2205,94 unequal: No Solution Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 49+45=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[41, 80, 4, 31], Operations: [] Exploring Operation: 80-31=49, Resulting Numbers: [41, 4, 49] Generated Node #0,4: 94:[41, 4, 49] Operation: 80-31=49 Moving to Node #0,4 Current State: 94:[41, 4, 49], Operations: ['80-31=49'] Exploring Operation: 41+4=45, Resulting Numbers: [49, 45] Generated Node #0,4,2: 94:[49, 45] Operation: 41+4=45 Moving to Node #0,4,2 Current State: 94:[49, 45], Operations: ['80-31=49', '41+4=45'] Exploring Operation: 49+45=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 73, 17, 63, 27 ]
54
[ "73+17=90", "63-27=36", "90-36=54" ]
Current State: 54:[73, 17, 63, 27], Operations: [] Exploring Operation: 73+17=90, Resulting Numbers: [63, 27, 90] Generated Node #2: [63, 27, 90] from Operation: 73+17=90 Current State: 54:[63, 27, 90], Operations: ['73+17=90'] Exploring Operation: 63-27=36, Resulting Numbers: [90, 36] Generated Node #3: [90, 36] from Operation: 63-27=36 Current State: 54:[90, 36], Operations: ['73+17=90', '63-27=36'] Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[73, 17, 63, 27], Operations: [] Exploring Operation: 73-17=56, Resulting Numbers: [63, 27, 56] Generated Node #0,0: 54:[63, 27, 56] Operation: 73-17=56 Exploring Operation: 73-63=10, Resulting Numbers: [17, 27, 10] Generated Node #0,1: 54:[17, 27, 10] Operation: 73-63=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[17, 27, 10], Operations: ['73-63=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27, 27] Generated Node #0,1,0: 54:[27, 27] Operation: 17+10=27 Exploring Operation: 17-10=7, Resulting Numbers: [27, 7] Generated Node #0,1,1: 54:[27, 7] Operation: 17-10=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 54:[27, 27], Operations: ['73-63=10', '17+10=27'] Exploring Operation: 27+27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[73, 17, 63, 27], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [17, 27, 10] Generated Node #0,1: 54:[17, 27, 10] Operation: 73-63=10 Moving to Node #0,1 Current State: 54:[17, 27, 10], Operations: ['73-63=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27, 27] Generated Node #0,1,0: 54:[27, 27] Operation: 17+10=27 Moving to Node #0,1,0 Current State: 54:[27, 27], Operations: ['73-63=10', '17+10=27'] Exploring Operation: 27+27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 5, 44, 15, 16 ]
38
[ "44-5=39", "16-15=1", "39-1=38" ]
Current State: 38:[5, 44, 15, 16], Operations: [] Exploring Operation: 44-5=39, Resulting Numbers: [15, 16, 39] Generated Node #2: [15, 16, 39] from Operation: 44-5=39 Current State: 38:[15, 16, 39], Operations: ['44-5=39'] Exploring Operation: 16-15=1, Resulting Numbers: [39, 1] Generated Node #3: [39, 1] from Operation: 16-15=1 Current State: 38:[39, 1], Operations: ['44-5=39', '16-15=1'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[5, 44, 15, 16], Operations: [] Exploring Operation: 44-5=39, Resulting Numbers: [15, 16, 39] Generated Node #0,0: 38:[15, 16, 39] Operation: 44-5=39 Exploring Operation: 5+15=20, Resulting Numbers: [44, 16, 20] Generated Node #0,1: 38:[44, 16, 20] Operation: 5+15=20 Exploring Operation: 15/5=3, Resulting Numbers: [44, 16, 3] Generated Node #0,2: 38:[44, 16, 3] Operation: 15/5=3 Exploring Operation: 16-15=1, Resulting Numbers: [5, 44, 1] Generated Node #0,3: 38:[5, 44, 1] Operation: 16-15=1 Moving to Node #0,0 Current State: 38:[15, 16, 39], Operations: ['44-5=39'] Exploring Operation: 15+16=31, Resulting Numbers: [39, 31] Generated Node #0,0,0: 38:[39, 31] Operation: 15+16=31 Exploring Operation: 39-16=23, Resulting Numbers: [15, 23] Generated Node #0,0,1: 38:[15, 23] Operation: 39-16=23 Exploring Operation: 16-15=1, Resulting Numbers: [39, 1] Generated Node #0,0,2: 38:[39, 1] Operation: 16-15=1 Exploring Operation: 39-15=24, Resulting Numbers: [16, 24] Generated Node #0,0,3: 38:[16, 24] Operation: 39-15=24 Moving to Node #0,2 Current State: 38:[44, 16, 3], Operations: ['15/5=3'] Exploring Operation: 44-16=28, Resulting Numbers: [3, 28] Generated Node #0,2,0: 38:[3, 28] Operation: 44-16=28 Exploring Operation: 16+3=19, Resulting Numbers: [44, 19] Generated Node #0,2,1: 38:[44, 19] Operation: 16+3=19 Exploring Operation: 44-3=41, Resulting Numbers: [16, 41] Generated Node #0,2,2: 38:[16, 41] Operation: 44-3=41 Exploring Operation: 44+3=47, Resulting Numbers: [16, 47] Generated Node #0,2,3: 38:[16, 47] Operation: 44+3=47 Moving to Node #0,1 Current State: 38:[44, 16, 20], Operations: ['5+15=20'] Exploring Operation: 16+20=36, Resulting Numbers: [44, 36] Generated Node #0,1,0: 38:[44, 36] Operation: 16+20=36 Exploring Operation: 20-16=4, Resulting Numbers: [44, 4] Generated Node #0,1,1: 38:[44, 4] Operation: 20-16=4 Exploring Operation: 44-16=28, Resulting Numbers: [20, 28] Generated Node #0,1,2: 38:[20, 28] Operation: 44-16=28 Exploring Operation: 44-20=24, Resulting Numbers: [16, 24] Generated Node #0,1,3: 38:[16, 24] Operation: 44-20=24 Moving to Node #0,3 Current State: 38:[5, 44, 1], Operations: ['16-15=1'] Exploring Operation: 5*1=5, Resulting Numbers: [44, 5] Generated Node #0,3,0: 38:[44, 5] Operation: 5*1=5 Exploring Operation: 44-5=39, Resulting Numbers: [1, 39] Generated Node #0,3,1: 38:[1, 39] Operation: 44-5=39 Exploring Operation: 44-1=43, Resulting Numbers: [5, 43] Generated Node #0,3,2: 38:[5, 43] Operation: 44-1=43 Exploring Operation: 5-1=4, Resulting Numbers: [44, 4] Generated Node #0,3,3: 38:[44, 4] Operation: 5-1=4 Moving to Node #0,0,2 Current State: 38:[39, 1], Operations: ['44-5=39', '16-15=1'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[5, 44, 15, 16], Operations: [] Exploring Operation: 44-5=39, Resulting Numbers: [15, 16, 39] Generated Node #0,0: 38:[15, 16, 39] Operation: 44-5=39 Moving to Node #0,0 Current State: 38:[15, 16, 39], Operations: ['44-5=39'] Exploring Operation: 16-15=1, Resulting Numbers: [39, 1] Generated Node #0,0,2: 38:[39, 1] Operation: 16-15=1 Moving to Node #0,0,2 Current State: 38:[39, 1], Operations: ['44-5=39', '16-15=1'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.978299
hs_4
mult_heuristic
[ 8, 27, 29, 19 ]
93
[ "27-19=8", "8*8=64", "29+64=93" ]
Current State: 93:[8, 27, 29, 19], Operations: [] Exploring Operation: 27-19=8, Resulting Numbers: [8, 29, 8] Generated Node #2: [8, 29, 8] from Operation: 27-19=8 Current State: 93:[8, 29, 8], Operations: ['27-19=8'] Exploring Operation: 8*8=64, Resulting Numbers: [29, 64] Generated Node #3: [29, 64] from Operation: 8*8=64 Current State: 93:[29, 64], Operations: ['27-19=8', '8*8=64'] Exploring Operation: 29+64=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[8, 27, 29, 19], Operations: [] Exploring Operation: 27-19=8, Resulting Numbers: [8, 29, 8] Generated Node #0,0: 93:[8, 29, 8] Operation: 27-19=8 Exploring Operation: 8+19=27, Resulting Numbers: [27, 29, 27] Generated Node #0,1: 93:[27, 29, 27] Operation: 8+19=27 Exploring Operation: 29-19=10, Resulting Numbers: [8, 27, 10] Generated Node #0,2: 93:[8, 27, 10] Operation: 29-19=10 Exploring Operation: 19-8=11, Resulting Numbers: [27, 29, 11] Generated Node #0,3: 93:[27, 29, 11] Operation: 19-8=11 Exploring Operation: 8+27=35, Resulting Numbers: [29, 19, 35] Generated Node #0,4: 93:[29, 19, 35] Operation: 8+27=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[27, 29, 27], Operations: ['8+19=27'] Exploring Operation: 27-27=0, Resulting Numbers: [29, 0] Generated Node #0,1,0: 93:[29, 0] Operation: 27-27=0 Exploring Operation: 27+27=54, Resulting Numbers: [29, 54] Generated Node #0,1,1: 93:[29, 54] Operation: 27+27=54 Exploring Operation: 27/27=1, Resulting Numbers: [29, 1] Generated Node #0,1,2: 93:[29, 1] Operation: 27/27=1 Exploring Operation: 29-27=2, Resulting Numbers: [27, 2] Generated Node #0,1,3: 93:[27, 2] Operation: 29-27=2 Exploring Operation: 29-27=2, Resulting Numbers: [27, 2] Generated Node #0,1,4: 93:[27, 2] Operation: 29-27=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[29, 1], Operations: ['8+19=27', '27/27=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[29, 0], Operations: ['8+19=27', '27-27=0'] Exploring Operation: 29-0=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 29+0=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 29*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 93:[27, 2], Operations: ['8+19=27', '29-27=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 93:[27, 2], Operations: ['8+19=27', '29-27=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[29, 54], Operations: ['8+19=27', '27+27=54'] Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,93 unequal: No Solution Exploring Operation: 29*54=1566, Resulting Numbers: [1566] 1566,93 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: 93:[8, 29, 8], Operations: ['27-19=8'] Exploring Operation: 8+29=37, Resulting Numbers: [8, 37] Generated Node #0,0,0: 93:[8, 37] Operation: 8+29=37 Exploring Operation: 29-8=21, Resulting Numbers: [8, 21] Generated Node #0,0,1: 93:[8, 21] Operation: 29-8=21 Exploring Operation: 8-8=0, Resulting Numbers: [29, 0] Generated Node #0,0,2: 93:[29, 0] Operation: 8-8=0 Exploring Operation: 8/8=1, Resulting Numbers: [29, 1] Generated Node #0,0,3: 93:[29, 1] Operation: 8/8=1 Exploring Operation: 29+8=37, Resulting Numbers: [8, 37] Generated Node #0,0,4: 93:[8, 37] Operation: 29+8=37 Moving to Node #0,0,3 Current State: 93:[29, 1], Operations: ['27-19=8', '8/8=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,93 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[29, 0], Operations: ['27-19=8', '8-8=0'] Exploring Operation: 29+0=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 29-0=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 29*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[8, 37], Operations: ['27-19=8', '8+29=37'] Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,93 unequal: No Solution Moving to Node #0,0,4 Current State: 93:[8, 37], Operations: ['27-19=8', '29+8=37'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,93 unequal: No Solution Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[8, 21], Operations: ['27-19=8', '29-8=21'] Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,93 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[27, 29, 11], Operations: ['19-8=11'] Exploring Operation: 27+11=38, Resulting Numbers: [29, 38] Generated Node #0,3,0: 93:[29, 38] Operation: 27+11=38 Exploring Operation: 29-11=18, Resulting Numbers: [27, 18] Generated Node #0,3,1: 93:[27, 18] Operation: 29-11=18 Exploring Operation: 27-11=16, Resulting Numbers: [29, 16] Generated Node #0,3,2: 93:[29, 16] Operation: 27-11=16 Exploring Operation: 29-27=2, Resulting Numbers: [11, 2] Generated Node #0,3,3: 93:[11, 2] Operation: 29-27=2 Exploring Operation: 29+11=40, Resulting Numbers: [27, 40] Generated Node #0,3,4: 93:[27, 40] Operation: 29+11=40 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[29, 38], Operations: ['19-8=11', '27+11=38'] Exploring Operation: 29*38=1102, Resulting Numbers: [1102] 1102,93 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 29+38=67, Resulting Numbers: [67] 67,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 93:[11, 2], Operations: ['19-8=11', '29-27=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 93:[27, 40], Operations: ['19-8=11', '29+11=40'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 27*40=1080, Resulting Numbers: [1080] 1080,93 unequal: No Solution Exploring Operation: 27+40=67, Resulting Numbers: [67] 67,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 93:[29, 16], Operations: ['19-8=11', '27-11=16'] Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,93 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 93:[27, 18], Operations: ['19-8=11', '29-11=18'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,93 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: 93:[8, 27, 10], Operations: ['29-19=10'] Exploring Operation: 8*10=80, Resulting Numbers: [27, 80] Generated Node #0,2,0: 93:[27, 80] Operation: 8*10=80 Exploring Operation: 8+27=35, Resulting Numbers: [10, 35] Generated Node #0,2,1: 93:[10, 35] Operation: 8+27=35 Exploring Operation: 27+10=37, Resulting Numbers: [8, 37] Generated Node #0,2,2: 93:[8, 37] Operation: 27+10=37 Exploring Operation: 8+10=18, Resulting Numbers: [27, 18] Generated Node #0,2,3: 93:[27, 18] Operation: 8+10=18 Exploring Operation: 10-8=2, Resulting Numbers: [27, 2] Generated Node #0,2,4: 93:[27, 2] Operation: 10-8=2 Moving to Node #0,2,4 Current State: 93:[27, 2], Operations: ['29-19=10', '10-8=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[8, 37], Operations: ['29-19=10', '27+10=37'] Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,93 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[10, 35], Operations: ['29-19=10', '8+27=35'] Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,93 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[27, 80], Operations: ['29-19=10', '8*10=80'] Exploring Operation: 27*80=2160, Resulting Numbers: [2160] 2160,93 unequal: No Solution Exploring Operation: 27+80=107, Resulting Numbers: [107] 107,93 unequal: No Solution Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[27, 18], Operations: ['29-19=10', '8+10=18'] Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,93 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,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,4 Current State: 93:[29, 19, 35], Operations: ['8+27=35'] Exploring Operation: 35-29=6, Resulting Numbers: [19, 6] Generated Node #0,4,0: 93:[19, 6] Operation: 35-29=6 Exploring Operation: 29+19=48, Resulting Numbers: [35, 48] Generated Node #0,4,1: 93:[35, 48] Operation: 29+19=48 Exploring Operation: 29-19=10, Resulting Numbers: [35, 10] Generated Node #0,4,2: 93:[35, 10] Operation: 29-19=10 Exploring Operation: 35-19=16, Resulting Numbers: [29, 16] Generated Node #0,4,3: 93:[29, 16] Operation: 35-19=16 Exploring Operation: 19+35=54, Resulting Numbers: [29, 54] Generated Node #0,4,4: 93:[29, 54] Operation: 19+35=54 Moving to Node #0,4,2 Current State: 93:[35, 10], Operations: ['8+27=35', '29-19=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,93 unequal: No Solution Moving to Node #0,4,3 Current State: 93:[29, 16], Operations: ['8+27=35', '35-19=16'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,93 unequal: No Solution Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,93 unequal: No Solution Moving to Node #0,4,0 Current State: 93:[19, 6], Operations: ['8+27=35', '35-29=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,93 unequal: No Solution Moving to Node #0,4,1 Current State: 93:[35, 48], Operations: ['8+27=35', '29+19=48'] Exploring Operation: 35+48=83, Resulting Numbers: [83] 83,93 unequal: No Solution Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 35*48=1680, Resulting Numbers: [1680] 1680,93 unequal: No Solution Moving to Node #0,4,4 Current State: 93:[29, 54], Operations: ['8+27=35', '19+35=54'] Exploring Operation: 29*54=1566, Resulting Numbers: [1566] 1566,93 unequal: No Solution Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 93, 51, 76, 57 ]
23
[ "93-51=42", "76-57=19", "42-19=23" ]
Current State: 23:[93, 51, 76, 57], Operations: [] Exploring Operation: 93-51=42, Resulting Numbers: [76, 57, 42] Generated Node #2: [76, 57, 42] from Operation: 93-51=42 Current State: 23:[76, 57, 42], Operations: ['93-51=42'] Exploring Operation: 76-57=19, Resulting Numbers: [42, 19] Generated Node #3: [42, 19] from Operation: 76-57=19 Current State: 23:[42, 19], Operations: ['93-51=42', '76-57=19'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[93, 51, 76, 57], Operations: [] Exploring Operation: 93-76=17, Resulting Numbers: [51, 57, 17] Generated Node #0,0: 23:[51, 57, 17] Operation: 93-76=17 Exploring Operation: 76-57=19, Resulting Numbers: [93, 51, 19] Generated Node #0,1: 23:[93, 51, 19] Operation: 76-57=19 Exploring Operation: 93-57=36, Resulting Numbers: [51, 76, 36] Generated Node #0,2: 23:[51, 76, 36] Operation: 93-57=36 Moving to Node #0,0 Current State: 23:[51, 57, 17], Operations: ['93-76=17'] Exploring Operation: 57-51=6, Resulting Numbers: [17, 6] Generated Node #0,0,0: 23:[17, 6] Operation: 57-51=6 Exploring Operation: 51-17=34, Resulting Numbers: [57, 34] Generated Node #0,0,1: 23:[57, 34] Operation: 51-17=34 Exploring Operation: 57-17=40, Resulting Numbers: [51, 40] Generated Node #0,0,2: 23:[51, 40] Operation: 57-17=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[17, 6], Operations: ['93-76=17', '57-51=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[93, 51, 76, 57], Operations: [] Exploring Operation: 93-76=17, Resulting Numbers: [51, 57, 17] Generated Node #0,0: 23:[51, 57, 17] Operation: 93-76=17 Moving to Node #0,0 Current State: 23:[51, 57, 17], Operations: ['93-76=17'] Exploring Operation: 57-51=6, Resulting Numbers: [17, 6] Generated Node #0,0,0: 23:[17, 6] Operation: 57-51=6 Moving to Node #0,0,0 Current State: 23:[17, 6], Operations: ['93-76=17', '57-51=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 8, 13, 86, 1 ]
66
[ "8+13=21", "86+1=87", "87-21=66" ]
Current State: 66:[8, 13, 86, 1], Operations: [] Exploring Operation: 8+13=21, Resulting Numbers: [86, 1, 21] Generated Node #2: [86, 1, 21] from Operation: 8+13=21 Current State: 66:[86, 1, 21], Operations: ['8+13=21'] Exploring Operation: 86+1=87, Resulting Numbers: [21, 87] Generated Node #3: [21, 87] from Operation: 86+1=87 Current State: 66:[21, 87], Operations: ['8+13=21', '86+1=87'] Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[8, 13, 86, 1], Operations: [] Exploring Operation: 86-13=73, Resulting Numbers: [8, 1, 73] Generated Node #0,0: 66:[8, 1, 73] Operation: 86-13=73 Moving to Node #0,0 Current State: 66:[8, 1, 73], Operations: ['86-13=73'] Exploring Operation: 73-8=65, Resulting Numbers: [1, 65] Generated Node #0,0,0: 66:[1, 65] Operation: 73-8=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[1, 65], Operations: ['86-13=73', '73-8=65'] Exploring Operation: 1+65=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[8, 13, 86, 1], Operations: [] Exploring Operation: 86-13=73, Resulting Numbers: [8, 1, 73] Generated Node #0,0: 66:[8, 1, 73] Operation: 86-13=73 Moving to Node #0,0 Current State: 66:[8, 1, 73], Operations: ['86-13=73'] Exploring Operation: 73-8=65, Resulting Numbers: [1, 65] Generated Node #0,0,0: 66:[1, 65] Operation: 73-8=65 Moving to Node #0,0,0 Current State: 66:[1, 65], Operations: ['86-13=73', '73-8=65'] Exploring Operation: 1+65=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 2, 47, 87, 25 ]
10
[ "2*25=50", "87-47=40", "50-40=10" ]
Current State: 10:[2, 47, 87, 25], Operations: [] Exploring Operation: 2*25=50, Resulting Numbers: [47, 87, 50] Generated Node #2: [47, 87, 50] from Operation: 2*25=50 Current State: 10:[47, 87, 50], Operations: ['2*25=50'] Exploring Operation: 87-47=40, Resulting Numbers: [50, 40] Generated Node #3: [50, 40] from Operation: 87-47=40 Current State: 10:[50, 40], Operations: ['2*25=50', '87-47=40'] Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[2, 47, 87, 25], Operations: [] Exploring Operation: 87-25=62, Resulting Numbers: [2, 47, 62] Generated Node #0,0: 10:[2, 47, 62] Operation: 87-25=62 Exploring Operation: 47-25=22, Resulting Numbers: [2, 87, 22] Generated Node #0,1: 10:[2, 87, 22] Operation: 47-25=22 Exploring Operation: 47-2=45, Resulting Numbers: [87, 25, 45] Generated Node #0,2: 10:[87, 25, 45] Operation: 47-2=45 Exploring Operation: 87-47=40, Resulting Numbers: [2, 25, 40] Generated Node #0,3: 10:[2, 25, 40] Operation: 87-47=40 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[2, 25, 40], Operations: ['87-47=40'] Exploring Operation: 40-2=38, Resulting Numbers: [25, 38] Generated Node #0,3,0: 10:[25, 38] Operation: 40-2=38 Exploring Operation: 25-2=23, Resulting Numbers: [40, 23] Generated Node #0,3,1: 10:[40, 23] Operation: 25-2=23 Exploring Operation: 40/2=20, Resulting Numbers: [25, 20] Generated Node #0,3,2: 10:[25, 20] Operation: 40/2=20 Exploring Operation: 40-25=15, Resulting Numbers: [2, 15] Generated Node #0,3,3: 10:[2, 15] Operation: 40-25=15 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 10:[2, 15], Operations: ['87-47=40', '40-25=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,10 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 10:[25, 20], Operations: ['87-47=40', '40/2=20'] Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,10 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 10:[25, 38], Operations: ['87-47=40', '40-2=38'] Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,10 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 10:[40, 23], Operations: ['87-47=40', '25-2=23'] Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[2, 47, 62], Operations: ['87-25=62'] Exploring Operation: 62-47=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 10:[2, 15] Operation: 62-47=15 Exploring Operation: 47-2=45, Resulting Numbers: [62, 45] Generated Node #0,0,1: 10:[62, 45] Operation: 47-2=45 Exploring Operation: 62-2=60, Resulting Numbers: [47, 60] Generated Node #0,0,2: 10:[47, 60] Operation: 62-2=60 Exploring Operation: 62/2=31, Resulting Numbers: [47, 31] Generated Node #0,0,3: 10:[47, 31] Operation: 62/2=31 Moving to Node #0,0,0 Current State: 10:[2, 15], Operations: ['87-25=62', '62-47=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,10 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[47, 31], Operations: ['87-25=62', '62/2=31'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,10 unequal: No Solution Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[47, 60], Operations: ['87-25=62', '62-2=60'] Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,10 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,10 unequal: No Solution Exploring Operation: 47*60=2820, Resulting Numbers: [2820] 2820,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[62, 45], Operations: ['87-25=62', '47-2=45'] Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 62+45=107, Resulting Numbers: [107] 107,10 unequal: No Solution Exploring Operation: 62*45=2790, Resulting Numbers: [2790] 2790,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[2, 87, 22], Operations: ['47-25=22'] Exploring Operation: 87-2=85, Resulting Numbers: [22, 85] Generated Node #0,1,0: 10:[22, 85] Operation: 87-2=85 Exploring Operation: 87-22=65, Resulting Numbers: [2, 65] Generated Node #0,1,1: 10:[2, 65] Operation: 87-22=65 Exploring Operation: 22-2=20, Resulting Numbers: [87, 20] Generated Node #0,1,2: 10:[87, 20] Operation: 22-2=20 Exploring Operation: 22/2=11, Resulting Numbers: [87, 11] Generated Node #0,1,3: 10:[87, 11] Operation: 22/2=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[2, 65], Operations: ['47-25=22', '87-22=65'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,10 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 10:[87, 11], Operations: ['47-25=22', '22/2=11'] Exploring Operation: 87+11=98, Resulting Numbers: [98] 98,10 unequal: No Solution Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,10 unequal: No Solution Exploring Operation: 87*11=957, Resulting Numbers: [957] 957,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 10:[22, 85], Operations: ['47-25=22', '87-2=85'] Exploring Operation: 22*85=1870, Resulting Numbers: [1870] 1870,10 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 22+85=107, Resulting Numbers: [107] 107,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 10:[87, 20], Operations: ['47-25=22', '22-2=20'] Exploring Operation: 87+20=107, Resulting Numbers: [107] 107,10 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 87*20=1740, Resulting Numbers: [1740] 1740,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[87, 25, 45], Operations: ['47-2=45'] Exploring Operation: 87+25=112, Resulting Numbers: [45, 112] Generated Node #0,2,0: 10:[45, 112] Operation: 87+25=112 Exploring Operation: 87-25=62, Resulting Numbers: [45, 62] Generated Node #0,2,1: 10:[45, 62] Operation: 87-25=62 Exploring Operation: 87-45=42, Resulting Numbers: [25, 42] Generated Node #0,2,2: 10:[25, 42] Operation: 87-45=42 Exploring Operation: 45-25=20, Resulting Numbers: [87, 20] Generated Node #0,2,3: 10:[87, 20] Operation: 45-25=20 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[25, 42], Operations: ['47-2=45', '87-45=42'] Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 25*42=1050, Resulting Numbers: [1050] 1050,10 unequal: No Solution Exploring Operation: 25+42=67, Resulting Numbers: [67] 67,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[45, 62], Operations: ['47-2=45', '87-25=62'] Exploring Operation: 45*62=2790, Resulting Numbers: [2790] 2790,10 unequal: No Solution Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 45+62=107, Resulting Numbers: [107] 107,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 10:[87, 20], Operations: ['47-2=45', '45-25=20'] Exploring Operation: 87*20=1740, Resulting Numbers: [1740] 1740,10 unequal: No Solution Exploring Operation: 87+20=107, Resulting Numbers: [107] 107,10 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[45, 112], Operations: ['47-2=45', '87+25=112'] Exploring Operation: 45+112=157, Resulting Numbers: [157] 157,10 unequal: No Solution Exploring Operation: 45*112=5040, Resulting Numbers: [5040] 5040,10 unequal: No Solution Exploring Operation: 112-45=67, Resulting Numbers: [67] 67,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 1, 21, 81, 45 ]
58
[ "1+21=22", "81-45=36", "22+36=58" ]
Current State: 58:[1, 21, 81, 45], Operations: [] Exploring Operation: 1+21=22, Resulting Numbers: [81, 45, 22] Generated Node #2: [81, 45, 22] from Operation: 1+21=22 Current State: 58:[81, 45, 22], Operations: ['1+21=22'] Exploring Operation: 81-45=36, Resulting Numbers: [22, 36] Generated Node #3: [22, 36] from Operation: 81-45=36 Current State: 58:[22, 36], Operations: ['1+21=22', '81-45=36'] Exploring Operation: 22+36=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[1, 21, 81, 45], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [1, 21, 36] Generated Node #0,0: 58:[1, 21, 36] Operation: 81-45=36 Exploring Operation: 45-21=24, Resulting Numbers: [1, 81, 24] Generated Node #0,1: 58:[1, 81, 24] Operation: 45-21=24 Exploring Operation: 81-21=60, Resulting Numbers: [1, 45, 60] Generated Node #0,2: 58:[1, 45, 60] Operation: 81-21=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[1, 21, 36], Operations: ['81-45=36'] Exploring Operation: 21+36=57, Resulting Numbers: [1, 57] Generated Node #0,0,0: 58:[1, 57] Operation: 21+36=57 Exploring Operation: 1+21=22, Resulting Numbers: [36, 22] Generated Node #0,0,1: 58:[36, 22] Operation: 1+21=22 Exploring Operation: 36-1=35, Resulting Numbers: [21, 35] Generated Node #0,0,2: 58:[21, 35] Operation: 36-1=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[1, 57], Operations: ['81-45=36', '21+36=57'] Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[1, 21, 81, 45], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [1, 21, 36] Generated Node #0,0: 58:[1, 21, 36] Operation: 81-45=36 Moving to Node #0,0 Current State: 58:[1, 21, 36], Operations: ['81-45=36'] Exploring Operation: 21+36=57, Resulting Numbers: [1, 57] Generated Node #0,0,0: 58:[1, 57] Operation: 21+36=57 Moving to Node #0,0,0 Current State: 58:[1, 57], Operations: ['81-45=36', '21+36=57'] Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 37, 78, 95, 33 ]
98
[ "78+33=111", "111/37=3", "95+3=98" ]
Current State: 98:[37, 78, 95, 33], Operations: [] Exploring Operation: 78+33=111, Resulting Numbers: [37, 95, 111] Generated Node #2: [37, 95, 111] from Operation: 78+33=111 Current State: 98:[37, 95, 111], Operations: ['78+33=111'] Exploring Operation: 111/37=3, Resulting Numbers: [95, 3] Generated Node #3: [95, 3] from Operation: 111/37=3 Current State: 98:[95, 3], Operations: ['78+33=111', '111/37=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[37, 78, 95, 33], Operations: [] Exploring Operation: 78-37=41, Resulting Numbers: [95, 33, 41] Generated Node #0,0: 98:[95, 33, 41] Operation: 78-37=41 Exploring Operation: 95-78=17, Resulting Numbers: [37, 33, 17] Generated Node #0,1: 98:[37, 33, 17] Operation: 95-78=17 Exploring Operation: 78+33=111, Resulting Numbers: [37, 95, 111] Generated Node #0,2: 98:[37, 95, 111] Operation: 78+33=111 Exploring Operation: 37-33=4, Resulting Numbers: [78, 95, 4] Generated Node #0,3: 98:[78, 95, 4] Operation: 37-33=4 Exploring Operation: 78-33=45, Resulting Numbers: [37, 95, 45] Generated Node #0,4: 98:[37, 95, 45] Operation: 78-33=45 Start Sub Search at level 1: Moving to Node #0,4 Current State: 98:[37, 95, 45], Operations: ['78-33=45'] Exploring Operation: 37+95=132, Resulting Numbers: [45, 132] Generated Node #0,4,0: 98:[45, 132] Operation: 37+95=132 Exploring Operation: 95-37=58, Resulting Numbers: [45, 58] Generated Node #0,4,1: 98:[45, 58] Operation: 95-37=58 Exploring Operation: 37+45=82, Resulting Numbers: [95, 82] Generated Node #0,4,2: 98:[95, 82] Operation: 37+45=82 Exploring Operation: 95-45=50, Resulting Numbers: [37, 50] Generated Node #0,4,3: 98:[37, 50] Operation: 95-45=50 Exploring Operation: 45-37=8, Resulting Numbers: [95, 8] Generated Node #0,4,4: 98:[95, 8] Operation: 45-37=8 Moving to Node #0,4,4 Current State: 98:[95, 8], Operations: ['78-33=45', '45-37=8'] Exploring Operation: 95*8=760, Resulting Numbers: [760] 760,98 unequal: No Solution Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 95+8=103, Resulting Numbers: [103] 103,98 unequal: No Solution Moving to Node #0,4,3 Current State: 98:[37, 50], Operations: ['78-33=45', '95-45=50'] Exploring Operation: 37+50=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 37*50=1850, Resulting Numbers: [1850] 1850,98 unequal: No Solution Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,98 unequal: No Solution Moving to Node #0,4,1 Current State: 98:[45, 58], Operations: ['78-33=45', '95-37=58'] Exploring Operation: 45*58=2610, Resulting Numbers: [2610] 2610,98 unequal: No Solution Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 45+58=103, Resulting Numbers: [103] 103,98 unequal: No Solution Moving to Node #0,4,2 Current State: 98:[95, 82], Operations: ['78-33=45', '37+45=82'] Exploring Operation: 95-82=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 95+82=177, Resulting Numbers: [177] 177,98 unequal: No Solution Exploring Operation: 95*82=7790, Resulting Numbers: [7790] 7790,98 unequal: No Solution Moving to Node #0,4,0 Current State: 98:[45, 132], Operations: ['78-33=45', '37+95=132'] Exploring Operation: 45+132=177, Resulting Numbers: [177] 177,98 unequal: No Solution Exploring Operation: 132-45=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 45*132=5940, Resulting Numbers: [5940] 5940,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[78, 95, 4], Operations: ['37-33=4'] Exploring Operation: 95+4=99, Resulting Numbers: [78, 99] Generated Node #0,3,0: 98:[78, 99] Operation: 95+4=99 Exploring Operation: 78-4=74, Resulting Numbers: [95, 74] Generated Node #0,3,1: 98:[95, 74] Operation: 78-4=74 Exploring Operation: 95-4=91, Resulting Numbers: [78, 91] Generated Node #0,3,2: 98:[78, 91] Operation: 95-4=91 Exploring Operation: 95-78=17, Resulting Numbers: [4, 17] Generated Node #0,3,3: 98:[4, 17] Operation: 95-78=17 Exploring Operation: 78+4=82, Resulting Numbers: [95, 82] Generated Node #0,3,4: 98:[95, 82] Operation: 78+4=82 Moving to Node #0,3,3 Current State: 98:[4, 17], Operations: ['37-33=4', '95-78=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,98 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,98 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,98 unequal: No Solution Moving to Node #0,3,4 Current State: 98:[95, 82], Operations: ['37-33=4', '78+4=82'] Exploring Operation: 95*82=7790, Resulting Numbers: [7790] 7790,98 unequal: No Solution Exploring Operation: 95-82=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 95+82=177, Resulting Numbers: [177] 177,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[78, 99], Operations: ['37-33=4', '95+4=99'] Exploring Operation: 78+99=177, Resulting Numbers: [177] 177,98 unequal: No Solution Exploring Operation: 99-78=21, Resulting Numbers: [21] 21,98 unequal: No Solution Exploring Operation: 78*99=7722, Resulting Numbers: [7722] 7722,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[95, 74], Operations: ['37-33=4', '78-4=74'] Exploring Operation: 95+74=169, Resulting Numbers: [169] 169,98 unequal: No Solution Exploring Operation: 95*74=7030, Resulting Numbers: [7030] 7030,98 unequal: No Solution Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[78, 91], Operations: ['37-33=4', '95-4=91'] Exploring Operation: 78*91=7098, Resulting Numbers: [7098] 7098,98 unequal: No Solution Exploring Operation: 78+91=169, Resulting Numbers: [169] 169,98 unequal: No Solution Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,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 Current State: 98:[95, 33, 41], Operations: ['78-37=41'] Exploring Operation: 95-41=54, Resulting Numbers: [33, 54] Generated Node #0,0,0: 98:[33, 54] Operation: 95-41=54 Exploring Operation: 95+33=128, Resulting Numbers: [41, 128] Generated Node #0,0,1: 98:[41, 128] Operation: 95+33=128 Exploring Operation: 95-33=62, Resulting Numbers: [41, 62] Generated Node #0,0,2: 98:[41, 62] Operation: 95-33=62 Exploring Operation: 33+41=74, Resulting Numbers: [95, 74] Generated Node #0,0,3: 98:[95, 74] Operation: 33+41=74 Exploring Operation: 41-33=8, Resulting Numbers: [95, 8] Generated Node #0,0,4: 98:[95, 8] Operation: 41-33=8 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 98:[95, 8], Operations: ['78-37=41', '41-33=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 95*8=760, Resulting Numbers: [760] 760,98 unequal: No Solution Exploring Operation: 95+8=103, Resulting Numbers: [103] 103,98 unequal: No Solution No 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: 98:[33, 54], Operations: ['78-37=41', '95-41=54'] Exploring Operation: 33+54=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 33*54=1782, Resulting Numbers: [1782] 1782,98 unequal: No Solution Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,98 unequal: No Solution No 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: 98:[41, 62], Operations: ['78-37=41', '95-33=62'] Exploring Operation: 41*62=2542, Resulting Numbers: [2542] 2542,98 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,98 unequal: No Solution Exploring Operation: 41+62=103, Resulting Numbers: [103] 103,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 98:[95, 74], Operations: ['78-37=41', '33+41=74'] Exploring Operation: 95*74=7030, Resulting Numbers: [7030] 7030,98 unequal: No Solution Exploring Operation: 95+74=169, Resulting Numbers: [169] 169,98 unequal: No Solution Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,98 unequal: No Solution No 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: 98:[41, 128], Operations: ['78-37=41', '95+33=128'] Exploring Operation: 41*128=5248, Resulting Numbers: [5248] 5248,98 unequal: No Solution Exploring Operation: 41+128=169, Resulting Numbers: [169] 169,98 unequal: No Solution Exploring Operation: 128-41=87, Resulting Numbers: [87] 87,98 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: 98:[37, 95, 111], Operations: ['78+33=111'] Exploring Operation: 111/37=3, Resulting Numbers: [95, 3] Generated Node #0,2,0: 98:[95, 3] Operation: 111/37=3 Exploring Operation: 111-95=16, Resulting Numbers: [37, 16] Generated Node #0,2,1: 98:[37, 16] Operation: 111-95=16 Exploring Operation: 37+95=132, Resulting Numbers: [111, 132] Generated Node #0,2,2: 98:[111, 132] Operation: 37+95=132 Exploring Operation: 95-37=58, Resulting Numbers: [111, 58] Generated Node #0,2,3: 98:[111, 58] Operation: 95-37=58 Exploring Operation: 111-37=74, Resulting Numbers: [95, 74] Generated Node #0,2,4: 98:[95, 74] Operation: 111-37=74 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 98:[95, 3], Operations: ['78+33=111', '111/37=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[37, 78, 95, 33], Operations: [] Exploring Operation: 78+33=111, Resulting Numbers: [37, 95, 111] Generated Node #0,2: 98:[37, 95, 111] Operation: 78+33=111 Moving to Node #0,2 Current State: 98:[37, 95, 111], Operations: ['78+33=111'] Exploring Operation: 111/37=3, Resulting Numbers: [95, 3] Generated Node #0,2,0: 98:[95, 3] Operation: 111/37=3 Moving to Node #0,2,0 Current State: 98:[95, 3], Operations: ['78+33=111', '111/37=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.934028
hs_5
mult_heuristic
[ 46, 56, 19, 58 ]
49
[ "56-46=10", "58-19=39", "10+39=49" ]
Current State: 49:[46, 56, 19, 58], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [19, 58, 10] Generated Node #2: [19, 58, 10] from Operation: 56-46=10 Current State: 49:[19, 58, 10], Operations: ['56-46=10'] Exploring Operation: 58-19=39, Resulting Numbers: [10, 39] Generated Node #3: [10, 39] from Operation: 58-19=39 Current State: 49:[10, 39], Operations: ['56-46=10', '58-19=39'] Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[46, 56, 19, 58], Operations: [] Exploring Operation: 58-46=12, Resulting Numbers: [56, 19, 12] Generated Node #0,0: 49:[56, 19, 12] Operation: 58-46=12 Exploring Operation: 58-56=2, Resulting Numbers: [46, 19, 2] Generated Node #0,1: 49:[46, 19, 2] Operation: 58-56=2 Exploring Operation: 56-46=10, Resulting Numbers: [19, 58, 10] Generated Node #0,2: 49:[19, 58, 10] Operation: 56-46=10 Exploring Operation: 58-19=39, Resulting Numbers: [46, 56, 39] Generated Node #0,3: 49:[46, 56, 39] Operation: 58-19=39 Exploring Operation: 56-19=37, Resulting Numbers: [46, 58, 37] Generated Node #0,4: 49:[46, 58, 37] Operation: 56-19=37 Moving to Node #0,1 Current State: 49:[46, 19, 2], Operations: ['58-56=2'] Exploring Operation: 19*2=38, Resulting Numbers: [46, 38] Generated Node #0,1,0: 49:[46, 38] Operation: 19*2=38 Exploring Operation: 19+2=21, Resulting Numbers: [46, 21] Generated Node #0,1,1: 49:[46, 21] Operation: 19+2=21 Exploring Operation: 46-2=44, Resulting Numbers: [19, 44] Generated Node #0,1,2: 49:[19, 44] Operation: 46-2=44 Exploring Operation: 19-2=17, Resulting Numbers: [46, 17] Generated Node #0,1,3: 49:[46, 17] Operation: 19-2=17 Exploring Operation: 46+2=48, Resulting Numbers: [19, 48] Generated Node #0,1,4: 49:[19, 48] Operation: 46+2=48 Moving to Node #0,3 Current State: 49:[46, 56, 39], Operations: ['58-19=39'] Exploring Operation: 56-39=17, Resulting Numbers: [46, 17] Generated Node #0,3,0: 49:[46, 17] Operation: 56-39=17 Exploring Operation: 56+39=95, Resulting Numbers: [46, 95] Generated Node #0,3,1: 49:[46, 95] Operation: 56+39=95 Exploring Operation: 56-46=10, Resulting Numbers: [39, 10] Generated Node #0,3,2: 49:[39, 10] Operation: 56-46=10 Exploring Operation: 46+39=85, Resulting Numbers: [56, 85] Generated Node #0,3,3: 49:[56, 85] Operation: 46+39=85 Exploring Operation: 46-39=7, Resulting Numbers: [56, 7] Generated Node #0,3,4: 49:[56, 7] Operation: 46-39=7 Moving to Node #0,0 Current State: 49:[56, 19, 12], Operations: ['58-46=12'] Exploring Operation: 56-19=37, Resulting Numbers: [12, 37] Generated Node #0,0,0: 49:[12, 37] Operation: 56-19=37 Exploring Operation: 19+12=31, Resulting Numbers: [56, 31] Generated Node #0,0,1: 49:[56, 31] Operation: 19+12=31 Exploring Operation: 56+19=75, Resulting Numbers: [12, 75] Generated Node #0,0,2: 49:[12, 75] Operation: 56+19=75 Exploring Operation: 56-12=44, Resulting Numbers: [19, 44] Generated Node #0,0,3: 49:[19, 44] Operation: 56-12=44 Exploring Operation: 19-12=7, Resulting Numbers: [56, 7] Generated Node #0,0,4: 49:[56, 7] Operation: 19-12=7 Moving to Node #0,2 Current State: 49:[19, 58, 10], Operations: ['56-46=10'] Exploring Operation: 19+10=29, Resulting Numbers: [58, 29] Generated Node #0,2,0: 49:[58, 29] Operation: 19+10=29 Exploring Operation: 58-19=39, Resulting Numbers: [10, 39] Generated Node #0,2,1: 49:[10, 39] Operation: 58-19=39 Exploring Operation: 19-10=9, Resulting Numbers: [58, 9] Generated Node #0,2,2: 49:[58, 9] Operation: 19-10=9 Exploring Operation: 19+58=77, Resulting Numbers: [10, 77] Generated Node #0,2,3: 49:[10, 77] Operation: 19+58=77 Exploring Operation: 58-10=48, Resulting Numbers: [19, 48] Generated Node #0,2,4: 49:[19, 48] Operation: 58-10=48 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[58, 9], Operations: ['56-46=10', '19-10=9'] Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[46, 56, 19, 58], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [19, 58, 10] Generated Node #0,2: 49:[19, 58, 10] Operation: 56-46=10 Moving to Node #0,2 Current State: 49:[19, 58, 10], Operations: ['56-46=10'] Exploring Operation: 19-10=9, Resulting Numbers: [58, 9] Generated Node #0,2,2: 49:[58, 9] Operation: 19-10=9 Moving to Node #0,2,2 Current State: 49:[58, 9], Operations: ['56-46=10', '19-10=9'] Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
mult_heuristic
[ 70, 97, 98, 89 ]
18
[ "97-70=27", "98-89=9", "27-9=18" ]
Current State: 18:[70, 97, 98, 89], Operations: [] Exploring Operation: 97-70=27, Resulting Numbers: [98, 89, 27] Generated Node #2: [98, 89, 27] from Operation: 97-70=27 Current State: 18:[98, 89, 27], Operations: ['97-70=27'] Exploring Operation: 98-89=9, Resulting Numbers: [27, 9] Generated Node #3: [27, 9] from Operation: 98-89=9 Current State: 18:[27, 9], Operations: ['97-70=27', '98-89=9'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[70, 97, 98, 89], Operations: [] Exploring Operation: 98-89=9, Resulting Numbers: [70, 97, 9] Generated Node #0,0: 18:[70, 97, 9] Operation: 98-89=9 Exploring Operation: 97-89=8, Resulting Numbers: [70, 98, 8] Generated Node #0,1: 18:[70, 98, 8] Operation: 97-89=8 Exploring Operation: 97-70=27, Resulting Numbers: [98, 89, 27] Generated Node #0,2: 18:[98, 89, 27] Operation: 97-70=27 Exploring Operation: 98-97=1, Resulting Numbers: [70, 89, 1] Generated Node #0,3: 18:[70, 89, 1] Operation: 98-97=1 Moving to Node #0,3 Current State: 18:[70, 89, 1], Operations: ['98-97=1'] Exploring Operation: 70-1=69, Resulting Numbers: [89, 69] Generated Node #0,3,0: 18:[89, 69] Operation: 70-1=69 Exploring Operation: 70*1=70, Resulting Numbers: [89, 70] Generated Node #0,3,1: 18:[89, 70] Operation: 70*1=70 Exploring Operation: 89-70=19, Resulting Numbers: [1, 19] Generated Node #0,3,2: 18:[1, 19] Operation: 89-70=19 Exploring Operation: 89-1=88, Resulting Numbers: [70, 88] Generated Node #0,3,3: 18:[70, 88] Operation: 89-1=88 Moving to Node #0,0 Current State: 18:[70, 97, 9], Operations: ['98-89=9'] Exploring Operation: 97-70=27, Resulting Numbers: [9, 27] Generated Node #0,0,0: 18:[9, 27] Operation: 97-70=27 Exploring Operation: 70+9=79, Resulting Numbers: [97, 79] Generated Node #0,0,1: 18:[97, 79] Operation: 70+9=79 Exploring Operation: 70-9=61, Resulting Numbers: [97, 61] Generated Node #0,0,2: 18:[97, 61] Operation: 70-9=61 Exploring Operation: 97-9=88, Resulting Numbers: [70, 88] Generated Node #0,0,3: 18:[70, 88] Operation: 97-9=88 Moving to Node #0,1 Current State: 18:[70, 98, 8], Operations: ['97-89=8'] Exploring Operation: 70+8=78, Resulting Numbers: [98, 78] Generated Node #0,1,0: 18:[98, 78] Operation: 70+8=78 Exploring Operation: 98-70=28, Resulting Numbers: [8, 28] Generated Node #0,1,1: 18:[8, 28] Operation: 98-70=28 Exploring Operation: 70-8=62, Resulting Numbers: [98, 62] Generated Node #0,1,2: 18:[98, 62] Operation: 70-8=62 Exploring Operation: 98-8=90, Resulting Numbers: [70, 90] Generated Node #0,1,3: 18:[70, 90] Operation: 98-8=90 Moving to Node #0,2 Current State: 18:[98, 89, 27], Operations: ['97-70=27'] Exploring Operation: 98-27=71, Resulting Numbers: [89, 71] Generated Node #0,2,0: 18:[89, 71] Operation: 98-27=71 Exploring Operation: 98+89=187, Resulting Numbers: [27, 187] Generated Node #0,2,1: 18:[27, 187] Operation: 98+89=187 Exploring Operation: 89-27=62, Resulting Numbers: [98, 62] Generated Node #0,2,2: 18:[98, 62] Operation: 89-27=62 Exploring Operation: 98-89=9, Resulting Numbers: [27, 9] Generated Node #0,2,3: 18:[27, 9] Operation: 98-89=9 Moving to Node #0,3,2 Current State: 18:[1, 19], Operations: ['98-97=1', '89-70=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:[70, 97, 98, 89], Operations: [] Exploring Operation: 98-97=1, Resulting Numbers: [70, 89, 1] Generated Node #0,3: 18:[70, 89, 1] Operation: 98-97=1 Moving to Node #0,3 Current State: 18:[70, 89, 1], Operations: ['98-97=1'] Exploring Operation: 89-70=19, Resulting Numbers: [1, 19] Generated Node #0,3,2: 18:[1, 19] Operation: 89-70=19 Moving to Node #0,3,2 Current State: 18:[1, 19], Operations: ['98-97=1', '89-70=19'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.977431
hs_4
mult_heuristic
[ 77, 57, 3, 41 ]
45
[ "77-41=36", "36/3=12", "57-12=45" ]
Current State: 45:[77, 57, 3, 41], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [57, 3, 36] Generated Node #2: [57, 3, 36] from Operation: 77-41=36 Current State: 45:[57, 3, 36], Operations: ['77-41=36'] Exploring Operation: 36/3=12, Resulting Numbers: [57, 12] Generated Node #3: [57, 12] from Operation: 36/3=12 Current State: 45:[57, 12], Operations: ['77-41=36', '36/3=12'] Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[77, 57, 3, 41], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [57, 3, 36] Generated Node #0,0: 45:[57, 3, 36] Operation: 77-41=36 Exploring Operation: 57-41=16, Resulting Numbers: [77, 3, 16] Generated Node #0,1: 45:[77, 3, 16] Operation: 57-41=16 Exploring Operation: 77-57=20, Resulting Numbers: [3, 41, 20] Generated Node #0,2: 45:[3, 41, 20] Operation: 77-57=20 Exploring Operation: 57/3=19, Resulting Numbers: [77, 41, 19] Generated Node #0,3: 45:[77, 41, 19] Operation: 57/3=19 Exploring Operation: 77-3=74, Resulting Numbers: [57, 41, 74] Generated Node #0,4: 45:[57, 41, 74] Operation: 77-3=74 Moving to Node #0,2 Current State: 45:[3, 41, 20], Operations: ['77-57=20'] Exploring Operation: 20-3=17, Resulting Numbers: [41, 17] Generated Node #0,2,0: 45:[41, 17] Operation: 20-3=17 Exploring Operation: 41-20=21, Resulting Numbers: [3, 21] Generated Node #0,2,1: 45:[3, 21] Operation: 41-20=21 Exploring Operation: 41-3=38, Resulting Numbers: [20, 38] Generated Node #0,2,2: 45:[20, 38] Operation: 41-3=38 Exploring Operation: 3+41=44, Resulting Numbers: [20, 44] Generated Node #0,2,3: 45:[20, 44] Operation: 3+41=44 Exploring Operation: 3+20=23, Resulting Numbers: [41, 23] Generated Node #0,2,4: 45:[41, 23] Operation: 3+20=23 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[41, 17], Operations: ['77-57=20', '20-3=17'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,45 unequal: No Solution Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[3, 21], Operations: ['77-57=20', '41-20=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[20, 44], Operations: ['77-57=20', '3+41=44'] Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[20, 38], Operations: ['77-57=20', '41-3=38'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,45 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 45:[41, 23], Operations: ['77-57=20', '3+20=23'] Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,45 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,45 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: 45:[57, 3, 36], Operations: ['77-41=36'] Exploring Operation: 57-36=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 45:[3, 21] Operation: 57-36=21 Exploring Operation: 3+36=39, Resulting Numbers: [57, 39] Generated Node #0,0,1: 45:[57, 39] Operation: 3+36=39 Exploring Operation: 36/3=12, Resulting Numbers: [57, 12] Generated Node #0,0,2: 45:[57, 12] Operation: 36/3=12 Exploring Operation: 57-3=54, Resulting Numbers: [36, 54] Generated Node #0,0,3: 45:[36, 54] Operation: 57-3=54 Exploring Operation: 57/3=19, Resulting Numbers: [36, 19] Generated Node #0,0,4: 45:[36, 19] Operation: 57/3=19 Moving to Node #0,1 Current State: 45:[77, 3, 16], Operations: ['57-41=16'] Exploring Operation: 3*16=48, Resulting Numbers: [77, 48] Generated Node #0,1,0: 45:[77, 48] Operation: 3*16=48 Exploring Operation: 77-16=61, Resulting Numbers: [3, 61] Generated Node #0,1,1: 45:[3, 61] Operation: 77-16=61 Exploring Operation: 77-3=74, Resulting Numbers: [16, 74] Generated Node #0,1,2: 45:[16, 74] Operation: 77-3=74 Exploring Operation: 16-3=13, Resulting Numbers: [77, 13] Generated Node #0,1,3: 45:[77, 13] Operation: 16-3=13 Exploring Operation: 77+3=80, Resulting Numbers: [16, 80] Generated Node #0,1,4: 45:[16, 80] Operation: 77+3=80 Moving to Node #0,3 Current State: 45:[77, 41, 19], Operations: ['57/3=19'] Exploring Operation: 77+19=96, Resulting Numbers: [41, 96] Generated Node #0,3,0: 45:[41, 96] Operation: 77+19=96 Exploring Operation: 77-19=58, Resulting Numbers: [41, 58] Generated Node #0,3,1: 45:[41, 58] Operation: 77-19=58 Exploring Operation: 77-41=36, Resulting Numbers: [19, 36] Generated Node #0,3,2: 45:[19, 36] Operation: 77-41=36 Exploring Operation: 41-19=22, Resulting Numbers: [77, 22] Generated Node #0,3,3: 45:[77, 22] Operation: 41-19=22 Exploring Operation: 41+19=60, Resulting Numbers: [77, 60] Generated Node #0,3,4: 45:[77, 60] Operation: 41+19=60 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 45:[19, 36], Operations: ['57/3=19', '77-41=36'] Exploring Operation: 19*36=684, Resulting Numbers: [684] 684,45 unequal: No Solution Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,45 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,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,3,1 Current State: 45:[41, 58], Operations: ['57/3=19', '77-19=58'] Exploring Operation: 41*58=2378, Resulting Numbers: [2378] 2378,45 unequal: No Solution Exploring Operation: 41+58=99, Resulting Numbers: [99] 99,45 unequal: No Solution Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,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,3,3 Current State: 45:[77, 22], Operations: ['57/3=19', '41-19=22'] Exploring Operation: 77+22=99, Resulting Numbers: [99] 99,45 unequal: No Solution Exploring Operation: 77*22=1694, Resulting Numbers: [1694] 1694,45 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,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,3,4 Current State: 45:[77, 60], Operations: ['57/3=19', '41+19=60'] Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 77*60=4620, Resulting Numbers: [4620] 4620,45 unequal: No Solution Exploring Operation: 77+60=137, Resulting Numbers: [137] 137,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,3,0 Current State: 45:[41, 96], Operations: ['57/3=19', '77+19=96'] Exploring Operation: 41+96=137, Resulting Numbers: [137] 137,45 unequal: No Solution Exploring Operation: 41*96=3936, Resulting Numbers: [3936] 3936,45 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,45 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: 45:[57, 41, 74], Operations: ['77-3=74'] Exploring Operation: 74-57=17, Resulting Numbers: [41, 17] Generated Node #0,4,0: 45:[41, 17] Operation: 74-57=17 Exploring Operation: 57-41=16, Resulting Numbers: [74, 16] Generated Node #0,4,1: 45:[74, 16] Operation: 57-41=16 Exploring Operation: 57+41=98, Resulting Numbers: [74, 98] Generated Node #0,4,2: 45:[74, 98] Operation: 57+41=98 Exploring Operation: 74-41=33, Resulting Numbers: [57, 33] Generated Node #0,4,3: 45:[57, 33] Operation: 74-41=33 Exploring Operation: 41+74=115, Resulting Numbers: [57, 115] Generated Node #0,4,4: 45:[57, 115] Operation: 41+74=115 Moving to Node #0,0,0 Current State: 45:[3, 21], Operations: ['77-41=36', '57-36=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,45 unequal: No Solution Moving to Node #0,4,0 Current State: 45:[41, 17], Operations: ['77-3=74', '74-57=17'] Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,45 unequal: No Solution Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,45 unequal: No Solution Moving to Node #0,0,4 Current State: 45:[36, 19], Operations: ['77-41=36', '57/3=19'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,45 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[57, 12], Operations: ['77-41=36', '36/3=12'] Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[77, 57, 3, 41], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [57, 3, 36] Generated Node #0,0: 45:[57, 3, 36] Operation: 77-41=36 Moving to Node #0,0 Current State: 45:[57, 3, 36], Operations: ['77-41=36'] Exploring Operation: 36/3=12, Resulting Numbers: [57, 12] Generated Node #0,0,2: 45:[57, 12] Operation: 36/3=12 Moving to Node #0,0,2 Current State: 45:[57, 12], Operations: ['77-41=36', '36/3=12'] Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.934028
hs_5
mult_heuristic
[ 35, 61, 20, 39 ]
33
[ "61-35=26", "20+39=59", "59-26=33" ]
Current State: 33:[35, 61, 20, 39], Operations: [] Exploring Operation: 61-35=26, Resulting Numbers: [20, 39, 26] Generated Node #2: [20, 39, 26] from Operation: 61-35=26 Current State: 33:[20, 39, 26], Operations: ['61-35=26'] Exploring Operation: 20+39=59, Resulting Numbers: [26, 59] Generated Node #3: [26, 59] from Operation: 20+39=59 Current State: 33:[26, 59], Operations: ['61-35=26', '20+39=59'] Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[35, 61, 20, 39], Operations: [] Exploring Operation: 39-35=4, Resulting Numbers: [61, 20, 4] Generated Node #0,0: 33:[61, 20, 4] Operation: 39-35=4 Exploring Operation: 35-20=15, Resulting Numbers: [61, 39, 15] Generated Node #0,1: 33:[61, 39, 15] Operation: 35-20=15 Exploring Operation: 61-39=22, Resulting Numbers: [35, 20, 22] Generated Node #0,2: 33:[35, 20, 22] Operation: 61-39=22 Exploring Operation: 61-20=41, Resulting Numbers: [35, 39, 41] Generated Node #0,3: 33:[35, 39, 41] Operation: 61-20=41 Exploring Operation: 61-35=26, Resulting Numbers: [20, 39, 26] Generated Node #0,4: 33:[20, 39, 26] Operation: 61-35=26 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[35, 39, 41], Operations: ['61-20=41'] Exploring Operation: 41-35=6, Resulting Numbers: [39, 6] Generated Node #0,3,0: 33:[39, 6] Operation: 41-35=6 Exploring Operation: 39-35=4, Resulting Numbers: [41, 4] Generated Node #0,3,1: 33:[41, 4] Operation: 39-35=4 Exploring Operation: 35+39=74, Resulting Numbers: [41, 74] Generated Node #0,3,2: 33:[41, 74] Operation: 35+39=74 Exploring Operation: 35+41=76, Resulting Numbers: [39, 76] Generated Node #0,3,3: 33:[39, 76] Operation: 35+41=76 Exploring Operation: 41-39=2, Resulting Numbers: [35, 2] Generated Node #0,3,4: 33:[35, 2] Operation: 41-39=2 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 33:[35, 2], Operations: ['61-20=41', '41-39=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[35, 61, 20, 39], Operations: [] Exploring Operation: 61-20=41, Resulting Numbers: [35, 39, 41] Generated Node #0,3: 33:[35, 39, 41] Operation: 61-20=41 Moving to Node #0,3 Current State: 33:[35, 39, 41], Operations: ['61-20=41'] Exploring Operation: 41-39=2, Resulting Numbers: [35, 2] Generated Node #0,3,4: 33:[35, 2] Operation: 41-39=2 Moving to Node #0,3,4 Current State: 33:[35, 2], Operations: ['61-20=41', '41-39=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 18, 95, 47, 97 ]
87
[ "47+97=144", "144/18=8", "95-8=87" ]
Current State: 87:[18, 95, 47, 97], Operations: [] Exploring Operation: 47+97=144, Resulting Numbers: [18, 95, 144] Generated Node #2: [18, 95, 144] from Operation: 47+97=144 Current State: 87:[18, 95, 144], Operations: ['47+97=144'] Exploring Operation: 144/18=8, Resulting Numbers: [95, 8] Generated Node #3: [95, 8] from Operation: 144/18=8 Current State: 87:[95, 8], Operations: ['47+97=144', '144/18=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[18, 95, 47, 97], Operations: [] Exploring Operation: 47-18=29, Resulting Numbers: [95, 97, 29] Generated Node #0,0: 87:[95, 97, 29] Operation: 47-18=29 Exploring Operation: 97-95=2, Resulting Numbers: [18, 47, 2] Generated Node #0,1: 87:[18, 47, 2] Operation: 97-95=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[95, 97, 29], Operations: ['47-18=29'] Exploring Operation: 97-29=68, Resulting Numbers: [95, 68] Generated Node #0,0,0: 87:[95, 68] Operation: 97-29=68 Exploring Operation: 97-95=2, Resulting Numbers: [29, 2] Generated Node #0,0,1: 87:[29, 2] Operation: 97-95=2 Moving to Node #0,0,1 Current State: 87:[29, 2], Operations: ['47-18=29', '97-95=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[95, 68], Operations: ['47-18=29', '97-29=68'] Exploring Operation: 95+68=163, Resulting Numbers: [163] 163,87 unequal: No Solution Exploring Operation: 95-68=27, Resulting Numbers: [27] 27,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[18, 47, 2], Operations: ['97-95=2'] Exploring Operation: 47-18=29, Resulting Numbers: [2, 29] Generated Node #0,1,0: 87:[2, 29] Operation: 47-18=29 Exploring Operation: 47*2=94, Resulting Numbers: [18, 94] Generated Node #0,1,1: 87:[18, 94] Operation: 47*2=94 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[2, 29], Operations: ['97-95=2', '47-18=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,87 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[18, 94], Operations: ['97-95=2', '47*2=94'] Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,87 unequal: No Solution Exploring Operation: 18+94=112, Resulting Numbers: [112] 112,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 54, 8, 8, 85 ]
31
[ "54+8=62", "8+85=93", "93-62=31" ]
Current State: 31:[54, 8, 8, 85], Operations: [] Exploring Operation: 54+8=62, Resulting Numbers: [85, 62] Generated Node #2: [85, 62] from Operation: 54+8=62 Current State: 31:[85, 62], Operations: ['54+8=62'] Exploring Operation: 8+85=93, Resulting Numbers: [62, 93] Generated Node #3: [62, 93] from Operation: 8+85=93 Current State: 31:[62, 93], Operations: ['54+8=62', '8+85=93'] Exploring Operation: 93-62=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[54, 8, 8, 85], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [8, 8, 31] Generated Node #0,0: 31:[8, 8, 31] Operation: 85-54=31 Exploring Operation: 8+8=16, Resulting Numbers: [54, 85, 16] Generated Node #0,1: 31:[54, 85, 16] Operation: 8+8=16 Exploring Operation: 54-8=46, Resulting Numbers: [8, 85, 46] Generated Node #0,2: 31:[8, 85, 46] Operation: 54-8=46 Exploring Operation: 54-8=46, Resulting Numbers: [8, 85, 46] Generated Node #0,3: 31:[8, 85, 46] Operation: 54-8=46 Moving to Node #0,0 Current State: 31:[8, 8, 31], Operations: ['85-54=31'] Exploring Operation: 8+8=16, Resulting Numbers: [31, 16] Generated Node #0,0,0: 31:[31, 16] Operation: 8+8=16 Exploring Operation: 8/8=1, Resulting Numbers: [31, 1] Generated Node #0,0,1: 31:[31, 1] Operation: 8/8=1 Exploring Operation: 8-8=0, Resulting Numbers: [31, 0] Generated Node #0,0,2: 31:[31, 0] Operation: 8-8=0 Exploring Operation: 8+31=39, Resulting Numbers: [8, 39] Generated Node #0,0,3: 31:[8, 39] Operation: 8+31=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[31, 16], Operations: ['85-54=31', '8+8=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[31, 1], Operations: ['85-54=31', '8/8=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[54, 8, 8, 85], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [8, 8, 31] Generated Node #0,0: 31:[8, 8, 31] Operation: 85-54=31 Moving to Node #0,0 Current State: 31:[8, 8, 31], Operations: ['85-54=31'] Exploring Operation: 8/8=1, Resulting Numbers: [31, 1] Generated Node #0,0,1: 31:[31, 1] Operation: 8/8=1 Moving to Node #0,0,1 Current State: 31:[31, 1], Operations: ['85-54=31', '8/8=1'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 5, 10, 17, 60 ]
58
[ "5+10=15", "60-17=43", "15+43=58" ]
Current State: 58:[5, 10, 17, 60], Operations: [] Exploring Operation: 5+10=15, Resulting Numbers: [17, 60, 15] Generated Node #2: [17, 60, 15] from Operation: 5+10=15 Current State: 58:[17, 60, 15], Operations: ['5+10=15'] Exploring Operation: 60-17=43, Resulting Numbers: [15, 43] Generated Node #3: [15, 43] from Operation: 60-17=43 Current State: 58:[15, 43], Operations: ['5+10=15', '60-17=43'] Exploring Operation: 15+43=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[5, 10, 17, 60], Operations: [] Exploring Operation: 10+17=27, Resulting Numbers: [5, 60, 27] Generated Node #0,0: 58:[5, 60, 27] Operation: 10+17=27 Moving to Node #0,0 Current State: 58:[5, 60, 27], Operations: ['10+17=27'] Exploring Operation: 60-5=55, Resulting Numbers: [27, 55] Generated Node #0,0,0: 58:[27, 55] Operation: 60-5=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[27, 55], Operations: ['10+17=27', '60-5=55'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,58 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
[ 81, 27, 40, 18 ]
66
[ "81/27=3", "40-18=22", "3*22=66" ]
Current State: 66:[81, 27, 40, 18], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [40, 18, 3] Generated Node #2: [40, 18, 3] from Operation: 81/27=3 Current State: 66:[40, 18, 3], Operations: ['81/27=3'] Exploring Operation: 40-18=22, Resulting Numbers: [3, 22] Generated Node #3: [3, 22] from Operation: 40-18=22 Current State: 66:[3, 22], Operations: ['81/27=3', '40-18=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[81, 27, 40, 18], Operations: [] Exploring Operation: 27+40=67, Resulting Numbers: [81, 18, 67] Generated Node #0,0: 66:[81, 18, 67] Operation: 27+40=67 Exploring Operation: 81-40=41, Resulting Numbers: [27, 18, 41] Generated Node #0,1: 66:[27, 18, 41] Operation: 81-40=41 Exploring Operation: 81-18=63, Resulting Numbers: [27, 40, 63] Generated Node #0,2: 66:[27, 40, 63] Operation: 81-18=63 Exploring Operation: 81/27=3, Resulting Numbers: [40, 18, 3] Generated Node #0,3: 66:[40, 18, 3] Operation: 81/27=3 Moving to Node #0,3 Current State: 66:[40, 18, 3], Operations: ['81/27=3'] Exploring Operation: 40+18=58, Resulting Numbers: [3, 58] Generated Node #0,3,0: 66:[3, 58] Operation: 40+18=58 Exploring Operation: 40-18=22, Resulting Numbers: [3, 22] Generated Node #0,3,1: 66:[3, 22] Operation: 40-18=22 Exploring Operation: 18/3=6, Resulting Numbers: [40, 6] Generated Node #0,3,2: 66:[40, 6] Operation: 18/3=6 Exploring Operation: 40-3=37, Resulting Numbers: [18, 37] Generated Node #0,3,3: 66:[18, 37] Operation: 40-3=37 Moving to Node #0,2 Current State: 66:[27, 40, 63], Operations: ['81-18=63'] Exploring Operation: 63-40=23, Resulting Numbers: [27, 23] Generated Node #0,2,0: 66:[27, 23] Operation: 63-40=23 Exploring Operation: 63-27=36, Resulting Numbers: [40, 36] Generated Node #0,2,1: 66:[40, 36] Operation: 63-27=36 Exploring Operation: 27+40=67, Resulting Numbers: [63, 67] Generated Node #0,2,2: 66:[63, 67] Operation: 27+40=67 Exploring Operation: 40-27=13, Resulting Numbers: [63, 13] Generated Node #0,2,3: 66:[63, 13] Operation: 40-27=13 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[63, 67], Operations: ['81-18=63', '27+40=67'] Exploring Operation: 63*67=4221, Resulting Numbers: [4221] 4221,66 unequal: No Solution Exploring Operation: 63+67=130, Resulting Numbers: [130] 130,66 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,66 unequal: No Solution No 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: 66:[63, 13], Operations: ['81-18=63', '40-27=13'] Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,66 unequal: No Solution Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 63*13=819, Resulting Numbers: [819] 819,66 unequal: No Solution No 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: 66:[27, 23], Operations: ['81-18=63', '63-40=23'] Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,66 unequal: No Solution No 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: 66:[40, 36], Operations: ['81-18=63', '63-27=36'] Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,66 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,66 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: 66:[27, 18, 41], Operations: ['81-40=41'] Exploring Operation: 27+41=68, Resulting Numbers: [18, 68] Generated Node #0,1,0: 66:[18, 68] Operation: 27+41=68 Exploring Operation: 41-18=23, Resulting Numbers: [27, 23] Generated Node #0,1,1: 66:[27, 23] Operation: 41-18=23 Exploring Operation: 27-18=9, Resulting Numbers: [41, 9] Generated Node #0,1,2: 66:[41, 9] Operation: 27-18=9 Exploring Operation: 41-27=14, Resulting Numbers: [18, 14] Generated Node #0,1,3: 66:[18, 14] Operation: 41-27=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[18, 68], Operations: ['81-40=41', '27+41=68'] Exploring Operation: 18+68=86, Resulting Numbers: [86] 86,66 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 18*68=1224, Resulting Numbers: [1224] 1224,66 unequal: No Solution No 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: 66:[27, 23], Operations: ['81-40=41', '41-18=23'] Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,66 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,66 unequal: No Solution No 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: 66:[18, 14], Operations: ['81-40=41', '41-27=14'] Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,66 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,66 unequal: No Solution No 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: 66:[41, 9], Operations: ['81-40=41', '27-18=9'] Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,66 unequal: No Solution Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,66 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: 66:[81, 18, 67], Operations: ['27+40=67'] Exploring Operation: 67-18=49, Resulting Numbers: [81, 49] Generated Node #0,0,0: 66:[81, 49] Operation: 67-18=49 Exploring Operation: 81+18=99, Resulting Numbers: [67, 99] Generated Node #0,0,1: 66:[67, 99] Operation: 81+18=99 Exploring Operation: 81-67=14, Resulting Numbers: [18, 14] Generated Node #0,0,2: 66:[18, 14] Operation: 81-67=14 Exploring Operation: 81-18=63, Resulting Numbers: [67, 63] Generated Node #0,0,3: 66:[67, 63] Operation: 81-18=63 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[67, 63], Operations: ['27+40=67', '81-18=63'] Exploring Operation: 67+63=130, Resulting Numbers: [130] 130,66 unequal: No Solution Exploring Operation: 67*63=4221, Resulting Numbers: [4221] 4221,66 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,66 unequal: No Solution No 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: 66:[18, 14], Operations: ['27+40=67', '81-67=14'] Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,66 unequal: No Solution No 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: 66:[81, 49], Operations: ['27+40=67', '67-18=49'] Exploring Operation: 81+49=130, Resulting Numbers: [130] 130,66 unequal: No Solution Exploring Operation: 81*49=3969, Resulting Numbers: [3969] 3969,66 unequal: No Solution Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,66 unequal: No Solution No 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: 66:[67, 99], Operations: ['27+40=67', '81+18=99'] Exploring Operation: 67*99=6633, Resulting Numbers: [6633] 6633,66 unequal: No Solution Exploring Operation: 67+99=166, Resulting Numbers: [166] 166,66 unequal: No Solution Exploring Operation: 99-67=32, Resulting Numbers: [32] 32,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 66:[3, 22], Operations: ['81/27=3', '40-18=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[81, 27, 40, 18], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [40, 18, 3] Generated Node #0,3: 66:[40, 18, 3] Operation: 81/27=3 Moving to Node #0,3 Current State: 66:[40, 18, 3], Operations: ['81/27=3'] Exploring Operation: 40-18=22, Resulting Numbers: [3, 22] Generated Node #0,3,1: 66:[3, 22] Operation: 40-18=22 Moving to Node #0,3,1 Current State: 66:[3, 22], Operations: ['81/27=3', '40-18=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.946181
hs_4
sum_heuristic
[ 88, 32, 81, 80 ]
57
[ "88-32=56", "81-80=1", "56+1=57" ]
Current State: 57:[88, 32, 81, 80], Operations: [] Exploring Operation: 88-32=56, Resulting Numbers: [81, 80, 56] Generated Node #2: [81, 80, 56] from Operation: 88-32=56 Current State: 57:[81, 80, 56], Operations: ['88-32=56'] Exploring Operation: 81-80=1, Resulting Numbers: [56, 1] Generated Node #3: [56, 1] from Operation: 81-80=1 Current State: 57:[56, 1], Operations: ['88-32=56', '81-80=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[88, 32, 81, 80], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [88, 32, 1] Generated Node #0,0: 57:[88, 32, 1] Operation: 81-80=1 Exploring Operation: 88-80=8, Resulting Numbers: [32, 81, 8] Generated Node #0,1: 57:[32, 81, 8] Operation: 88-80=8 Exploring Operation: 88-81=7, Resulting Numbers: [32, 80, 7] Generated Node #0,2: 57:[32, 80, 7] Operation: 88-81=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[32, 80, 7], Operations: ['88-81=7'] Exploring Operation: 80-32=48, Resulting Numbers: [7, 48] Generated Node #0,2,0: 57:[7, 48] Operation: 80-32=48 Exploring Operation: 32-7=25, Resulting Numbers: [80, 25] Generated Node #0,2,1: 57:[80, 25] Operation: 32-7=25 Exploring Operation: 80-7=73, Resulting Numbers: [32, 73] Generated Node #0,2,2: 57:[32, 73] Operation: 80-7=73 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 57:[7, 48], Operations: ['88-81=7', '80-32=48'] Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,57 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,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,2,1 Current State: 57:[80, 25], Operations: ['88-81=7', '32-7=25'] Exploring Operation: 80+25=105, Resulting Numbers: [105] 105,57 unequal: No Solution Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 80*25=2000, Resulting Numbers: [2000] 2000,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,2,2 Current State: 57:[32, 73], Operations: ['88-81=7', '80-7=73'] Exploring Operation: 32*73=2336, Resulting Numbers: [2336] 2336,57 unequal: No Solution Exploring Operation: 32+73=105, Resulting Numbers: [105] 105,57 unequal: No Solution Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,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:[32, 81, 8], Operations: ['88-80=8'] Exploring Operation: 81-32=49, Resulting Numbers: [8, 49] Generated Node #0,1,0: 57:[8, 49] Operation: 81-32=49 Exploring Operation: 32-8=24, Resulting Numbers: [81, 24] Generated Node #0,1,1: 57:[81, 24] Operation: 32-8=24 Exploring Operation: 32/8=4, Resulting Numbers: [81, 4] Generated Node #0,1,2: 57:[81, 4] Operation: 32/8=4 Moving to Node #0,1,0 Current State: 57:[8, 49], Operations: ['88-80=8', '81-32=49'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,57 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[88, 32, 81, 80], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [32, 81, 8] Generated Node #0,1: 57:[32, 81, 8] Operation: 88-80=8 Moving to Node #0,1 Current State: 57:[32, 81, 8], Operations: ['88-80=8'] Exploring Operation: 81-32=49, Resulting Numbers: [8, 49] Generated Node #0,1,0: 57:[8, 49] Operation: 81-32=49 Moving to Node #0,1,0 Current State: 57:[8, 49], Operations: ['88-80=8', '81-32=49'] Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 50, 22, 17, 66 ]
55
[ "50-22=28", "17+66=83", "83-28=55" ]
Current State: 55:[50, 22, 17, 66], Operations: [] Exploring Operation: 50-22=28, Resulting Numbers: [17, 66, 28] Generated Node #2: [17, 66, 28] from Operation: 50-22=28 Current State: 55:[17, 66, 28], Operations: ['50-22=28'] Exploring Operation: 17+66=83, Resulting Numbers: [28, 83] Generated Node #3: [28, 83] from Operation: 17+66=83 Current State: 55:[28, 83], Operations: ['50-22=28', '17+66=83'] Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[50, 22, 17, 66], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [50, 17, 3] Generated Node #0,0: 55:[50, 17, 3] Operation: 66/22=3 Exploring Operation: 66-50=16, Resulting Numbers: [22, 17, 16] Generated Node #0,1: 55:[22, 17, 16] Operation: 66-50=16 Exploring Operation: 22-17=5, Resulting Numbers: [50, 66, 5] Generated Node #0,2: 55:[50, 66, 5] Operation: 22-17=5 Exploring Operation: 66-17=49, Resulting Numbers: [50, 22, 49] Generated Node #0,3: 55:[50, 22, 49] Operation: 66-17=49 Exploring Operation: 66-22=44, Resulting Numbers: [50, 17, 44] Generated Node #0,4: 55:[50, 17, 44] Operation: 66-22=44 Moving to Node #0,0 Current State: 55:[50, 17, 3], Operations: ['66/22=3'] Exploring Operation: 50+17=67, Resulting Numbers: [3, 67] Generated Node #0,0,0: 55:[3, 67] Operation: 50+17=67 Exploring Operation: 50-3=47, Resulting Numbers: [17, 47] Generated Node #0,0,1: 55:[17, 47] Operation: 50-3=47 Exploring Operation: 50+3=53, Resulting Numbers: [17, 53] Generated Node #0,0,2: 55:[17, 53] Operation: 50+3=53 Exploring Operation: 17-3=14, Resulting Numbers: [50, 14] Generated Node #0,0,3: 55:[50, 14] Operation: 17-3=14 Exploring Operation: 17*3=51, Resulting Numbers: [50, 51] Generated Node #0,0,4: 55:[50, 51] Operation: 17*3=51 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[17, 53], Operations: ['66/22=3', '50+3=53'] Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 17*53=901, Resulting Numbers: [901] 901,55 unequal: No Solution Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,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,0,3 Current State: 55:[50, 14], Operations: ['66/22=3', '17-3=14'] Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 50+14=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 50*14=700, Resulting Numbers: [700] 700,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,0,4 Current State: 55:[50, 51], Operations: ['66/22=3', '17*3=51'] Exploring Operation: 50*51=2550, Resulting Numbers: [2550] 2550,55 unequal: No Solution Exploring Operation: 50+51=101, Resulting Numbers: [101] 101,55 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,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,0,0 Current State: 55:[3, 67], Operations: ['66/22=3', '50+17=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,55 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,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,0,1 Current State: 55:[17, 47], Operations: ['66/22=3', '50-3=47'] Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 17*47=799, Resulting Numbers: [799] 799,55 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,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:[50, 66, 5], Operations: ['22-17=5'] Exploring Operation: 50+5=55, Resulting Numbers: [66, 55] Generated Node #0,2,0: 55:[66, 55] Operation: 50+5=55 Exploring Operation: 50-5=45, Resulting Numbers: [66, 45] Generated Node #0,2,1: 55:[66, 45] Operation: 50-5=45 Exploring Operation: 66-5=61, Resulting Numbers: [50, 61] Generated Node #0,2,2: 55:[50, 61] Operation: 66-5=61 Exploring Operation: 50/5=10, Resulting Numbers: [66, 10] Generated Node #0,2,3: 55:[66, 10] Operation: 50/5=10 Exploring Operation: 66-50=16, Resulting Numbers: [5, 16] Generated Node #0,2,4: 55:[5, 16] Operation: 66-50=16 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 55:[5, 16], Operations: ['22-17=5', '66-50=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 55:[66, 55], Operations: ['22-17=5', '50+5=55'] Exploring Operation: 66-55=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 66*55=3630, Resulting Numbers: [3630] 3630,55 unequal: No Solution Exploring Operation: 66+55=121, Resulting Numbers: [121] 121,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[50, 61], Operations: ['22-17=5', '66-5=61'] Exploring Operation: 50+61=111, Resulting Numbers: [111] 111,55 unequal: No Solution Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 50*61=3050, Resulting Numbers: [3050] 3050,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 55:[66, 10], Operations: ['22-17=5', '50/5=10'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,55 unequal: No Solution Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 55:[66, 45], Operations: ['22-17=5', '50-5=45'] Exploring Operation: 66*45=2970, Resulting Numbers: [2970] 2970,55 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 66+45=111, Resulting Numbers: [111] 111,55 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: 55:[22, 17, 16], Operations: ['66-50=16'] Exploring Operation: 22-16=6, Resulting Numbers: [17, 6] Generated Node #0,1,0: 55:[17, 6] Operation: 22-16=6 Exploring Operation: 17-16=1, Resulting Numbers: [22, 1] Generated Node #0,1,1: 55:[22, 1] Operation: 17-16=1 Exploring Operation: 22-17=5, Resulting Numbers: [16, 5] Generated Node #0,1,2: 55:[16, 5] Operation: 22-17=5 Exploring Operation: 22+16=38, Resulting Numbers: [17, 38] Generated Node #0,1,3: 55:[17, 38] Operation: 22+16=38 Exploring Operation: 22+17=39, Resulting Numbers: [16, 39] Generated Node #0,1,4: 55:[16, 39] Operation: 22+17=39 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[16, 5], Operations: ['66-50=16', '22-17=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,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,0 Current State: 55:[17, 6], Operations: ['66-50=16', '22-16=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,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:[22, 1], Operations: ['66-50=16', '17-16=1'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,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,4 Current State: 55:[16, 39], Operations: ['66-50=16', '22+17=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,55 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[50, 22, 17, 66], Operations: [] Exploring Operation: 66-50=16, Resulting Numbers: [22, 17, 16] Generated Node #0,1: 55:[22, 17, 16] Operation: 66-50=16 Moving to Node #0,1 Current State: 55:[22, 17, 16], Operations: ['66-50=16'] Exploring Operation: 22+17=39, Resulting Numbers: [16, 39] Generated Node #0,1,4: 55:[16, 39] Operation: 22+17=39 Moving to Node #0,1,4 Current State: 55:[16, 39], Operations: ['66-50=16', '22+17=39'] Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_5
sum_heuristic
[ 32, 49, 53, 60 ]
88
[ "32+49=81", "60-53=7", "81+7=88" ]
Current State: 88:[32, 49, 53, 60], Operations: [] Exploring Operation: 32+49=81, Resulting Numbers: [53, 60, 81] Generated Node #2: [53, 60, 81] from Operation: 32+49=81 Current State: 88:[53, 60, 81], Operations: ['32+49=81'] Exploring Operation: 60-53=7, Resulting Numbers: [81, 7] Generated Node #3: [81, 7] from Operation: 60-53=7 Current State: 88:[81, 7], Operations: ['32+49=81', '60-53=7'] Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[32, 49, 53, 60], Operations: [] Exploring Operation: 60-53=7, Resulting Numbers: [32, 49, 7] Generated Node #0,0: 88:[32, 49, 7] Operation: 60-53=7 Exploring Operation: 32+60=92, Resulting Numbers: [49, 53, 92] Generated Node #0,1: 88:[49, 53, 92] Operation: 32+60=92 Moving to Node #0,0 Current State: 88:[32, 49, 7], Operations: ['60-53=7'] Exploring Operation: 32+49=81, Resulting Numbers: [7, 81] Generated Node #0,0,0: 88:[7, 81] Operation: 32+49=81 Exploring Operation: 49-32=17, Resulting Numbers: [7, 17] Generated Node #0,0,1: 88:[7, 17] Operation: 49-32=17 Moving to Node #0,1 Current State: 88:[49, 53, 92], Operations: ['32+60=92'] Exploring Operation: 53-49=4, Resulting Numbers: [92, 4] Generated Node #0,1,0: 88:[92, 4] Operation: 53-49=4 Exploring Operation: 92-49=43, Resulting Numbers: [53, 43] Generated Node #0,1,1: 88:[53, 43] Operation: 92-49=43 Moving to Node #0,1,0 Current State: 88:[92, 4], Operations: ['32+60=92', '53-49=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[32, 49, 53, 60], Operations: [] Exploring Operation: 32+60=92, Resulting Numbers: [49, 53, 92] Generated Node #0,1: 88:[49, 53, 92] Operation: 32+60=92 Moving to Node #0,1 Current State: 88:[49, 53, 92], Operations: ['32+60=92'] Exploring Operation: 53-49=4, Resulting Numbers: [92, 4] Generated Node #0,1,0: 88:[92, 4] Operation: 53-49=4 Moving to Node #0,1,0 Current State: 88:[92, 4], Operations: ['32+60=92', '53-49=4'] Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 93, 3, 65, 60 ]
34
[ "93-60=33", "3*33=99", "99-65=34" ]
Current State: 34:[93, 3, 65, 60], Operations: [] Exploring Operation: 93-60=33, Resulting Numbers: [3, 65, 33] Generated Node #2: [3, 65, 33] from Operation: 93-60=33 Current State: 34:[3, 65, 33], Operations: ['93-60=33'] Exploring Operation: 3*33=99, Resulting Numbers: [65, 99] Generated Node #3: [65, 99] from Operation: 3*33=99 Current State: 34:[65, 99], Operations: ['93-60=33', '3*33=99'] Exploring Operation: 99-65=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[93, 3, 65, 60], Operations: [] Exploring Operation: 93-65=28, Resulting Numbers: [3, 60, 28] Generated Node #0,0: 34:[3, 60, 28] Operation: 93-65=28 Moving to Node #0,0 Current State: 34:[3, 60, 28], Operations: ['93-65=28'] Exploring Operation: 60-28=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 34:[3, 32] Operation: 60-28=32 Moving to Node #0,0,0 Current State: 34:[3, 32], Operations: ['93-65=28', '60-28=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,34 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 79, 74, 63, 31 ]
10
[ "79+31=110", "74-63=11", "110/11=10" ]
Current State: 10:[79, 74, 63, 31], Operations: [] Exploring Operation: 79+31=110, Resulting Numbers: [74, 63, 110] Generated Node #2: [74, 63, 110] from Operation: 79+31=110 Current State: 10:[74, 63, 110], Operations: ['79+31=110'] Exploring Operation: 74-63=11, Resulting Numbers: [110, 11] Generated Node #3: [110, 11] from Operation: 74-63=11 Current State: 10:[110, 11], Operations: ['79+31=110', '74-63=11'] Exploring Operation: 110/11=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[79, 74, 63, 31], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [79, 31, 11] Generated Node #0,0: 10:[79, 31, 11] Operation: 74-63=11 Exploring Operation: 79-74=5, Resulting Numbers: [63, 31, 5] Generated Node #0,1: 10:[63, 31, 5] Operation: 79-74=5 Exploring Operation: 79-63=16, Resulting Numbers: [74, 31, 16] Generated Node #0,2: 10:[74, 31, 16] Operation: 79-63=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[63, 31, 5], Operations: ['79-74=5'] Exploring Operation: 31-5=26, Resulting Numbers: [63, 26] Generated Node #0,1,0: 10:[63, 26] Operation: 31-5=26 Exploring Operation: 63-5=58, Resulting Numbers: [31, 58] Generated Node #0,1,1: 10:[31, 58] Operation: 63-5=58 Exploring Operation: 63-31=32, Resulting Numbers: [5, 32] Generated Node #0,1,2: 10:[5, 32] Operation: 63-31=32 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 10:[5, 32], Operations: ['79-74=5', '63-31=32'] Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,10 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 10:[63, 26], Operations: ['79-74=5', '31-5=26'] Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,10 unequal: No Solution Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,10 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[31, 58], Operations: ['79-74=5', '63-5=58'] Exploring Operation: 31*58=1798, Resulting Numbers: [1798] 1798,10 unequal: No Solution Exploring Operation: 31+58=89, Resulting Numbers: [89] 89,10 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[79, 31, 11], Operations: ['74-63=11'] Exploring Operation: 79-31=48, Resulting Numbers: [11, 48] Generated Node #0,0,0: 10:[11, 48] Operation: 79-31=48 Exploring Operation: 79-11=68, Resulting Numbers: [31, 68] Generated Node #0,0,1: 10:[31, 68] Operation: 79-11=68 Exploring Operation: 31-11=20, Resulting Numbers: [79, 20] Generated Node #0,0,2: 10:[79, 20] Operation: 31-11=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[11, 48], Operations: ['74-63=11', '79-31=48'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[31, 68], Operations: ['74-63=11', '79-11=68'] Exploring Operation: 31*68=2108, Resulting Numbers: [2108] 2108,10 unequal: No Solution Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[79, 20], Operations: ['74-63=11', '31-11=20'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[74, 31, 16], Operations: ['79-63=16'] Exploring Operation: 31-16=15, Resulting Numbers: [74, 15] Generated Node #0,2,0: 10:[74, 15] Operation: 31-16=15 Exploring Operation: 74-16=58, Resulting Numbers: [31, 58] Generated Node #0,2,1: 10:[31, 58] Operation: 74-16=58 Exploring Operation: 74-31=43, Resulting Numbers: [16, 43] Generated Node #0,2,2: 10:[16, 43] Operation: 74-31=43 Moving to Node #0,2,2 Current State: 10:[16, 43], Operations: ['79-63=16', '74-31=43'] Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 16*43=688, Resulting Numbers: [688] 688,10 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[74, 15], Operations: ['79-63=16', '31-16=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,10 unequal: No Solution Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[31, 58], Operations: ['79-63=16', '74-16=58'] Exploring Operation: 31+58=89, Resulting Numbers: [89] 89,10 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 31*58=1798, Resulting Numbers: [1798] 1798,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 73, 19, 69, 80 ]
64
[ "80-73=7", "19*7=133", "133-69=64" ]
Current State: 64:[73, 19, 69, 80], Operations: [] Exploring Operation: 80-73=7, Resulting Numbers: [19, 69, 7] Generated Node #2: [19, 69, 7] from Operation: 80-73=7 Current State: 64:[19, 69, 7], Operations: ['80-73=7'] Exploring Operation: 19*7=133, Resulting Numbers: [69, 133] Generated Node #3: [69, 133] from Operation: 19*7=133 Current State: 64:[69, 133], Operations: ['80-73=7', '19*7=133'] Exploring Operation: 133-69=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[73, 19, 69, 80], Operations: [] Exploring Operation: 80-73=7, Resulting Numbers: [19, 69, 7] Generated Node #0,0: 64:[19, 69, 7] Operation: 80-73=7 Exploring Operation: 73-69=4, Resulting Numbers: [19, 80, 4] Generated Node #0,1: 64:[19, 80, 4] Operation: 73-69=4 Exploring Operation: 80-69=11, Resulting Numbers: [73, 19, 11] Generated Node #0,2: 64:[73, 19, 11] Operation: 80-69=11 Exploring Operation: 80-19=61, Resulting Numbers: [73, 69, 61] Generated Node #0,3: 64:[73, 69, 61] Operation: 80-19=61 Moving to Node #0,0 Current State: 64:[19, 69, 7], Operations: ['80-73=7'] Exploring Operation: 19-7=12, Resulting Numbers: [69, 12] Generated Node #0,0,0: 64:[69, 12] Operation: 19-7=12 Exploring Operation: 69-19=50, Resulting Numbers: [7, 50] Generated Node #0,0,1: 64:[7, 50] Operation: 69-19=50 Exploring Operation: 19+7=26, Resulting Numbers: [69, 26] Generated Node #0,0,2: 64:[69, 26] Operation: 19+7=26 Exploring Operation: 69-7=62, Resulting Numbers: [19, 62] Generated Node #0,0,3: 64:[19, 62] Operation: 69-7=62 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 64:[19, 62], Operations: ['80-73=7', '69-7=62'] Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[69, 12], Operations: ['80-73=7', '19-7=12'] Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,64 unequal: No Solution Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[69, 26], Operations: ['80-73=7', '19+7=26'] Exploring Operation: 69+26=95, Resulting Numbers: [95] 95,64 unequal: No Solution Exploring Operation: 69*26=1794, Resulting Numbers: [1794] 1794,64 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[7, 50], Operations: ['80-73=7', '69-19=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 64:[73, 19, 11], Operations: ['80-69=11'] Exploring Operation: 19-11=8, Resulting Numbers: [73, 8] Generated Node #0,2,0: 64:[73, 8] Operation: 19-11=8 Exploring Operation: 19+11=30, Resulting Numbers: [73, 30] Generated Node #0,2,1: 64:[73, 30] Operation: 19+11=30 Exploring Operation: 73-11=62, Resulting Numbers: [19, 62] Generated Node #0,2,2: 64:[19, 62] Operation: 73-11=62 Exploring Operation: 73-19=54, Resulting Numbers: [11, 54] Generated Node #0,2,3: 64:[11, 54] Operation: 73-19=54 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[19, 62], Operations: ['80-69=11', '73-11=62'] Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,64 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[73, 8], Operations: ['80-69=11', '19-11=8'] Exploring Operation: 73*8=584, Resulting Numbers: [584] 584,64 unequal: No Solution Exploring Operation: 73+8=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[73, 30], Operations: ['80-69=11', '19+11=30'] Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,64 unequal: No Solution Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,64 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[11, 54], Operations: ['80-69=11', '73-19=54'] Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 11+54=65, Resulting Numbers: [65] 65,64 unequal: No Solution Exploring Operation: 11*54=594, Resulting Numbers: [594] 594,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 64:[73, 69, 61], Operations: ['80-19=61'] Exploring Operation: 69-61=8, Resulting Numbers: [73, 8] Generated Node #0,3,0: 64:[73, 8] Operation: 69-61=8 Exploring Operation: 73-69=4, Resulting Numbers: [61, 4] Generated Node #0,3,1: 64:[61, 4] Operation: 73-69=4 Exploring Operation: 73+61=134, Resulting Numbers: [69, 134] Generated Node #0,3,2: 64:[69, 134] Operation: 73+61=134 Exploring Operation: 73-61=12, Resulting Numbers: [69, 12] Generated Node #0,3,3: 64:[69, 12] Operation: 73-61=12 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[61, 4], Operations: ['80-19=61', '73-69=4'] Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,64 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,64 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[73, 8], Operations: ['80-19=61', '69-61=8'] Exploring Operation: 73*8=584, Resulting Numbers: [584] 584,64 unequal: No Solution Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,64 unequal: No Solution Exploring Operation: 73+8=81, Resulting Numbers: [81] 81,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[69, 12], Operations: ['80-19=61', '73-61=12'] Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,64 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[69, 134], Operations: ['80-19=61', '73+61=134'] Exploring Operation: 69+134=203, Resulting Numbers: [203] 203,64 unequal: No Solution Exploring Operation: 69*134=9246, Resulting Numbers: [9246] 9246,64 unequal: No Solution Exploring Operation: 134-69=65, Resulting Numbers: [65] 65,64 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: 64:[19, 80, 4], Operations: ['73-69=4'] Exploring Operation: 80-19=61, Resulting Numbers: [4, 61] Generated Node #0,1,0: 64:[4, 61] Operation: 80-19=61 Exploring Operation: 19-4=15, Resulting Numbers: [80, 15] Generated Node #0,1,1: 64:[80, 15] Operation: 19-4=15 Exploring Operation: 80/4=20, Resulting Numbers: [19, 20] Generated Node #0,1,2: 64:[19, 20] Operation: 80/4=20 Exploring Operation: 80-4=76, Resulting Numbers: [19, 76] Generated Node #0,1,3: 64:[19, 76] Operation: 80-4=76 Moving to Node #0,1,0 Current State: 64:[4, 61], Operations: ['73-69=4', '80-19=61'] Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,64 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,64 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[19, 20], Operations: ['73-69=4', '80/4=20'] Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,64 unequal: No Solution Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[19, 76], Operations: ['73-69=4', '80-4=76'] Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 19*76=1444, Resulting Numbers: [1444] 1444,64 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[80, 15], Operations: ['73-69=4', '19-4=15'] Exploring Operation: 80+15=95, Resulting Numbers: [95] 95,64 unequal: No Solution Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,64 unequal: No Solution Exploring Operation: 80*15=1200, Resulting Numbers: [1200] 1200,64 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 6, 14, 39, 10 ]
51
[ "39*10=390", "390/6=65", "65-14=51" ]
Current State: 51:[6, 14, 39, 10], Operations: [] Exploring Operation: 39*10=390, Resulting Numbers: [6, 14, 390] Generated Node #2: [6, 14, 390] from Operation: 39*10=390 Current State: 51:[6, 14, 390], Operations: ['39*10=390'] Exploring Operation: 390/6=65, Resulting Numbers: [14, 65] Generated Node #3: [14, 65] from Operation: 390/6=65 Current State: 51:[14, 65], Operations: ['39*10=390', '390/6=65'] Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[6, 14, 39, 10], Operations: [] Exploring Operation: 10-6=4, Resulting Numbers: [14, 39, 4] Generated Node #0,0: 51:[14, 39, 4] Operation: 10-6=4 Exploring Operation: 6+10=16, Resulting Numbers: [14, 39, 16] Generated Node #0,1: 51:[14, 39, 16] Operation: 6+10=16 Exploring Operation: 6+39=45, Resulting Numbers: [14, 10, 45] Generated Node #0,2: 51:[14, 10, 45] Operation: 6+39=45 Exploring Operation: 39+10=49, Resulting Numbers: [6, 14, 49] Generated Node #0,3: 51:[6, 14, 49] Operation: 39+10=49 Exploring Operation: 14+39=53, Resulting Numbers: [6, 10, 53] Generated Node #0,4: 51:[6, 10, 53] Operation: 14+39=53 Moving to Node #0,3 Current State: 51:[6, 14, 49], Operations: ['39+10=49'] Exploring Operation: 6+14=20, Resulting Numbers: [49, 20] Generated Node #0,3,0: 51:[49, 20] Operation: 6+14=20 Exploring Operation: 14+49=63, Resulting Numbers: [6, 63] Generated Node #0,3,1: 51:[6, 63] Operation: 14+49=63 Exploring Operation: 49-6=43, Resulting Numbers: [14, 43] Generated Node #0,3,2: 51:[14, 43] Operation: 49-6=43 Exploring Operation: 6+49=55, Resulting Numbers: [14, 55] Generated Node #0,3,3: 51:[14, 55] Operation: 6+49=55 Exploring Operation: 14-6=8, Resulting Numbers: [49, 8] Generated Node #0,3,4: 51:[49, 8] Operation: 14-6=8 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[49, 20], Operations: ['39+10=49', '6+14=20'] Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,51 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 51:[14, 55], Operations: ['39+10=49', '6+49=55'] Exploring Operation: 14+55=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 14*55=770, Resulting Numbers: [770] 770,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 51:[49, 8], Operations: ['39+10=49', '14-6=8'] Exploring Operation: 49*8=392, Resulting Numbers: [392] 392,51 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,51 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 51:[14, 43], Operations: ['39+10=49', '49-6=43'] Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,51 unequal: No Solution Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,51 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 51:[6, 63], Operations: ['39+10=49', '14+49=63'] Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,51 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,51 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: 51:[6, 10, 53], Operations: ['14+39=53'] Exploring Operation: 6+10=16, Resulting Numbers: [53, 16] Generated Node #0,4,0: 51:[53, 16] Operation: 6+10=16 Exploring Operation: 53-10=43, Resulting Numbers: [6, 43] Generated Node #0,4,1: 51:[6, 43] Operation: 53-10=43 Exploring Operation: 6*10=60, Resulting Numbers: [53, 60] Generated Node #0,4,2: 51:[53, 60] Operation: 6*10=60 Exploring Operation: 10-6=4, Resulting Numbers: [53, 4] Generated Node #0,4,3: 51:[53, 4] Operation: 10-6=4 Exploring Operation: 53-6=47, Resulting Numbers: [10, 47] Generated Node #0,4,4: 51:[10, 47] Operation: 53-6=47 Moving to Node #0,0 Current State: 51:[14, 39, 4], Operations: ['10-6=4'] Exploring Operation: 14*4=56, Resulting Numbers: [39, 56] Generated Node #0,0,0: 51:[39, 56] Operation: 14*4=56 Exploring Operation: 39+4=43, Resulting Numbers: [14, 43] Generated Node #0,0,1: 51:[14, 43] Operation: 39+4=43 Exploring Operation: 14+4=18, Resulting Numbers: [39, 18] Generated Node #0,0,2: 51:[39, 18] Operation: 14+4=18 Exploring Operation: 14+39=53, Resulting Numbers: [4, 53] Generated Node #0,0,3: 51:[4, 53] Operation: 14+39=53 Exploring Operation: 39-14=25, Resulting Numbers: [4, 25] Generated Node #0,0,4: 51:[4, 25] Operation: 39-14=25 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 51:[4, 53], Operations: ['10-6=4', '14+39=53'] Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,51 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,51 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 51:[4, 25], Operations: ['10-6=4', '39-14=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[14, 43], Operations: ['10-6=4', '39+4=43'] Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,51 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[39, 18], Operations: ['10-6=4', '14+4=18'] Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,51 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[39, 56], Operations: ['10-6=4', '14*4=56'] Exploring Operation: 39+56=95, Resulting Numbers: [95] 95,51 unequal: No Solution Exploring Operation: 39*56=2184, Resulting Numbers: [2184] 2184,51 unequal: No Solution Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,51 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: 51:[14, 39, 16], Operations: ['6+10=16'] Exploring Operation: 39-16=23, Resulting Numbers: [14, 23] Generated Node #0,1,0: 51:[14, 23] Operation: 39-16=23 Exploring Operation: 39-14=25, Resulting Numbers: [16, 25] Generated Node #0,1,1: 51:[16, 25] Operation: 39-14=25 Exploring Operation: 14+39=53, Resulting Numbers: [16, 53] Generated Node #0,1,2: 51:[16, 53] Operation: 14+39=53 Exploring Operation: 39+16=55, Resulting Numbers: [14, 55] Generated Node #0,1,3: 51:[14, 55] Operation: 39+16=55 Exploring Operation: 16-14=2, Resulting Numbers: [39, 2] Generated Node #0,1,4: 51:[39, 2] Operation: 16-14=2 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 51:[16, 53], Operations: ['6+10=16', '14+39=53'] Exploring Operation: 16*53=848, Resulting Numbers: [848] 848,51 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 51:[14, 55], Operations: ['6+10=16', '39+16=55'] Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 14*55=770, Resulting Numbers: [770] 770,51 unequal: No Solution Exploring Operation: 14+55=69, Resulting Numbers: [69] 69,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[14, 23], Operations: ['6+10=16', '39-16=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,51 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[16, 25], Operations: ['6+10=16', '39-14=25'] Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 51:[39, 2], Operations: ['6+10=16', '16-14=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,51 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: 51:[14, 10, 45], Operations: ['6+39=45'] Exploring Operation: 14-10=4, Resulting Numbers: [45, 4] Generated Node #0,2,0: 51:[45, 4] Operation: 14-10=4 Exploring Operation: 45-10=35, Resulting Numbers: [14, 35] Generated Node #0,2,1: 51:[14, 35] Operation: 45-10=35 Exploring Operation: 14+45=59, Resulting Numbers: [10, 59] Generated Node #0,2,2: 51:[10, 59] Operation: 14+45=59 Exploring Operation: 14+10=24, Resulting Numbers: [45, 24] Generated Node #0,2,3: 51:[45, 24] Operation: 14+10=24 Exploring Operation: 10+45=55, Resulting Numbers: [14, 55] Generated Node #0,2,4: 51:[14, 55] Operation: 10+45=55 Moving to Node #0,4,0 Current State: 51:[53, 16], Operations: ['14+39=53', '6+10=16'] Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,51 unequal: No Solution Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[53, 4], Operations: ['14+39=53', '10-6=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,51 unequal: No Solution Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[45, 4], Operations: ['6+39=45', '14-10=4'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,51 unequal: No Solution Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,51 unequal: No Solution Moving to Node #0,2,4 Current State: 51:[14, 55], Operations: ['6+39=45', '10+45=55'] Exploring Operation: 14*55=770, Resulting Numbers: [770] 770,51 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 14+55=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,4,1 Current State: 51:[6, 43], Operations: ['14+39=53', '53-10=43'] Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,51 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,51 unequal: No Solution Moving to Node #0,4,4 Current State: 51:[10, 47], Operations: ['14+39=53', '53-6=47'] Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 10*47=470, Resulting Numbers: [470] 470,51 unequal: No Solution Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,51 unequal: No Solution Moving to Node #0,4,2 Current State: 51:[53, 60], Operations: ['14+39=53', '6*10=60'] Exploring Operation: 53+60=113, Resulting Numbers: [113] 113,51 unequal: No Solution Exploring Operation: 53*60=3180, Resulting Numbers: [3180] 3180,51 unequal: No Solution Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[45, 24], Operations: ['6+39=45', '14+10=24'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,51 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[10, 59], Operations: ['6+39=45', '14+45=59'] Exploring Operation: 10+59=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 10*59=590, Resulting Numbers: [590] 590,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[14, 35], Operations: ['6+39=45', '45-10=35'] Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,51 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,51 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 26, 36, 8, 38 ]
54
[ "38-26=12", "36*12=432", "432/8=54" ]
Current State: 54:[26, 36, 8, 38], Operations: [] Exploring Operation: 38-26=12, Resulting Numbers: [36, 8, 12] Generated Node #2: [36, 8, 12] from Operation: 38-26=12 Current State: 54:[36, 8, 12], Operations: ['38-26=12'] Exploring Operation: 36*12=432, Resulting Numbers: [8, 432] Generated Node #3: [8, 432] from Operation: 36*12=432 Current State: 54:[8, 432], Operations: ['38-26=12', '36*12=432'] Exploring Operation: 432/8=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[26, 36, 8, 38], Operations: [] Exploring Operation: 36-8=28, Resulting Numbers: [26, 38, 28] Generated Node #0,0: 54:[26, 38, 28] Operation: 36-8=28 Exploring Operation: 38-26=12, Resulting Numbers: [36, 8, 12] Generated Node #0,1: 54:[36, 8, 12] Operation: 38-26=12 Exploring Operation: 36-26=10, Resulting Numbers: [8, 38, 10] Generated Node #0,2: 54:[8, 38, 10] Operation: 36-26=10 Exploring Operation: 38-36=2, Resulting Numbers: [26, 8, 2] Generated Node #0,3: 54:[26, 8, 2] Operation: 38-36=2 Moving to Node #0,3 Current State: 54:[26, 8, 2], Operations: ['38-36=2'] Exploring Operation: 8-2=6, Resulting Numbers: [26, 6] Generated Node #0,3,0: 54:[26, 6] Operation: 8-2=6 Exploring Operation: 8+2=10, Resulting Numbers: [26, 10] Generated Node #0,3,1: 54:[26, 10] Operation: 8+2=10 Exploring Operation: 26-8=18, Resulting Numbers: [2, 18] Generated Node #0,3,2: 54:[2, 18] Operation: 26-8=18 Exploring Operation: 26+2=28, Resulting Numbers: [8, 28] Generated Node #0,3,3: 54:[8, 28] Operation: 26+2=28 Moving to Node #0,1 Current State: 54:[36, 8, 12], Operations: ['38-26=12'] Exploring Operation: 36+12=48, Resulting Numbers: [8, 48] Generated Node #0,1,0: 54:[8, 48] Operation: 36+12=48 Exploring Operation: 36/12=3, Resulting Numbers: [8, 3] Generated Node #0,1,1: 54:[8, 3] Operation: 36/12=3 Exploring Operation: 36-8=28, Resulting Numbers: [12, 28] Generated Node #0,1,2: 54:[12, 28] Operation: 36-8=28 Exploring Operation: 36-12=24, Resulting Numbers: [8, 24] Generated Node #0,1,3: 54:[8, 24] Operation: 36-12=24 Moving to Node #0,0 Current State: 54:[26, 38, 28], Operations: ['36-8=28'] Exploring Operation: 26+28=54, Resulting Numbers: [38, 54] Generated Node #0,0,0: 54:[38, 54] Operation: 26+28=54 Exploring Operation: 26+38=64, Resulting Numbers: [28, 64] Generated Node #0,0,1: 54:[28, 64] Operation: 26+38=64 Exploring Operation: 38-28=10, Resulting Numbers: [26, 10] Generated Node #0,0,2: 54:[26, 10] Operation: 38-28=10 Exploring Operation: 38-26=12, Resulting Numbers: [28, 12] Generated Node #0,0,3: 54:[28, 12] Operation: 38-26=12 Moving to Node #0,2 Current State: 54:[8, 38, 10], Operations: ['36-26=10'] Exploring Operation: 38-8=30, Resulting Numbers: [10, 30] Generated Node #0,2,0: 54:[10, 30] Operation: 38-8=30 Exploring Operation: 8+38=46, Resulting Numbers: [10, 46] Generated Node #0,2,1: 54:[10, 46] Operation: 8+38=46 Exploring Operation: 38-10=28, Resulting Numbers: [8, 28] Generated Node #0,2,2: 54:[8, 28] Operation: 38-10=28 Exploring Operation: 38+10=48, Resulting Numbers: [8, 48] Generated Node #0,2,3: 54:[8, 48] Operation: 38+10=48 Moving to Node #0,3,2 Current State: 54:[2, 18], Operations: ['38-36=2', '26-8=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,54 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,54 unequal: No Solution Moving to Node #0,3,0 Current State: 54:[26, 6], Operations: ['38-36=2', '8-2=6'] Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,54 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,54 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[8, 3], Operations: ['38-26=12', '36/12=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,54 unequal: No Solution Moving to Node #0,3,1 Current State: 54:[26, 10], Operations: ['38-36=2', '8+2=10'] Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,54 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,54 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[8, 28], Operations: ['36-26=10', '38-10=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,54 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[8, 28], Operations: ['38-36=2', '26+2=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,54 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[26, 10], Operations: ['36-8=28', '38-28=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,54 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[8, 24], Operations: ['38-26=12', '36-12=24'] Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,54 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[10, 30], Operations: ['36-26=10', '38-8=30'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 10*30=300, Resulting Numbers: [300] 300,54 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[12, 28], Operations: ['38-26=12', '36-8=28'] Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,54 unequal: No Solution Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[28, 12], Operations: ['36-8=28', '38-26=12'] Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,54 unequal: No Solution Exploring Operation: 28*12=336, Resulting Numbers: [336] 336,54 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[8, 48], Operations: ['38-26=12', '36+12=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,54 unequal: No Solution Exploring Operation: 8*48=384, Resulting Numbers: [384] 384,54 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[8, 48], Operations: ['36-26=10', '38+10=48'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 8*48=384, Resulting Numbers: [384] 384,54 unequal: No Solution Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[10, 46], Operations: ['36-26=10', '8+38=46'] Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 10*46=460, Resulting Numbers: [460] 460,54 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[38, 54], Operations: ['36-8=28', '26+28=54'] Exploring Operation: 38+54=92, Resulting Numbers: [92] 92,54 unequal: No Solution Exploring Operation: 38*54=2052, Resulting Numbers: [2052] 2052,54 unequal: No Solution Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[28, 64], Operations: ['36-8=28', '26+38=64'] Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,54 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,54 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,54 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 37, 17, 5, 8 ]
41
[ "37+17=54", "5+8=13", "54-13=41" ]
Current State: 41:[37, 17, 5, 8], Operations: [] Exploring Operation: 37+17=54, Resulting Numbers: [5, 8, 54] Generated Node #2: [5, 8, 54] from Operation: 37+17=54 Current State: 41:[5, 8, 54], Operations: ['37+17=54'] Exploring Operation: 5+8=13, Resulting Numbers: [54, 13] Generated Node #3: [54, 13] from Operation: 5+8=13 Current State: 41:[54, 13], Operations: ['37+17=54', '5+8=13'] Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[37, 17, 5, 8], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [37, 17, 40] Generated Node #0,0: 41:[37, 17, 40] Operation: 5*8=40 Moving to Node #0,0 Current State: 41:[37, 17, 40], Operations: ['5*8=40'] Exploring Operation: 37+17=54, Resulting Numbers: [40, 54] Generated Node #0,0,0: 41:[40, 54] Operation: 37+17=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[40, 54], Operations: ['5*8=40', '37+17=54'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 16, 14, 85, 32 ]
57
[ "32/16=2", "14*2=28", "85-28=57" ]
Current State: 57:[16, 14, 85, 32], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [14, 85, 2] Generated Node #2: [14, 85, 2] from Operation: 32/16=2 Current State: 57:[14, 85, 2], Operations: ['32/16=2'] Exploring Operation: 14*2=28, Resulting Numbers: [85, 28] Generated Node #3: [85, 28] from Operation: 14*2=28 Current State: 57:[85, 28], Operations: ['32/16=2', '14*2=28'] Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[16, 14, 85, 32], Operations: [] Exploring Operation: 85-16=69, Resulting Numbers: [14, 32, 69] Generated Node #0,0: 57:[14, 32, 69] Operation: 85-16=69 Exploring Operation: 85-32=53, Resulting Numbers: [16, 14, 53] Generated Node #0,1: 57:[16, 14, 53] Operation: 85-32=53 Moving to Node #0,1 Current State: 57:[16, 14, 53], Operations: ['85-32=53'] Exploring Operation: 14+53=67, Resulting Numbers: [16, 67] Generated Node #0,1,0: 57:[16, 67] Operation: 14+53=67 Exploring Operation: 16-14=2, Resulting Numbers: [53, 2] Generated Node #0,1,1: 57:[53, 2] Operation: 16-14=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[53, 2], Operations: ['85-32=53', '16-14=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[16, 67], Operations: ['85-32=53', '14+53=67'] Exploring Operation: 16+67=83, Resulting Numbers: [83] 83,57 unequal: No Solution Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 57:[14, 32, 69], Operations: ['85-16=69'] Exploring Operation: 32-14=18, Resulting Numbers: [69, 18] Generated Node #0,0,0: 57:[69, 18] Operation: 32-14=18 Exploring Operation: 69-14=55, Resulting Numbers: [32, 55] Generated Node #0,0,1: 57:[32, 55] Operation: 69-14=55 Moving to Node #0,0,0 Current State: 57:[69, 18], Operations: ['85-16=69', '32-14=18'] Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[32, 55], Operations: ['85-16=69', '69-14=55'] Exploring Operation: 32+55=87, Resulting Numbers: [87] 87,57 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,57 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 52, 34, 23, 8 ]
55
[ "52+34=86", "23+8=31", "86-31=55" ]
Current State: 55:[52, 34, 23, 8], Operations: [] Exploring Operation: 52+34=86, Resulting Numbers: [23, 8, 86] Generated Node #2: [23, 8, 86] from Operation: 52+34=86 Current State: 55:[23, 8, 86], Operations: ['52+34=86'] Exploring Operation: 23+8=31, Resulting Numbers: [86, 31] Generated Node #3: [86, 31] from Operation: 23+8=31 Current State: 55:[86, 31], Operations: ['52+34=86', '23+8=31'] Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[52, 34, 23, 8], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [52, 8, 11] Generated Node #0,0: 55:[52, 8, 11] Operation: 34-23=11 Exploring Operation: 52-34=18, Resulting Numbers: [23, 8, 18] Generated Node #0,1: 55:[23, 8, 18] Operation: 52-34=18 Exploring Operation: 34+23=57, Resulting Numbers: [52, 8, 57] Generated Node #0,2: 55:[52, 8, 57] Operation: 34+23=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[52, 8, 11], Operations: ['34-23=11'] Exploring Operation: 52+8=60, Resulting Numbers: [11, 60] Generated Node #0,0,0: 55:[11, 60] Operation: 52+8=60 Exploring Operation: 11-8=3, Resulting Numbers: [52, 3] Generated Node #0,0,1: 55:[52, 3] Operation: 11-8=3 Exploring Operation: 52-8=44, Resulting Numbers: [11, 44] Generated Node #0,0,2: 55:[11, 44] Operation: 52-8=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[11, 60], Operations: ['34-23=11', '52+8=60'] Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 11*60=660, Resulting Numbers: [660] 660,55 unequal: No Solution Exploring Operation: 11+60=71, Resulting Numbers: [71] 71,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[52, 3], Operations: ['34-23=11', '11-8=3'] Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[52, 34, 23, 8], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [52, 8, 11] Generated Node #0,0: 55:[52, 8, 11] Operation: 34-23=11 Moving to Node #0,0 Current State: 55:[52, 8, 11], Operations: ['34-23=11'] Exploring Operation: 11-8=3, Resulting Numbers: [52, 3] Generated Node #0,0,1: 55:[52, 3] Operation: 11-8=3 Moving to Node #0,0,1 Current State: 55:[52, 3], Operations: ['34-23=11', '11-8=3'] Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 78, 89, 90, 89 ]
78
[ "89-89=0", "90*0=0", "78+0=78" ]
Current State: 78:[78, 89, 90, 89], Operations: [] Exploring Operation: 89-89=0, Resulting Numbers: [78, 90, 0] Generated Node #2: [78, 90, 0] from Operation: 89-89=0 Current State: 78:[78, 90, 0], Operations: ['89-89=0'] Exploring Operation: 90*0=0, Resulting Numbers: [78, 0] Generated Node #3: [78, 0] from Operation: 90*0=0 Current State: 78:[78, 0], Operations: ['89-89=0', '90*0=0'] Exploring Operation: 78+0=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[78, 89, 90, 89], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [78, 89, 1] Generated Node #0,0: 78:[78, 89, 1] Operation: 90-89=1 Exploring Operation: 89/89=1, Resulting Numbers: [78, 90, 1] Generated Node #0,1: 78:[78, 90, 1] Operation: 89/89=1 Exploring Operation: 89-89=0, Resulting Numbers: [78, 90, 0] Generated Node #0,2: 78:[78, 90, 0] Operation: 89-89=0 Exploring Operation: 90-89=1, Resulting Numbers: [78, 89, 1] Generated Node #0,3: 78:[78, 89, 1] Operation: 90-89=1 Moving to Node #0,0 Current State: 78:[78, 89, 1], Operations: ['90-89=1'] Exploring Operation: 78/1=78, Resulting Numbers: [89, 78] Generated Node #0,0,0: 78:[89, 78] Operation: 78/1=78 Exploring Operation: 78*1=78, Resulting Numbers: [89, 78] Generated Node #0,0,1: 78:[89, 78] Operation: 78*1=78 Exploring Operation: 89-1=88, Resulting Numbers: [78, 88] Generated Node #0,0,2: 78:[78, 88] Operation: 89-1=88 Exploring Operation: 89-78=11, Resulting Numbers: [1, 11] Generated Node #0,0,3: 78:[1, 11] Operation: 89-78=11 Moving to Node #0,3 Current State: 78:[78, 89, 1], Operations: ['90-89=1'] Exploring Operation: 78/1=78, Resulting Numbers: [89, 78] Generated Node #0,3,0: 78:[89, 78] Operation: 78/1=78 Exploring Operation: 89-1=88, Resulting Numbers: [78, 88] Generated Node #0,3,1: 78:[78, 88] Operation: 89-1=88 Exploring Operation: 78*1=78, Resulting Numbers: [89, 78] Generated Node #0,3,2: 78:[89, 78] Operation: 78*1=78 Exploring Operation: 89-78=11, Resulting Numbers: [1, 11] Generated Node #0,3,3: 78:[1, 11] Operation: 89-78=11 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 78:[1, 11], Operations: ['90-89=1', '89-78=11'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 78:[78, 88], Operations: ['90-89=1', '89-1=88'] Exploring Operation: 78+88=166, Resulting Numbers: [166] 166,78 unequal: No Solution Exploring Operation: 78*88=6864, Resulting Numbers: [6864] 6864,78 unequal: No Solution Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 78:[89, 78], Operations: ['90-89=1', '78/1=78'] Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 89*78=6942, Resulting Numbers: [6942] 6942,78 unequal: No Solution Exploring Operation: 89+78=167, Resulting Numbers: [167] 167,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 78:[89, 78], Operations: ['90-89=1', '78*1=78'] Exploring Operation: 89+78=167, Resulting Numbers: [167] 167,78 unequal: No Solution Exploring Operation: 89*78=6942, Resulting Numbers: [6942] 6942,78 unequal: No Solution Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 78:[78, 90, 1], Operations: ['89/89=1'] Exploring Operation: 90-1=89, Resulting Numbers: [78, 89] Generated Node #0,1,0: 78:[78, 89] Operation: 90-1=89 Exploring Operation: 78/1=78, Resulting Numbers: [90, 78] Generated Node #0,1,1: 78:[90, 78] Operation: 78/1=78 Exploring Operation: 90-78=12, Resulting Numbers: [1, 12] Generated Node #0,1,2: 78:[1, 12] Operation: 90-78=12 Exploring Operation: 78*1=78, Resulting Numbers: [90, 78] Generated Node #0,1,3: 78:[90, 78] Operation: 78*1=78 Moving to Node #0,2 Current State: 78:[78, 90, 0], Operations: ['89-89=0'] Exploring Operation: 78-0=78, Resulting Numbers: [90, 78] Generated Node #0,2,0: 78:[90, 78] Operation: 78-0=78 Exploring Operation: 90*0=0, Resulting Numbers: [78, 0] Generated Node #0,2,1: 78:[78, 0] Operation: 90*0=0 Exploring Operation: 90-78=12, Resulting Numbers: [0, 12] Generated Node #0,2,2: 78:[0, 12] Operation: 90-78=12 Exploring Operation: 78+0=78, Resulting Numbers: [90, 78] Generated Node #0,2,3: 78:[90, 78] Operation: 78+0=78 Moving to Node #0,1,2 Current State: 78:[1, 12], Operations: ['89/89=1', '90-78=12'] Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[78, 0], Operations: ['89-89=0', '90*0=0'] Exploring Operation: 78*0=0, Resulting Numbers: [0] 0,78 unequal: No Solution Exploring Operation: 78+0=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[78, 89, 90, 89], Operations: [] Exploring Operation: 89-89=0, Resulting Numbers: [78, 90, 0] Generated Node #0,2: 78:[78, 90, 0] Operation: 89-89=0 Moving to Node #0,2 Current State: 78:[78, 90, 0], Operations: ['89-89=0'] Exploring Operation: 90*0=0, Resulting Numbers: [78, 0] Generated Node #0,2,1: 78:[78, 0] Operation: 90*0=0 Moving to Node #0,2,1 Current State: 78:[78, 0], Operations: ['89-89=0', '90*0=0'] Exploring Operation: 78+0=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.962674
hs_4
mult_heuristic
[ 93, 76, 9, 96 ]
87
[ "96-76=20", "9*20=180", "180-93=87" ]
Current State: 87:[93, 76, 9, 96], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [93, 9, 20] Generated Node #2: [93, 9, 20] from Operation: 96-76=20 Current State: 87:[93, 9, 20], Operations: ['96-76=20'] Exploring Operation: 9*20=180, Resulting Numbers: [93, 180] Generated Node #3: [93, 180] from Operation: 9*20=180 Current State: 87:[93, 180], Operations: ['96-76=20', '9*20=180'] Exploring Operation: 180-93=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[93, 76, 9, 96], Operations: [] Exploring Operation: 96-9=87, Resulting Numbers: [93, 76, 87] Generated Node #0,0: 87:[93, 76, 87] Operation: 96-9=87 Exploring Operation: 96-76=20, Resulting Numbers: [93, 9, 20] Generated Node #0,1: 87:[93, 9, 20] Operation: 96-76=20 Exploring Operation: 76+9=85, Resulting Numbers: [93, 96, 85] Generated Node #0,2: 87:[93, 96, 85] Operation: 76+9=85 Exploring Operation: 96-93=3, Resulting Numbers: [76, 9, 3] Generated Node #0,3: 87:[76, 9, 3] Operation: 96-93=3 Moving to Node #0,0 Current State: 87:[93, 76, 87], Operations: ['96-9=87'] Exploring Operation: 87-76=11, Resulting Numbers: [93, 11] Generated Node #0,0,0: 87:[93, 11] Operation: 87-76=11 Exploring Operation: 93-87=6, Resulting Numbers: [76, 6] Generated Node #0,0,1: 87:[76, 6] Operation: 93-87=6 Exploring Operation: 93+76=169, Resulting Numbers: [87, 169] Generated Node #0,0,2: 87:[87, 169] Operation: 93+76=169 Exploring Operation: 93-76=17, Resulting Numbers: [87, 17] Generated Node #0,0,3: 87:[87, 17] Operation: 93-76=17 Moving to Node #0,3 Current State: 87:[76, 9, 3], Operations: ['96-93=3'] Exploring Operation: 9*3=27, Resulting Numbers: [76, 27] Generated Node #0,3,0: 87:[76, 27] Operation: 9*3=27 Exploring Operation: 76+9=85, Resulting Numbers: [3, 85] Generated Node #0,3,1: 87:[3, 85] Operation: 76+9=85 Exploring Operation: 76+3=79, Resulting Numbers: [9, 79] Generated Node #0,3,2: 87:[9, 79] Operation: 76+3=79 Exploring Operation: 9/3=3, Resulting Numbers: [76, 3] Generated Node #0,3,3: 87:[76, 3] Operation: 9/3=3 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 87:[3, 85], Operations: ['96-93=3', '76+9=85'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,87 unequal: No Solution Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,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,3 Current State: 87:[76, 3], Operations: ['96-93=3', '9/3=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,87 unequal: No Solution Exploring Operation: 76+3=79, Resulting Numbers: [79] 79,87 unequal: No Solution Exploring Operation: 76*3=228, Resulting Numbers: [228] 228,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:[76, 27], Operations: ['96-93=3', '9*3=27'] Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 76+27=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 76*27=2052, Resulting Numbers: [2052] 2052,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:[9, 79], Operations: ['96-93=3', '76+3=79'] Exploring Operation: 9*79=711, Resulting Numbers: [711] 711,87 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 9+79=88, Resulting Numbers: [88] 88,87 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: 87:[93, 96, 85], Operations: ['76+9=85'] Exploring Operation: 93+85=178, Resulting Numbers: [96, 178] Generated Node #0,2,0: 87:[96, 178] Operation: 93+85=178 Exploring Operation: 96-93=3, Resulting Numbers: [85, 3] Generated Node #0,2,1: 87:[85, 3] Operation: 96-93=3 Exploring Operation: 96-85=11, Resulting Numbers: [93, 11] Generated Node #0,2,2: 87:[93, 11] Operation: 96-85=11 Exploring Operation: 93-85=8, Resulting Numbers: [96, 8] Generated Node #0,2,3: 87:[96, 8] Operation: 93-85=8 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[85, 3], Operations: ['76+9=85', '96-93=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,87 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,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,2 Current State: 87:[93, 11], Operations: ['76+9=85', '96-85=11'] Exploring Operation: 93+11=104, Resulting Numbers: [104] 104,87 unequal: No Solution Exploring Operation: 93*11=1023, Resulting Numbers: [1023] 1023,87 unequal: No Solution Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,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,3 Current State: 87:[96, 8], Operations: ['76+9=85', '93-85=8'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 96*8=768, Resulting Numbers: [768] 768,87 unequal: No Solution Exploring Operation: 96+8=104, Resulting Numbers: [104] 104,87 unequal: No Solution Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,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,0 Current State: 87:[96, 178], Operations: ['76+9=85', '93+85=178'] Exploring Operation: 96+178=274, Resulting Numbers: [274] 274,87 unequal: No Solution Exploring Operation: 96*178=17088, Resulting Numbers: [17088] 17088,87 unequal: No Solution Exploring Operation: 178-96=82, Resulting Numbers: [82] 82,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, 9, 20], Operations: ['96-76=20'] Exploring Operation: 93-20=73, Resulting Numbers: [9, 73] Generated Node #0,1,0: 87:[9, 73] Operation: 93-20=73 Exploring Operation: 93-9=84, Resulting Numbers: [20, 84] Generated Node #0,1,1: 87:[20, 84] Operation: 93-9=84 Exploring Operation: 9+20=29, Resulting Numbers: [93, 29] Generated Node #0,1,2: 87:[93, 29] Operation: 9+20=29 Exploring Operation: 20-9=11, Resulting Numbers: [93, 11] Generated Node #0,1,3: 87:[93, 11] Operation: 20-9=11 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[93, 29], Operations: ['96-76=20', '9+20=29'] Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 93*29=2697, Resulting Numbers: [2697] 2697,87 unequal: No Solution Exploring Operation: 93+29=122, Resulting Numbers: [122] 122,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[20, 84], Operations: ['96-76=20', '93-9=84'] Exploring Operation: 20+84=104, Resulting Numbers: [104] 104,87 unequal: No Solution Exploring Operation: 20*84=1680, Resulting Numbers: [1680] 1680,87 unequal: No Solution Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 87:[93, 11], Operations: ['96-76=20', '20-9=11'] Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 93+11=104, Resulting Numbers: [104] 104,87 unequal: No Solution Exploring Operation: 93*11=1023, Resulting Numbers: [1023] 1023,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[9, 73], Operations: ['96-76=20', '93-20=73'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 9*73=657, Resulting Numbers: [657] 657,87 unequal: No Solution Exploring Operation: 9+73=82, Resulting Numbers: [82] 82,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 87:[87, 17], Operations: ['96-9=87', '93-76=17'] Exploring Operation: 87*17=1479, Resulting Numbers: [1479] 1479,87 unequal: No Solution Exploring Operation: 87+17=104, Resulting Numbers: [104] 104,87 unequal: No Solution Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[76, 6], Operations: ['96-9=87', '93-87=6'] Exploring Operation: 76+6=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 76*6=456, Resulting Numbers: [456] 456,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[93, 11], Operations: ['96-9=87', '87-76=11'] Exploring Operation: 93+11=104, Resulting Numbers: [104] 104,87 unequal: No Solution Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 93*11=1023, Resulting Numbers: [1023] 1023,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[87, 169], Operations: ['96-9=87', '93+76=169'] Exploring Operation: 87*169=14703, Resulting Numbers: [14703] 14703,87 unequal: No Solution Exploring Operation: 169-87=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 87+169=256, Resulting Numbers: [256] 256,87 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 15, 8, 19, 23 ]
83
[ "23-15=8", "8*8=64", "19+64=83" ]
Current State: 83:[15, 8, 19, 23], Operations: [] Exploring Operation: 23-15=8, Resulting Numbers: [8, 19, 8] Generated Node #2: [8, 19, 8] from Operation: 23-15=8 Current State: 83:[8, 19, 8], Operations: ['23-15=8'] Exploring Operation: 8*8=64, Resulting Numbers: [19, 64] Generated Node #3: [19, 64] from Operation: 8*8=64 Current State: 83:[19, 64], Operations: ['23-15=8', '8*8=64'] Exploring Operation: 19+64=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[15, 8, 19, 23], Operations: [] Exploring Operation: 15*8=120, Resulting Numbers: [19, 23, 120] Generated Node #0,0: 83:[19, 23, 120] Operation: 15*8=120 Exploring Operation: 15+8=23, Resulting Numbers: [19, 23, 23] Generated Node #0,1: 83:[19, 23, 23] Operation: 15+8=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[19, 23, 120], Operations: ['15*8=120'] Exploring Operation: 19+23=42, Resulting Numbers: [120, 42] Generated Node #0,0,0: 83:[120, 42] Operation: 19+23=42 Exploring Operation: 120-19=101, Resulting Numbers: [23, 101] Generated Node #0,0,1: 83:[23, 101] Operation: 120-19=101 Moving to Node #0,0,0 Current State: 83:[120, 42], Operations: ['15*8=120', '19+23=42'] Exploring Operation: 120+42=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 120-42=78, Resulting Numbers: [78] 78,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[23, 101], Operations: ['15*8=120', '120-19=101'] Exploring Operation: 101-23=78, Resulting Numbers: [78] 78,83 unequal: No Solution Exploring Operation: 23+101=124, Resulting Numbers: [124] 124,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[19, 23, 23], Operations: ['15+8=23'] Exploring Operation: 19+23=42, Resulting Numbers: [23, 42] Generated Node #0,1,0: 83:[23, 42] Operation: 19+23=42 Exploring Operation: 19+23=42, Resulting Numbers: [23, 42] Generated Node #0,1,1: 83:[23, 42] Operation: 19+23=42 Moving to Node #0,1,0 Current State: 83:[23, 42], Operations: ['15+8=23', '19+23=42'] Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 23+42=65, Resulting Numbers: [65] 65,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[23, 42], Operations: ['15+8=23', '19+23=42'] Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 23+42=65, Resulting Numbers: [65] 65,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 54, 27, 39, 38 ]
50
[ "54-27=27", "39+38=77", "77-27=50" ]
Current State: 50:[54, 27, 39, 38], Operations: [] Exploring Operation: 54-27=27, Resulting Numbers: [39, 38, 27] Generated Node #2: [39, 38, 27] from Operation: 54-27=27 Current State: 50:[39, 38, 27], Operations: ['54-27=27'] Exploring Operation: 39+38=77, Resulting Numbers: [27, 77] Generated Node #3: [27, 77] from Operation: 39+38=77 Current State: 50:[27, 77], Operations: ['54-27=27', '39+38=77'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[54, 27, 39, 38], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [54, 38, 12] Generated Node #0,0: 50:[54, 38, 12] Operation: 39-27=12 Exploring Operation: 38-27=11, Resulting Numbers: [54, 39, 11] Generated Node #0,1: 50:[54, 39, 11] Operation: 38-27=11 Exploring Operation: 39-38=1, Resulting Numbers: [54, 27, 1] Generated Node #0,2: 50:[54, 27, 1] Operation: 39-38=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[54, 27, 1], Operations: ['39-38=1'] Exploring Operation: 54-27=27, Resulting Numbers: [1, 27] Generated Node #0,2,0: 50:[1, 27] Operation: 54-27=27 Exploring Operation: 54-1=53, Resulting Numbers: [27, 53] Generated Node #0,2,1: 50:[27, 53] Operation: 54-1=53 Exploring Operation: 54/27=2, Resulting Numbers: [1, 2] Generated Node #0,2,2: 50:[1, 2] Operation: 54/27=2 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 50:[1, 2], Operations: ['39-38=1', '54/27=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 50:[1, 27], Operations: ['39-38=1', '54-27=27'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 50:[27, 53], Operations: ['39-38=1', '54-1=53'] Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,50 unequal: No Solution Exploring Operation: 27+53=80, Resulting Numbers: [80] 80,50 unequal: No Solution Exploring Operation: 27*53=1431, Resulting Numbers: [1431] 1431,50 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: 50:[54, 39, 11], Operations: ['38-27=11'] Exploring Operation: 54-39=15, Resulting Numbers: [11, 15] Generated Node #0,1,0: 50:[11, 15] Operation: 54-39=15 Exploring Operation: 39+11=50, Resulting Numbers: [54, 50] Generated Node #0,1,1: 50:[54, 50] Operation: 39+11=50 Exploring Operation: 39-11=28, Resulting Numbers: [54, 28] Generated Node #0,1,2: 50:[54, 28] Operation: 39-11=28 Moving to Node #0,1,1 Current State: 50:[54, 50], Operations: ['38-27=11', '39+11=50'] Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,50 unequal: No Solution Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,50 unequal: No Solution Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[11, 15], Operations: ['38-27=11', '54-39=15'] Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,50 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,50 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[54, 28], Operations: ['38-27=11', '39-11=28'] Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,50 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,50 unequal: No Solution Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[54, 38, 12], Operations: ['39-27=12'] Exploring Operation: 38-12=26, Resulting Numbers: [54, 26] Generated Node #0,0,0: 50:[54, 26] Operation: 38-12=26 Exploring Operation: 54-38=16, Resulting Numbers: [12, 16] Generated Node #0,0,1: 50:[12, 16] Operation: 54-38=16 Exploring Operation: 38+12=50, Resulting Numbers: [54, 50] Generated Node #0,0,2: 50:[54, 50] Operation: 38+12=50 Moving to Node #0,0,2 Current State: 50:[54, 50], Operations: ['39-27=12', '38+12=50'] Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,50 unequal: No Solution Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[54, 26], Operations: ['39-27=12', '38-12=26'] Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,50 unequal: No Solution Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,50 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[12, 16], Operations: ['39-27=12', '54-38=16'] Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,50 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 59, 35, 94, 68 ]
67
[ "59+35=94", "94/94=1", "68-1=67" ]
Current State: 67:[59, 35, 94, 68], Operations: [] Exploring Operation: 59+35=94, Resulting Numbers: [94, 68, 94] Generated Node #2: [94, 68, 94] from Operation: 59+35=94 Current State: 67:[94, 68, 94], Operations: ['59+35=94'] Exploring Operation: 94/94=1, Resulting Numbers: [68, 1] Generated Node #3: [68, 1] from Operation: 94/94=1 Current State: 67:[68, 1], Operations: ['59+35=94', '94/94=1'] Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[59, 35, 94, 68], Operations: [] Exploring Operation: 94-35=59, Resulting Numbers: [59, 68, 59] Generated Node #0,0: 67:[59, 68, 59] Operation: 94-35=59 Moving to Node #0,0 Current State: 67:[59, 68, 59], Operations: ['94-35=59'] Exploring Operation: 59+59=118, Resulting Numbers: [68, 118] Generated Node #0,0,0: 67:[68, 118] Operation: 59+59=118 Moving to Node #0,0,0 Current State: 67:[68, 118], Operations: ['94-35=59', '59+59=118'] Exploring Operation: 118-68=50, Resulting Numbers: [50] 50,67 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 83, 8, 69, 93 ]
86
[ "93-69=24", "24/8=3", "83+3=86" ]
Current State: 86:[83, 8, 69, 93], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [83, 8, 24] Generated Node #2: [83, 8, 24] from Operation: 93-69=24 Current State: 86:[83, 8, 24], Operations: ['93-69=24'] Exploring Operation: 24/8=3, Resulting Numbers: [83, 3] Generated Node #3: [83, 3] from Operation: 24/8=3 Current State: 86:[83, 3], Operations: ['93-69=24', '24/8=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[83, 8, 69, 93], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [8, 93, 14] Generated Node #0,0: 86:[8, 93, 14] Operation: 83-69=14 Exploring Operation: 8+69=77, Resulting Numbers: [83, 93, 77] Generated Node #0,1: 86:[83, 93, 77] Operation: 8+69=77 Exploring Operation: 93-8=85, Resulting Numbers: [83, 69, 85] Generated Node #0,2: 86:[83, 69, 85] Operation: 93-8=85 Moving to Node #0,1 Current State: 86:[83, 93, 77], Operations: ['8+69=77'] Exploring Operation: 83-77=6, Resulting Numbers: [93, 6] Generated Node #0,1,0: 86:[93, 6] Operation: 83-77=6 Exploring Operation: 93-83=10, Resulting Numbers: [77, 10] Generated Node #0,1,1: 86:[77, 10] Operation: 93-83=10 Exploring Operation: 93-77=16, Resulting Numbers: [83, 16] Generated Node #0,1,2: 86:[83, 16] Operation: 93-77=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[93, 6], Operations: ['8+69=77', '83-77=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,86 unequal: No Solution Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,86 unequal: No Solution Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,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,1 Current State: 86:[77, 10], Operations: ['8+69=77', '93-83=10'] Exploring Operation: 77+10=87, Resulting Numbers: [87] 87,86 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,86 unequal: No Solution Exploring Operation: 77*10=770, Resulting Numbers: [770] 770,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[83, 16], Operations: ['8+69=77', '93-77=16'] Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,86 unequal: No Solution Exploring Operation: 83*16=1328, Resulting Numbers: [1328] 1328,86 unequal: No Solution Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,86 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: 86:[83, 69, 85], Operations: ['93-8=85'] Exploring Operation: 85-83=2, Resulting Numbers: [69, 2] Generated Node #0,2,0: 86:[69, 2] Operation: 85-83=2 Exploring Operation: 83-69=14, Resulting Numbers: [85, 14] Generated Node #0,2,1: 86:[85, 14] Operation: 83-69=14 Exploring Operation: 85-69=16, Resulting Numbers: [83, 16] Generated Node #0,2,2: 86:[83, 16] Operation: 85-69=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[85, 14], Operations: ['93-8=85', '83-69=14'] Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,86 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 85*14=1190, Resulting Numbers: [1190] 1190,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[69, 2], Operations: ['93-8=85', '85-83=2'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,86 unequal: No Solution Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,86 unequal: No Solution Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[83, 16], Operations: ['93-8=85', '85-69=16'] Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,86 unequal: No Solution Exploring Operation: 83*16=1328, Resulting Numbers: [1328] 1328,86 unequal: No Solution Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,86 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: 86:[8, 93, 14], Operations: ['83-69=14'] Exploring Operation: 93-8=85, Resulting Numbers: [14, 85] Generated Node #0,0,0: 86:[14, 85] Operation: 93-8=85 Exploring Operation: 14-8=6, Resulting Numbers: [93, 6] Generated Node #0,0,1: 86:[93, 6] Operation: 14-8=6 Exploring Operation: 93-14=79, Resulting Numbers: [8, 79] Generated Node #0,0,2: 86:[8, 79] Operation: 93-14=79 Moving to Node #0,0,1 Current State: 86:[93, 6], Operations: ['83-69=14', '14-8=6'] Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,86 unequal: No Solution Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,86 unequal: No Solution Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[14, 85], Operations: ['83-69=14', '93-8=85'] Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,86 unequal: No Solution Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,86 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[8, 79], Operations: ['83-69=14', '93-14=79'] Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 8+79=87, Resulting Numbers: [87] 87,86 unequal: No Solution Exploring Operation: 8*79=632, Resulting Numbers: [632] 632,86 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 5, 4, 31, 75 ]
42
[ "75/5=15", "31-4=27", "15+27=42" ]
Current State: 42:[5, 4, 31, 75], Operations: [] Exploring Operation: 75/5=15, Resulting Numbers: [4, 31, 15] Generated Node #2: [4, 31, 15] from Operation: 75/5=15 Current State: 42:[4, 31, 15], Operations: ['75/5=15'] Exploring Operation: 31-4=27, Resulting Numbers: [15, 27] Generated Node #3: [15, 27] from Operation: 31-4=27 Current State: 42:[15, 27], Operations: ['75/5=15', '31-4=27'] Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[5, 4, 31, 75], Operations: [] Exploring Operation: 75-5=70, Resulting Numbers: [4, 31, 70] Generated Node #0,0: 42:[4, 31, 70] Operation: 75-5=70 Exploring Operation: 75-31=44, Resulting Numbers: [5, 4, 44] Generated Node #0,1: 42:[5, 4, 44] Operation: 75-31=44 Exploring Operation: 31-5=26, Resulting Numbers: [4, 75, 26] Generated Node #0,2: 42:[4, 75, 26] Operation: 31-5=26 Exploring Operation: 75/5=15, Resulting Numbers: [4, 31, 15] Generated Node #0,3: 42:[4, 31, 15] Operation: 75/5=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[5, 4, 44], Operations: ['75-31=44'] Exploring Operation: 5*4=20, Resulting Numbers: [44, 20] Generated Node #0,1,0: 42:[44, 20] Operation: 5*4=20 Exploring Operation: 5-4=1, Resulting Numbers: [44, 1] Generated Node #0,1,1: 42:[44, 1] Operation: 5-4=1 Exploring Operation: 5+4=9, Resulting Numbers: [44, 9] Generated Node #0,1,2: 42:[44, 9] Operation: 5+4=9 Exploring Operation: 44-4=40, Resulting Numbers: [5, 40] Generated Node #0,1,3: 42:[5, 40] Operation: 44-4=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[44, 20], Operations: ['75-31=44', '5*4=20'] Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,42 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[44, 1], Operations: ['75-31=44', '5-4=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,42 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,42 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 42:[5, 40], Operations: ['75-31=44', '44-4=40'] Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,42 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,42 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[44, 9], Operations: ['75-31=44', '5+4=9'] Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,42 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[4, 31, 15], Operations: ['75/5=15'] Exploring Operation: 31-4=27, Resulting Numbers: [15, 27] Generated Node #0,3,0: 42:[15, 27] Operation: 31-4=27 Exploring Operation: 31-15=16, Resulting Numbers: [4, 16] Generated Node #0,3,1: 42:[4, 16] Operation: 31-15=16 Exploring Operation: 4+31=35, Resulting Numbers: [15, 35] Generated Node #0,3,2: 42:[15, 35] Operation: 4+31=35 Exploring Operation: 31+15=46, Resulting Numbers: [4, 46] Generated Node #0,3,3: 42:[4, 46] Operation: 31+15=46 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 42:[4, 16], Operations: ['75/5=15', '31-15=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 42:[4, 46], Operations: ['75/5=15', '31+15=46'] Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,42 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[5, 4, 31, 75], Operations: [] Exploring Operation: 75/5=15, Resulting Numbers: [4, 31, 15] Generated Node #0,3: 42:[4, 31, 15] Operation: 75/5=15 Moving to Node #0,3 Current State: 42:[4, 31, 15], Operations: ['75/5=15'] Exploring Operation: 31+15=46, Resulting Numbers: [4, 46] Generated Node #0,3,3: 42:[4, 46] Operation: 31+15=46 Moving to Node #0,3,3 Current State: 42:[4, 46], Operations: ['75/5=15', '31+15=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 52, 46, 16, 12 ]
14
[ "52-46=6", "12/6=2", "16-2=14" ]
Current State: 14:[52, 46, 16, 12], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [16, 12, 6] Generated Node #2: [16, 12, 6] from Operation: 52-46=6 Current State: 14:[16, 12, 6], Operations: ['52-46=6'] Exploring Operation: 12/6=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 12/6=2 Current State: 14:[16, 2], Operations: ['52-46=6', '12/6=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[52, 46, 16, 12], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [16, 12, 6] Generated Node #0,0: 14:[16, 12, 6] Operation: 52-46=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[16, 12, 6], Operations: ['52-46=6'] Exploring Operation: 12/6=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 14:[16, 2] Operation: 12/6=2 Moving to Node #0,0,0 Current State: 14:[16, 2], Operations: ['52-46=6', '12/6=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[52, 46, 16, 12], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [16, 12, 6] Generated Node #0,0: 14:[16, 12, 6] Operation: 52-46=6 Moving to Node #0,0 Current State: 14:[16, 12, 6], Operations: ['52-46=6'] Exploring Operation: 12/6=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 14:[16, 2] Operation: 12/6=2 Moving to Node #0,0,0 Current State: 14:[16, 2], Operations: ['52-46=6', '12/6=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 10, 82, 20, 33 ]
51
[ "20/10=2", "82-33=49", "2+49=51" ]
Current State: 51:[10, 82, 20, 33], Operations: [] Exploring Operation: 20/10=2, Resulting Numbers: [82, 33, 2] Generated Node #2: [82, 33, 2] from Operation: 20/10=2 Current State: 51:[82, 33, 2], Operations: ['20/10=2'] Exploring Operation: 82-33=49, Resulting Numbers: [2, 49] Generated Node #3: [2, 49] from Operation: 82-33=49 Current State: 51:[2, 49], Operations: ['20/10=2', '82-33=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[10, 82, 20, 33], Operations: [] Exploring Operation: 82-33=49, Resulting Numbers: [10, 20, 49] Generated Node #0,0: 51:[10, 20, 49] Operation: 82-33=49 Moving to Node #0,0 Current State: 51:[10, 20, 49], Operations: ['82-33=49'] Exploring Operation: 20/10=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 51:[49, 2] Operation: 20/10=2 Moving to Node #0,0,0 Current State: 51:[49, 2], Operations: ['82-33=49', '20/10=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[10, 82, 20, 33], Operations: [] Exploring Operation: 82-33=49, Resulting Numbers: [10, 20, 49] Generated Node #0,0: 51:[10, 20, 49] Operation: 82-33=49 Moving to Node #0,0 Current State: 51:[10, 20, 49], Operations: ['82-33=49'] Exploring Operation: 20/10=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 51:[49, 2] Operation: 20/10=2 Moving to Node #0,0,0 Current State: 51:[49, 2], Operations: ['82-33=49', '20/10=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 84, 4, 71, 78 ]
47
[ "84-78=6", "4*6=24", "71-24=47" ]
Current State: 47:[84, 4, 71, 78], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [4, 71, 6] Generated Node #2: [4, 71, 6] from Operation: 84-78=6 Current State: 47:[4, 71, 6], Operations: ['84-78=6'] Exploring Operation: 4*6=24, Resulting Numbers: [71, 24] Generated Node #3: [71, 24] from Operation: 4*6=24 Current State: 47:[71, 24], Operations: ['84-78=6', '4*6=24'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[84, 4, 71, 78], Operations: [] Exploring Operation: 84-4=80, Resulting Numbers: [71, 78, 80] Generated Node #0,0: 47:[71, 78, 80] Operation: 84-4=80 Exploring Operation: 84/4=21, Resulting Numbers: [71, 78, 21] Generated Node #0,1: 47:[71, 78, 21] Operation: 84/4=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[71, 78, 21], Operations: ['84/4=21'] Exploring Operation: 78-21=57, Resulting Numbers: [71, 57] Generated Node #0,1,0: 47:[71, 57] Operation: 78-21=57 Exploring Operation: 71-21=50, Resulting Numbers: [78, 50] Generated Node #0,1,1: 47:[78, 50] Operation: 71-21=50 Moving to Node #0,1,0 Current State: 47:[71, 57], Operations: ['84/4=21', '78-21=57'] Exploring Operation: 71-57=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 71+57=128, Resulting Numbers: [128] 128,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[78, 50], Operations: ['84/4=21', '71-21=50'] Exploring Operation: 78+50=128, Resulting Numbers: [128] 128,47 unequal: No Solution Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,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:[71, 78, 80], Operations: ['84-4=80'] Exploring Operation: 80-71=9, Resulting Numbers: [78, 9] Generated Node #0,0,0: 47:[78, 9] Operation: 80-71=9 Exploring Operation: 80-78=2, Resulting Numbers: [71, 2] Generated Node #0,0,1: 47:[71, 2] Operation: 80-78=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[78, 9], Operations: ['84-4=80', '80-71=9'] Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,47 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[71, 2], Operations: ['84-4=80', '80-78=2'] Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,47 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,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_2
mult_heuristic
[ 96, 48, 81, 79 ]
96
[ "96-48=48", "81-79=2", "48*2=96" ]
Current State: 96:[96, 48, 81, 79], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [81, 79, 48] Generated Node #2: [81, 79, 48] from Operation: 96-48=48 Current State: 96:[81, 79, 48], Operations: ['96-48=48'] Exploring Operation: 81-79=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 81-79=2 Current State: 96:[48, 2], Operations: ['96-48=48', '81-79=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[96, 48, 81, 79], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [96, 48, 2] Generated Node #0,0: 96:[96, 48, 2] Operation: 81-79=2 Exploring Operation: 96-81=15, Resulting Numbers: [48, 79, 15] Generated Node #0,1: 96:[48, 79, 15] Operation: 96-81=15 Exploring Operation: 81-48=33, Resulting Numbers: [96, 79, 33] Generated Node #0,2: 96:[96, 79, 33] Operation: 81-48=33 Exploring Operation: 96-79=17, Resulting Numbers: [48, 81, 17] Generated Node #0,3: 96:[48, 81, 17] Operation: 96-79=17 Exploring Operation: 79-48=31, Resulting Numbers: [96, 81, 31] Generated Node #0,4: 96:[96, 81, 31] Operation: 79-48=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[96, 48, 2], Operations: ['81-79=2'] Exploring Operation: 96/2=48, Resulting Numbers: [48, 48] Generated Node #0,0,0: 96:[48, 48] Operation: 96/2=48 Exploring Operation: 96/48=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 96:[2, 2] Operation: 96/48=2 Exploring Operation: 96-48=48, Resulting Numbers: [2, 48] Generated Node #0,0,2: 96:[2, 48] Operation: 96-48=48 Exploring Operation: 48*2=96, Resulting Numbers: [96, 96] Generated Node #0,0,3: 96:[96, 96] Operation: 48*2=96 Exploring Operation: 48/2=24, Resulting Numbers: [96, 24] Generated Node #0,0,4: 96:[96, 24] Operation: 48/2=24 Moving to Node #0,0,0 Current State: 96:[48, 48], Operations: ['81-79=2', '96/2=48'] Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,96 unequal: No Solution Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,96 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[96, 48, 81, 79], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [96, 48, 2] Generated Node #0,0: 96:[96, 48, 2] Operation: 81-79=2 Moving to Node #0,0 Current State: 96:[96, 48, 2], Operations: ['81-79=2'] Exploring Operation: 96/2=48, Resulting Numbers: [48, 48] Generated Node #0,0,0: 96:[48, 48] Operation: 96/2=48 Moving to Node #0,0,0 Current State: 96:[48, 48], Operations: ['81-79=2', '96/2=48'] Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 21, 53, 44, 59 ]
29
[ "21+53=74", "44+59=103", "103-74=29" ]
Current State: 29:[21, 53, 44, 59], Operations: [] Exploring Operation: 21+53=74, Resulting Numbers: [44, 59, 74] Generated Node #2: [44, 59, 74] from Operation: 21+53=74 Current State: 29:[44, 59, 74], Operations: ['21+53=74'] Exploring Operation: 44+59=103, Resulting Numbers: [74, 103] Generated Node #3: [74, 103] from Operation: 44+59=103 Current State: 29:[74, 103], Operations: ['21+53=74', '44+59=103'] Exploring Operation: 103-74=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[21, 53, 44, 59], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [21, 44, 6] Generated Node #0,0: 29:[21, 44, 6] Operation: 59-53=6 Exploring Operation: 59-44=15, Resulting Numbers: [21, 53, 15] Generated Node #0,1: 29:[21, 53, 15] Operation: 59-44=15 Exploring Operation: 53-21=32, Resulting Numbers: [44, 59, 32] Generated Node #0,2: 29:[44, 59, 32] Operation: 53-21=32 Exploring Operation: 59-21=38, Resulting Numbers: [53, 44, 38] Generated Node #0,3: 29:[53, 44, 38] Operation: 59-21=38 Exploring Operation: 53-44=9, Resulting Numbers: [21, 59, 9] Generated Node #0,4: 29:[21, 59, 9] Operation: 53-44=9 Moving to Node #0,0 Current State: 29:[21, 44, 6], Operations: ['59-53=6'] Exploring Operation: 44+6=50, Resulting Numbers: [21, 50] Generated Node #0,0,0: 29:[21, 50] Operation: 44+6=50 Exploring Operation: 21+6=27, Resulting Numbers: [44, 27] Generated Node #0,0,1: 29:[44, 27] Operation: 21+6=27 Exploring Operation: 44-6=38, Resulting Numbers: [21, 38] Generated Node #0,0,2: 29:[21, 38] Operation: 44-6=38 Exploring Operation: 21-6=15, Resulting Numbers: [44, 15] Generated Node #0,0,3: 29:[44, 15] Operation: 21-6=15 Exploring Operation: 44-21=23, Resulting Numbers: [6, 23] Generated Node #0,0,4: 29:[6, 23] Operation: 44-21=23 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[44, 27], Operations: ['59-53=6', '21+6=27'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,29 unequal: No Solution Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[21, 38], Operations: ['59-53=6', '44-6=38'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,29 unequal: No Solution Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[21, 50], Operations: ['59-53=6', '44+6=50'] Exploring Operation: 21*50=1050, Resulting Numbers: [1050] 1050,29 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[21, 53, 44, 59], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [21, 44, 6] Generated Node #0,0: 29:[21, 44, 6] Operation: 59-53=6 Moving to Node #0,0 Current State: 29:[21, 44, 6], Operations: ['59-53=6'] Exploring Operation: 44+6=50, Resulting Numbers: [21, 50] Generated Node #0,0,0: 29:[21, 50] Operation: 44+6=50 Moving to Node #0,0,0 Current State: 29:[21, 50], Operations: ['59-53=6', '44+6=50'] Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 8, 3, 2, 92 ]
18
[ "8-3=5", "92-2=90", "90/5=18" ]
Current State: 18:[8, 3, 2, 92], Operations: [] Exploring Operation: 8-3=5, Resulting Numbers: [2, 92, 5] Generated Node #2: [2, 92, 5] from Operation: 8-3=5 Current State: 18:[2, 92, 5], Operations: ['8-3=5'] Exploring Operation: 92-2=90, Resulting Numbers: [5, 90] Generated Node #3: [5, 90] from Operation: 92-2=90 Current State: 18:[5, 90], Operations: ['8-3=5', '92-2=90'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[8, 3, 2, 92], Operations: [] Exploring Operation: 92-3=89, Resulting Numbers: [8, 2, 89] Generated Node #0,0: 18:[8, 2, 89] Operation: 92-3=89 Exploring Operation: 92-8=84, Resulting Numbers: [3, 2, 84] Generated Node #0,1: 18:[3, 2, 84] Operation: 92-8=84 Exploring Operation: 8-2=6, Resulting Numbers: [3, 92, 6] Generated Node #0,2: 18:[3, 92, 6] Operation: 8-2=6 Exploring Operation: 92-2=90, Resulting Numbers: [8, 3, 90] Generated Node #0,3: 18:[8, 3, 90] Operation: 92-2=90 Exploring Operation: 92/2=46, Resulting Numbers: [8, 3, 46] Generated Node #0,4: 18:[8, 3, 46] Operation: 92/2=46 Start Sub Search at level 1: Moving to Node #0,4 Current State: 18:[8, 3, 46], Operations: ['92/2=46'] Exploring Operation: 8-3=5, Resulting Numbers: [46, 5] Generated Node #0,4,0: 18:[46, 5] Operation: 8-3=5 Exploring Operation: 3+46=49, Resulting Numbers: [8, 49] Generated Node #0,4,1: 18:[8, 49] Operation: 3+46=49 Exploring Operation: 46-8=38, Resulting Numbers: [3, 38] Generated Node #0,4,2: 18:[3, 38] Operation: 46-8=38 Exploring Operation: 8+3=11, Resulting Numbers: [46, 11] Generated Node #0,4,3: 18:[46, 11] Operation: 8+3=11 Exploring Operation: 46-3=43, Resulting Numbers: [8, 43] Generated Node #0,4,4: 18:[8, 43] Operation: 46-3=43 Moving to Node #0,4,2 Current State: 18:[3, 38], Operations: ['92/2=46', '46-8=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,18 unequal: No Solution Moving to Node #0,4,4 Current State: 18:[8, 43], Operations: ['92/2=46', '46-3=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,18 unequal: No Solution Moving to Node #0,4,0 Current State: 18:[46, 5], Operations: ['92/2=46', '8-3=5'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,18 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,18 unequal: No Solution Moving to Node #0,4,3 Current State: 18:[46, 11], Operations: ['92/2=46', '8+3=11'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 46*11=506, Resulting Numbers: [506] 506,18 unequal: No Solution Moving to Node #0,4,1 Current State: 18:[8, 49], Operations: ['92/2=46', '3+46=49'] Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,18 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,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,1 Current State: 18:[3, 2, 84], Operations: ['92-8=84'] Exploring Operation: 84-3=81, Resulting Numbers: [2, 81] Generated Node #0,1,0: 18:[2, 81] Operation: 84-3=81 Exploring Operation: 3*2=6, Resulting Numbers: [84, 6] Generated Node #0,1,1: 18:[84, 6] Operation: 3*2=6 Exploring Operation: 84/3=28, Resulting Numbers: [2, 28] Generated Node #0,1,2: 18:[2, 28] Operation: 84/3=28 Exploring Operation: 84-2=82, Resulting Numbers: [3, 82] Generated Node #0,1,3: 18:[3, 82] Operation: 84-2=82 Exploring Operation: 84/2=42, Resulting Numbers: [3, 42] Generated Node #0,1,4: 18:[3, 42] Operation: 84/2=42 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 18:[2, 28], Operations: ['92-8=84', '84/3=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 18:[3, 42], Operations: ['92-8=84', '84/2=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 18:[2, 81], Operations: ['92-8=84', '84-3=81'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,18 unequal: No Solution Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 18:[3, 82], Operations: ['92-8=84', '84-2=82'] Exploring Operation: 3*82=246, Resulting Numbers: [246] 246,18 unequal: No Solution Exploring Operation: 3+82=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 18:[84, 6], Operations: ['92-8=84', '3*2=6'] Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 84+6=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 84*6=504, Resulting Numbers: [504] 504,18 unequal: No Solution Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[8, 2, 89], Operations: ['92-3=89'] Exploring Operation: 89-8=81, Resulting Numbers: [2, 81] Generated Node #0,0,0: 18:[2, 81] Operation: 89-8=81 Exploring Operation: 8-2=6, Resulting Numbers: [89, 6] Generated Node #0,0,1: 18:[89, 6] Operation: 8-2=6 Exploring Operation: 8/2=4, Resulting Numbers: [89, 4] Generated Node #0,0,2: 18:[89, 4] Operation: 8/2=4 Exploring Operation: 89-2=87, Resulting Numbers: [8, 87] Generated Node #0,0,3: 18:[8, 87] Operation: 89-2=87 Exploring Operation: 8+2=10, Resulting Numbers: [89, 10] Generated Node #0,0,4: 18:[89, 10] Operation: 8+2=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[2, 81], Operations: ['92-3=89', '89-8=81'] Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,18 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 18:[8, 87], Operations: ['92-3=89', '89-2=87'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 8+87=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 8*87=696, Resulting Numbers: [696] 696,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[89, 6], Operations: ['92-3=89', '8-2=6'] Exploring Operation: 89*6=534, Resulting Numbers: [534] 534,18 unequal: No Solution Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,18 unequal: No Solution Exploring Operation: 89+6=95, Resulting Numbers: [95] 95,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 18:[89, 4], Operations: ['92-3=89', '8/2=4'] Exploring Operation: 89*4=356, Resulting Numbers: [356] 356,18 unequal: No Solution Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,18 unequal: No Solution Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 18:[89, 10], Operations: ['92-3=89', '8+2=10'] Exploring Operation: 89-10=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 89*10=890, Resulting Numbers: [890] 890,18 unequal: No Solution Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 18:[8, 3, 90], Operations: ['92-2=90'] Exploring Operation: 90-3=87, Resulting Numbers: [8, 87] Generated Node #0,3,0: 18:[8, 87] Operation: 90-3=87 Exploring Operation: 90-8=82, Resulting Numbers: [3, 82] Generated Node #0,3,1: 18:[3, 82] Operation: 90-8=82 Exploring Operation: 90/3=30, Resulting Numbers: [8, 30] Generated Node #0,3,2: 18:[8, 30] Operation: 90/3=30 Exploring Operation: 8-3=5, Resulting Numbers: [90, 5] Generated Node #0,3,3: 18:[90, 5] Operation: 8-3=5 Exploring Operation: 8+3=11, Resulting Numbers: [90, 11] Generated Node #0,3,4: 18:[90, 11] Operation: 8+3=11 Moving to Node #0,3,2 Current State: 18:[8, 30], Operations: ['92-2=90', '90/3=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,18 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[3, 82], Operations: ['92-2=90', '90-8=82'] Exploring Operation: 3*82=246, Resulting Numbers: [246] 246,18 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 3+82=85, Resulting Numbers: [85] 85,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[8, 87], Operations: ['92-2=90', '90-3=87'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 8*87=696, Resulting Numbers: [696] 696,18 unequal: No Solution Exploring Operation: 8+87=95, Resulting Numbers: [95] 95,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[90, 5], Operations: ['92-2=90', '8-3=5'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[8, 3, 2, 92], Operations: [] Exploring Operation: 92-2=90, Resulting Numbers: [8, 3, 90] Generated Node #0,3: 18:[8, 3, 90] Operation: 92-2=90 Moving to Node #0,3 Current State: 18:[8, 3, 90], Operations: ['92-2=90'] Exploring Operation: 8-3=5, Resulting Numbers: [90, 5] Generated Node #0,3,3: 18:[90, 5] Operation: 8-3=5 Moving to Node #0,3,3 Current State: 18:[90, 5], Operations: ['92-2=90', '8-3=5'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.924479
hs_5
mult_heuristic
[ 57, 72, 69, 47 ]
28
[ "72-69=3", "57/3=19", "47-19=28" ]
Current State: 28:[57, 72, 69, 47], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [57, 47, 3] Generated Node #2: [57, 47, 3] from Operation: 72-69=3 Current State: 28:[57, 47, 3], Operations: ['72-69=3'] Exploring Operation: 57/3=19, Resulting Numbers: [47, 19] Generated Node #3: [47, 19] from Operation: 57/3=19 Current State: 28:[47, 19], Operations: ['72-69=3', '57/3=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[57, 72, 69, 47], Operations: [] Exploring Operation: 72-47=25, Resulting Numbers: [57, 69, 25] Generated Node #0,0: 28:[57, 69, 25] Operation: 72-47=25 Exploring Operation: 69-57=12, Resulting Numbers: [72, 47, 12] Generated Node #0,1: 28:[72, 47, 12] Operation: 69-57=12 Exploring Operation: 72-57=15, Resulting Numbers: [69, 47, 15] Generated Node #0,2: 28:[69, 47, 15] Operation: 72-57=15 Exploring Operation: 69-47=22, Resulting Numbers: [57, 72, 22] Generated Node #0,3: 28:[57, 72, 22] Operation: 69-47=22 Exploring Operation: 72-69=3, Resulting Numbers: [57, 47, 3] Generated Node #0,4: 28:[57, 47, 3] Operation: 72-69=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[57, 47, 3], Operations: ['72-69=3'] Exploring Operation: 47-3=44, Resulting Numbers: [57, 44] Generated Node #0,4,0: 28:[57, 44] Operation: 47-3=44 Exploring Operation: 57+3=60, Resulting Numbers: [47, 60] Generated Node #0,4,1: 28:[47, 60] Operation: 57+3=60 Exploring Operation: 57-47=10, Resulting Numbers: [3, 10] Generated Node #0,4,2: 28:[3, 10] Operation: 57-47=10 Exploring Operation: 57/3=19, Resulting Numbers: [47, 19] Generated Node #0,4,3: 28:[47, 19] Operation: 57/3=19 Exploring Operation: 57-3=54, Resulting Numbers: [47, 54] Generated Node #0,4,4: 28:[47, 54] Operation: 57-3=54 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 28:[3, 10], Operations: ['72-69=3', '57-47=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 28:[47, 19], Operations: ['72-69=3', '57/3=19'] Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,28 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[57, 72, 69, 47], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [57, 47, 3] Generated Node #0,4: 28:[57, 47, 3] Operation: 72-69=3 Moving to Node #0,4 Current State: 28:[57, 47, 3], Operations: ['72-69=3'] Exploring Operation: 57/3=19, Resulting Numbers: [47, 19] Generated Node #0,4,3: 28:[47, 19] Operation: 57/3=19 Moving to Node #0,4,3 Current State: 28:[47, 19], Operations: ['72-69=3', '57/3=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 52, 2, 6, 78 ]
64
[ "52-6=46", "78-46=32", "2*32=64" ]
Current State: 64:[52, 2, 6, 78], Operations: [] Exploring Operation: 52-6=46, Resulting Numbers: [2, 78, 46] Generated Node #2: [2, 78, 46] from Operation: 52-6=46 Current State: 64:[2, 78, 46], Operations: ['52-6=46'] Exploring Operation: 78-46=32, Resulting Numbers: [2, 32] Generated Node #3: [2, 32] from Operation: 78-46=32 Current State: 64:[2, 32], Operations: ['52-6=46', '78-46=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[52, 2, 6, 78], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [2, 6, 26] Generated Node #0,0: 64:[2, 6, 26] Operation: 78-52=26 Exploring Operation: 78/2=39, Resulting Numbers: [52, 6, 39] Generated Node #0,1: 64:[52, 6, 39] Operation: 78/2=39 Exploring Operation: 52+6=58, Resulting Numbers: [2, 78, 58] Generated Node #0,2: 64:[2, 78, 58] Operation: 52+6=58 Exploring Operation: 78/6=13, Resulting Numbers: [52, 2, 13] Generated Node #0,3: 64:[52, 2, 13] Operation: 78/6=13 Exploring Operation: 78-6=72, Resulting Numbers: [52, 2, 72] Generated Node #0,4: 64:[52, 2, 72] Operation: 78-6=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[2, 6, 26], Operations: ['78-52=26'] Exploring Operation: 26-6=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 64:[2, 20] Operation: 26-6=20 Exploring Operation: 2+6=8, Resulting Numbers: [26, 8] Generated Node #0,0,1: 64:[26, 8] Operation: 2+6=8 Exploring Operation: 6-2=4, Resulting Numbers: [26, 4] Generated Node #0,0,2: 64:[26, 4] Operation: 6-2=4 Exploring Operation: 26/2=13, Resulting Numbers: [6, 13] Generated Node #0,0,3: 64:[6, 13] Operation: 26/2=13 Exploring Operation: 6+26=32, Resulting Numbers: [2, 32] Generated Node #0,0,4: 64:[2, 32] Operation: 6+26=32 Moving to Node #0,0,4 Current State: 64:[2, 32], Operations: ['78-52=26', '6+26=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[52, 2, 6, 78], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [2, 6, 26] Generated Node #0,0: 64:[2, 6, 26] Operation: 78-52=26 Moving to Node #0,0 Current State: 64:[2, 6, 26], Operations: ['78-52=26'] Exploring Operation: 6+26=32, Resulting Numbers: [2, 32] Generated Node #0,0,4: 64:[2, 32] Operation: 6+26=32 Moving to Node #0,0,4 Current State: 64:[2, 32], Operations: ['78-52=26', '6+26=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 88, 56, 3, 96 ]
67
[ "88-56=32", "3+96=99", "99-32=67" ]
Current State: 67:[88, 56, 3, 96], Operations: [] Exploring Operation: 88-56=32, Resulting Numbers: [3, 96, 32] Generated Node #2: [3, 96, 32] from Operation: 88-56=32 Current State: 67:[3, 96, 32], Operations: ['88-56=32'] Exploring Operation: 3+96=99, Resulting Numbers: [32, 99] Generated Node #3: [32, 99] from Operation: 3+96=99 Current State: 67:[32, 99], Operations: ['88-56=32', '3+96=99'] Exploring Operation: 99-32=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[88, 56, 3, 96], Operations: [] Exploring Operation: 88-3=85, Resulting Numbers: [56, 96, 85] Generated Node #0,0: 67:[56, 96, 85] Operation: 88-3=85 Exploring Operation: 88+3=91, Resulting Numbers: [56, 96, 91] Generated Node #0,1: 67:[56, 96, 91] Operation: 88+3=91 Exploring Operation: 56+3=59, Resulting Numbers: [88, 96, 59] Generated Node #0,2: 67:[88, 96, 59] Operation: 56+3=59 Exploring Operation: 96-3=93, Resulting Numbers: [88, 56, 93] Generated Node #0,3: 67:[88, 56, 93] Operation: 96-3=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[56, 96, 85], Operations: ['88-3=85'] Exploring Operation: 96-85=11, Resulting Numbers: [56, 11] Generated Node #0,0,0: 67:[56, 11] Operation: 96-85=11 Exploring Operation: 56+96=152, Resulting Numbers: [85, 152] Generated Node #0,0,1: 67:[85, 152] Operation: 56+96=152 Exploring Operation: 96-56=40, Resulting Numbers: [85, 40] Generated Node #0,0,2: 67:[85, 40] Operation: 96-56=40 Exploring Operation: 85-56=29, Resulting Numbers: [96, 29] Generated Node #0,0,3: 67:[96, 29] Operation: 85-56=29 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[85, 40], Operations: ['88-3=85', '96-56=40'] Exploring Operation: 85*40=3400, Resulting Numbers: [3400] 3400,67 unequal: No Solution Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[56, 11], Operations: ['88-3=85', '96-85=11'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,67 unequal: No Solution Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,67 unequal: No Solution Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[88, 56, 3, 96], Operations: [] Exploring Operation: 88-3=85, Resulting Numbers: [56, 96, 85] Generated Node #0,0: 67:[56, 96, 85] Operation: 88-3=85 Moving to Node #0,0 Current State: 67:[56, 96, 85], Operations: ['88-3=85'] Exploring Operation: 96-85=11, Resulting Numbers: [56, 11] Generated Node #0,0,0: 67:[56, 11] Operation: 96-85=11 Moving to Node #0,0,0 Current State: 67:[56, 11], Operations: ['88-3=85', '96-85=11'] Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 19, 73, 12, 62 ]
96
[ "73-19=54", "62-54=8", "12*8=96" ]
Current State: 96:[19, 73, 12, 62], Operations: [] Exploring Operation: 73-19=54, Resulting Numbers: [12, 62, 54] Generated Node #2: [12, 62, 54] from Operation: 73-19=54 Current State: 96:[12, 62, 54], Operations: ['73-19=54'] Exploring Operation: 62-54=8, Resulting Numbers: [12, 8] Generated Node #3: [12, 8] from Operation: 62-54=8 Current State: 96:[12, 8], Operations: ['73-19=54', '62-54=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[19, 73, 12, 62], Operations: [] Exploring Operation: 19+73=92, Resulting Numbers: [12, 62, 92] Generated Node #0,0: 96:[12, 62, 92] Operation: 19+73=92 Exploring Operation: 73-62=11, Resulting Numbers: [19, 12, 11] Generated Node #0,1: 96:[19, 12, 11] Operation: 73-62=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[19, 12, 11], Operations: ['73-62=11'] Exploring Operation: 19-11=8, Resulting Numbers: [12, 8] Generated Node #0,1,0: 96:[12, 8] Operation: 19-11=8 Exploring Operation: 19+12=31, Resulting Numbers: [11, 31] Generated Node #0,1,1: 96:[11, 31] Operation: 19+12=31 Moving to Node #0,1,0 Current State: 96:[12, 8], Operations: ['73-62=11', '19-11=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[19, 73, 12, 62], Operations: [] Exploring Operation: 73-62=11, Resulting Numbers: [19, 12, 11] Generated Node #0,1: 96:[19, 12, 11] Operation: 73-62=11 Moving to Node #0,1 Current State: 96:[19, 12, 11], Operations: ['73-62=11'] Exploring Operation: 19-11=8, Resulting Numbers: [12, 8] Generated Node #0,1,0: 96:[12, 8] Operation: 19-11=8 Moving to Node #0,1,0 Current State: 96:[12, 8], Operations: ['73-62=11', '19-11=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 4, 72, 45, 8 ]
61
[ "72-8=64", "64/4=16", "45+16=61" ]
Current State: 61:[4, 72, 45, 8], Operations: [] Exploring Operation: 72-8=64, Resulting Numbers: [4, 45, 64] Generated Node #2: [4, 45, 64] from Operation: 72-8=64 Current State: 61:[4, 45, 64], Operations: ['72-8=64'] Exploring Operation: 64/4=16, Resulting Numbers: [45, 16] Generated Node #3: [45, 16] from Operation: 64/4=16 Current State: 61:[45, 16], Operations: ['72-8=64', '64/4=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[4, 72, 45, 8], Operations: [] Exploring Operation: 4+8=12, Resulting Numbers: [72, 45, 12] Generated Node #0,0: 61:[72, 45, 12] Operation: 4+8=12 Exploring Operation: 4+45=49, Resulting Numbers: [72, 8, 49] Generated Node #0,1: 61:[72, 8, 49] Operation: 4+45=49 Exploring Operation: 72-4=68, Resulting Numbers: [45, 8, 68] Generated Node #0,2: 61:[45, 8, 68] Operation: 72-4=68 Exploring Operation: 4*8=32, Resulting Numbers: [72, 45, 32] Generated Node #0,3: 61:[72, 45, 32] Operation: 4*8=32 Moving to Node #0,3 Current State: 61:[72, 45, 32], Operations: ['4*8=32'] Exploring Operation: 72-32=40, Resulting Numbers: [45, 40] Generated Node #0,3,0: 61:[45, 40] Operation: 72-32=40 Exploring Operation: 45+32=77, Resulting Numbers: [72, 77] Generated Node #0,3,1: 61:[72, 77] Operation: 45+32=77 Exploring Operation: 45-32=13, Resulting Numbers: [72, 13] Generated Node #0,3,2: 61:[72, 13] Operation: 45-32=13 Exploring Operation: 72+32=104, Resulting Numbers: [45, 104] Generated Node #0,3,3: 61:[45, 104] Operation: 72+32=104 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[72, 77], Operations: ['4*8=32', '45+32=77'] Exploring Operation: 72+77=149, Resulting Numbers: [149] 149,61 unequal: No Solution Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 72*77=5544, Resulting Numbers: [5544] 5544,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[45, 40], Operations: ['4*8=32', '72-32=40'] Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,61 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[72, 13], Operations: ['4*8=32', '45-32=13'] Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[45, 104], Operations: ['4*8=32', '72+32=104'] Exploring Operation: 45+104=149, Resulting Numbers: [149] 149,61 unequal: No Solution Exploring Operation: 104-45=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 45*104=4680, Resulting Numbers: [4680] 4680,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[72, 8, 49], Operations: ['4+45=49'] Exploring Operation: 49-8=41, Resulting Numbers: [72, 41] Generated Node #0,1,0: 61:[72, 41] Operation: 49-8=41 Exploring Operation: 72+8=80, Resulting Numbers: [49, 80] Generated Node #0,1,1: 61:[49, 80] Operation: 72+8=80 Exploring Operation: 8+49=57, Resulting Numbers: [72, 57] Generated Node #0,1,2: 61:[72, 57] Operation: 8+49=57 Exploring Operation: 72-8=64, Resulting Numbers: [49, 64] Generated Node #0,1,3: 61:[49, 64] Operation: 72-8=64 Moving to Node #0,0 Current State: 61:[72, 45, 12], Operations: ['4+8=12'] Exploring Operation: 45-12=33, Resulting Numbers: [72, 33] Generated Node #0,0,0: 61:[72, 33] Operation: 45-12=33 Exploring Operation: 72+12=84, Resulting Numbers: [45, 84] Generated Node #0,0,1: 61:[45, 84] Operation: 72+12=84 Exploring Operation: 72-12=60, Resulting Numbers: [45, 60] Generated Node #0,0,2: 61:[45, 60] Operation: 72-12=60 Exploring Operation: 45+12=57, Resulting Numbers: [72, 57] Generated Node #0,0,3: 61:[72, 57] Operation: 45+12=57 Moving to Node #0,2 Current State: 61:[45, 8, 68], Operations: ['72-4=68'] Exploring Operation: 8+68=76, Resulting Numbers: [45, 76] Generated Node #0,2,0: 61:[45, 76] Operation: 8+68=76 Exploring Operation: 45+8=53, Resulting Numbers: [68, 53] Generated Node #0,2,1: 61:[68, 53] Operation: 45+8=53 Exploring Operation: 45-8=37, Resulting Numbers: [68, 37] Generated Node #0,2,2: 61:[68, 37] Operation: 45-8=37 Exploring Operation: 68-8=60, Resulting Numbers: [45, 60] Generated Node #0,2,3: 61:[45, 60] Operation: 68-8=60 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[68, 53], Operations: ['72-4=68', '45+8=53'] Exploring Operation: 68*53=3604, Resulting Numbers: [3604] 3604,61 unequal: No Solution Exploring Operation: 68-53=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 68+53=121, Resulting Numbers: [121] 121,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[45, 60], Operations: ['72-4=68', '68-8=60'] Exploring Operation: 45*60=2700, Resulting Numbers: [2700] 2700,61 unequal: No Solution Exploring Operation: 45+60=105, Resulting Numbers: [105] 105,61 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[45, 76], Operations: ['72-4=68', '8+68=76'] Exploring Operation: 45*76=3420, Resulting Numbers: [3420] 3420,61 unequal: No Solution Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,61 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[68, 37], Operations: ['72-4=68', '45-8=37'] Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,61 unequal: No Solution Exploring Operation: 68*37=2516, Resulting Numbers: [2516] 2516,61 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 61:[72, 57], Operations: ['4+45=49', '8+49=57'] Exploring Operation: 72*57=4104, Resulting Numbers: [4104] 4104,61 unequal: No Solution Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[49, 64], Operations: ['4+45=49', '72-8=64'] Exploring Operation: 49+64=113, Resulting Numbers: [113] 113,61 unequal: No Solution Exploring Operation: 49*64=3136, Resulting Numbers: [3136] 3136,61 unequal: No Solution Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[72, 57], Operations: ['4+8=12', '45+12=57'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 72*57=4104, Resulting Numbers: [4104] 4104,61 unequal: No Solution Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[45, 60], Operations: ['4+8=12', '72-12=60'] Exploring Operation: 45+60=105, Resulting Numbers: [105] 105,61 unequal: No Solution Exploring Operation: 45*60=2700, Resulting Numbers: [2700] 2700,61 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[72, 41], Operations: ['4+45=49', '49-8=41'] Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,61 unequal: No Solution Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,61 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[49, 80], Operations: ['4+45=49', '72+8=80'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 49*80=3920, Resulting Numbers: [3920] 3920,61 unequal: No Solution Exploring Operation: 49+80=129, Resulting Numbers: [129] 129,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[72, 33], Operations: ['4+8=12', '45-12=33'] Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 72*33=2376, Resulting Numbers: [2376] 2376,61 unequal: No Solution Exploring Operation: 72+33=105, Resulting Numbers: [105] 105,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[45, 84], Operations: ['4+8=12', '72+12=84'] Exploring Operation: 45+84=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 45*84=3780, Resulting Numbers: [3780] 3780,61 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 24, 11, 82, 48 ]
91
[ "48/24=2", "11+82=93", "93-2=91" ]
Current State: 91:[24, 11, 82, 48], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [11, 82, 2] Generated Node #2: [11, 82, 2] from Operation: 48/24=2 Current State: 91:[11, 82, 2], Operations: ['48/24=2'] Exploring Operation: 11+82=93, Resulting Numbers: [2, 93] Generated Node #3: [2, 93] from Operation: 11+82=93 Current State: 91:[2, 93], Operations: ['48/24=2', '11+82=93'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[24, 11, 82, 48], Operations: [] Exploring Operation: 48-24=24, Resulting Numbers: [11, 82, 24] Generated Node #0,0: 91:[11, 82, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [11, 82, 2] Generated Node #0,1: 91:[11, 82, 2] Operation: 48/24=2 Exploring Operation: 24+48=72, Resulting Numbers: [11, 82, 72] Generated Node #0,2: 91:[11, 82, 72] Operation: 24+48=72 Moving to Node #0,1 Current State: 91:[11, 82, 2], Operations: ['48/24=2'] Exploring Operation: 11+82=93, Resulting Numbers: [2, 93] Generated Node #0,1,0: 91:[2, 93] Operation: 11+82=93 Exploring Operation: 82+2=84, Resulting Numbers: [11, 84] Generated Node #0,1,1: 91:[11, 84] Operation: 82+2=84 Exploring Operation: 11+2=13, Resulting Numbers: [82, 13] Generated Node #0,1,2: 91:[82, 13] Operation: 11+2=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[2, 93], Operations: ['48/24=2', '11+82=93'] Exploring Operation: 2*93=186, Resulting Numbers: [186] 186,91 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[24, 11, 82, 48], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [11, 82, 2] Generated Node #0,1: 91:[11, 82, 2] Operation: 48/24=2 Moving to Node #0,1 Current State: 91:[11, 82, 2], Operations: ['48/24=2'] Exploring Operation: 11+82=93, Resulting Numbers: [2, 93] Generated Node #0,1,0: 91:[2, 93] Operation: 11+82=93 Moving to Node #0,1,0 Current State: 91:[2, 93], Operations: ['48/24=2', '11+82=93'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 77, 72, 48, 16 ]
32
[ "77-72=5", "16*5=80", "80-48=32" ]
Current State: 32:[77, 72, 48, 16], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [48, 16, 5] Generated Node #2: [48, 16, 5] from Operation: 77-72=5 Current State: 32:[48, 16, 5], Operations: ['77-72=5'] Exploring Operation: 16*5=80, Resulting Numbers: [48, 80] Generated Node #3: [48, 80] from Operation: 16*5=80 Current State: 32:[48, 80], Operations: ['77-72=5', '16*5=80'] Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[77, 72, 48, 16], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [48, 16, 5] Generated Node #0,0: 32:[48, 16, 5] Operation: 77-72=5 Moving to Node #0,0 Current State: 32:[48, 16, 5], Operations: ['77-72=5'] Exploring Operation: 48-16=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 32:[5, 32] Operation: 48-16=32 Moving to Node #0,0,0 Current State: 32:[5, 32], Operations: ['77-72=5', '48-16=32'] Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,32 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 20, 2, 24, 4 ]
68
[ "20*2=40", "24+4=28", "40+28=68" ]
Current State: 68:[20, 2, 24, 4], Operations: [] Exploring Operation: 20*2=40, Resulting Numbers: [24, 4, 40] Generated Node #2: [24, 4, 40] from Operation: 20*2=40 Current State: 68:[24, 4, 40], Operations: ['20*2=40'] Exploring Operation: 24+4=28, Resulting Numbers: [40, 28] Generated Node #3: [40, 28] from Operation: 24+4=28 Current State: 68:[40, 28], Operations: ['20*2=40', '24+4=28'] Exploring Operation: 40+28=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[20, 2, 24, 4], Operations: [] Exploring Operation: 20-2=18, Resulting Numbers: [24, 4, 18] Generated Node #0,0: 68:[24, 4, 18] Operation: 20-2=18 Exploring Operation: 24-20=4, Resulting Numbers: [2, 4, 4] Generated Node #0,1: 68:[2, 4, 4] Operation: 24-20=4 Exploring Operation: 24-4=20, Resulting Numbers: [20, 2, 20] Generated Node #0,2: 68:[20, 2, 20] Operation: 24-4=20 Exploring Operation: 24/4=6, Resulting Numbers: [20, 2, 6] Generated Node #0,3: 68:[20, 2, 6] Operation: 24/4=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[2, 4, 4], Operations: ['24-20=4'] Exploring Operation: 4/2=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 68:[4, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [4, 2] Generated Node #0,1,1: 68:[4, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 68:[4, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [4, 2] Generated Node #0,1,3: 68:[4, 2] Operation: 4-2=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[4, 2], Operations: ['24-20=4', '4/2=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,68 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[4, 2], Operations: ['24-20=4', '4-2=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,68 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 68:[4, 2], Operations: ['24-20=4', '4/2=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 68:[4, 2], Operations: ['24-20=4', '4-2=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,68 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[20, 2, 6], Operations: ['24/4=6'] Exploring Operation: 20-2=18, Resulting Numbers: [6, 18] Generated Node #0,3,0: 68:[6, 18] Operation: 20-2=18 Exploring Operation: 6/2=3, Resulting Numbers: [20, 3] Generated Node #0,3,1: 68:[20, 3] Operation: 6/2=3 Exploring Operation: 20-6=14, Resulting Numbers: [2, 14] Generated Node #0,3,2: 68:[2, 14] Operation: 20-6=14 Exploring Operation: 6-2=4, Resulting Numbers: [20, 4] Generated Node #0,3,3: 68:[20, 4] Operation: 6-2=4 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 68:[6, 18], Operations: ['24/4=6', '20-2=18'] Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,68 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 68:[2, 14], Operations: ['24/4=6', '20-6=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 68:[20, 4], Operations: ['24/4=6', '6-2=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 68:[20, 3], Operations: ['24/4=6', '6/2=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[20, 2, 20], Operations: ['24-4=20'] Exploring Operation: 20-2=18, Resulting Numbers: [20, 18] Generated Node #0,2,0: 68:[20, 18] Operation: 20-2=18 Exploring Operation: 20-20=0, Resulting Numbers: [2, 0] Generated Node #0,2,1: 68:[2, 0] Operation: 20-20=0 Exploring Operation: 20/20=1, Resulting Numbers: [2, 1] Generated Node #0,2,2: 68:[2, 1] Operation: 20/20=1 Exploring Operation: 20-2=18, Resulting Numbers: [20, 18] Generated Node #0,2,3: 68:[20, 18] Operation: 20-2=18 Moving to Node #0,2,2 Current State: 68:[2, 1], Operations: ['24-4=20', '20/20=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[2, 0], Operations: ['24-4=20', '20-20=0'] Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[20, 18], Operations: ['24-4=20', '20-2=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,68 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[20, 18], Operations: ['24-4=20', '20-2=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,68 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[24, 4, 18], Operations: ['20-2=18'] Exploring Operation: 24+4=28, Resulting Numbers: [18, 28] Generated Node #0,0,0: 68:[18, 28] Operation: 24+4=28 Exploring Operation: 24/4=6, Resulting Numbers: [18, 6] Generated Node #0,0,1: 68:[18, 6] Operation: 24/4=6 Exploring Operation: 24-18=6, Resulting Numbers: [4, 6] Generated Node #0,0,2: 68:[4, 6] Operation: 24-18=6 Exploring Operation: 24-4=20, Resulting Numbers: [18, 20] Generated Node #0,0,3: 68:[18, 20] Operation: 24-4=20 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[4, 6], Operations: ['20-2=18', '24-18=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[18, 6], Operations: ['20-2=18', '24/4=6'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 18*6=108, Resulting Numbers: [108] 108,68 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 68:[18, 20], Operations: ['20-2=18', '24-4=20'] Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,68 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[18, 28], Operations: ['20-2=18', '24+4=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 24, 55, 37, 10 ]
16
[ "55-24=31", "37+10=47", "47-31=16" ]
Current State: 16:[24, 55, 37, 10], Operations: [] Exploring Operation: 55-24=31, Resulting Numbers: [37, 10, 31] Generated Node #2: [37, 10, 31] from Operation: 55-24=31 Current State: 16:[37, 10, 31], Operations: ['55-24=31'] Exploring Operation: 37+10=47, Resulting Numbers: [31, 47] Generated Node #3: [31, 47] from Operation: 37+10=47 Current State: 16:[31, 47], Operations: ['55-24=31', '37+10=47'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[24, 55, 37, 10], Operations: [] Exploring Operation: 55-37=18, Resulting Numbers: [24, 10, 18] Generated Node #0,0: 16:[24, 10, 18] Operation: 55-37=18 Moving to Node #0,0 Current State: 16:[24, 10, 18], Operations: ['55-37=18'] Exploring Operation: 24-10=14, Resulting Numbers: [18, 14] Generated Node #0,0,0: 16:[18, 14] Operation: 24-10=14 Moving to Node #0,0,0 Current State: 16:[18, 14], Operations: ['55-37=18', '24-10=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,16 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 87, 4, 89, 12 ]
16
[ "89-87=2", "12-4=8", "2*8=16" ]
Current State: 16:[87, 4, 89, 12], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [4, 12, 2] Generated Node #2: [4, 12, 2] from Operation: 89-87=2 Current State: 16:[4, 12, 2], Operations: ['89-87=2'] Exploring Operation: 12-4=8, Resulting Numbers: [2, 8] Generated Node #3: [2, 8] from Operation: 12-4=8 Current State: 16:[2, 8], Operations: ['89-87=2', '12-4=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[87, 4, 89, 12], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [4, 12, 2] Generated Node #0,0: 16:[4, 12, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 16:[4, 12, 2], Operations: ['89-87=2'] Exploring Operation: 4+12=16, Resulting Numbers: [2, 16] Generated Node #0,0,0: 16:[2, 16] Operation: 4+12=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[2, 16], Operations: ['89-87=2', '4+12=16'] Exploring Operation: 16/2=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
sum_heuristic
[ 41, 78, 14, 83 ]
32
[ "78-41=37", "83-14=69", "69-37=32" ]
Current State: 32:[41, 78, 14, 83], Operations: [] Exploring Operation: 78-41=37, Resulting Numbers: [14, 83, 37] Generated Node #2: [14, 83, 37] from Operation: 78-41=37 Current State: 32:[14, 83, 37], Operations: ['78-41=37'] Exploring Operation: 83-14=69, Resulting Numbers: [37, 69] Generated Node #3: [37, 69] from Operation: 83-14=69 Current State: 32:[37, 69], Operations: ['78-41=37', '83-14=69'] Exploring Operation: 69-37=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[41, 78, 14, 83], Operations: [] Exploring Operation: 83-41=42, Resulting Numbers: [78, 14, 42] Generated Node #0,0: 32:[78, 14, 42] Operation: 83-41=42 Exploring Operation: 83-78=5, Resulting Numbers: [41, 14, 5] Generated Node #0,1: 32:[41, 14, 5] Operation: 83-78=5 Exploring Operation: 78-41=37, Resulting Numbers: [14, 83, 37] Generated Node #0,2: 32:[14, 83, 37] Operation: 78-41=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[41, 14, 5], Operations: ['83-78=5'] Exploring Operation: 41-14=27, Resulting Numbers: [5, 27] Generated Node #0,1,0: 32:[5, 27] Operation: 41-14=27 Exploring Operation: 14-5=9, Resulting Numbers: [41, 9] Generated Node #0,1,1: 32:[41, 9] Operation: 14-5=9 Exploring Operation: 41-5=36, Resulting Numbers: [14, 36] Generated Node #0,1,2: 32:[14, 36] Operation: 41-5=36 Moving to Node #0,1,0 Current State: 32:[5, 27], Operations: ['83-78=5', '41-14=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[41, 78, 14, 83], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [41, 14, 5] Generated Node #0,1: 32:[41, 14, 5] Operation: 83-78=5 Moving to Node #0,1 Current State: 32:[41, 14, 5], Operations: ['83-78=5'] Exploring Operation: 41-14=27, Resulting Numbers: [5, 27] Generated Node #0,1,0: 32:[5, 27] Operation: 41-14=27 Moving to Node #0,1,0 Current State: 32:[5, 27], Operations: ['83-78=5', '41-14=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 78, 21, 23, 8 ]
68
[ "78+21=99", "23+8=31", "99-31=68" ]
Current State: 68:[78, 21, 23, 8], Operations: [] Exploring Operation: 78+21=99, Resulting Numbers: [23, 8, 99] Generated Node #2: [23, 8, 99] from Operation: 78+21=99 Current State: 68:[23, 8, 99], Operations: ['78+21=99'] Exploring Operation: 23+8=31, Resulting Numbers: [99, 31] Generated Node #3: [99, 31] from Operation: 23+8=31 Current State: 68:[99, 31], Operations: ['78+21=99', '23+8=31'] Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[78, 21, 23, 8], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [78, 8, 2] Generated Node #0,0: 68:[78, 8, 2] Operation: 23-21=2 Exploring Operation: 78-8=70, Resulting Numbers: [21, 23, 70] Generated Node #0,1: 68:[21, 23, 70] Operation: 78-8=70 Moving to Node #0,1 Current State: 68:[21, 23, 70], Operations: ['78-8=70'] Exploring Operation: 23-21=2, Resulting Numbers: [70, 2] Generated Node #0,1,0: 68:[70, 2] Operation: 23-21=2 Exploring Operation: 21+23=44, Resulting Numbers: [70, 44] Generated Node #0,1,1: 68:[70, 44] Operation: 21+23=44 Moving to Node #0,0 Current State: 68:[78, 8, 2], Operations: ['23-21=2'] Exploring Operation: 78/2=39, Resulting Numbers: [8, 39] Generated Node #0,0,0: 68:[8, 39] Operation: 78/2=39 Exploring Operation: 78-8=70, Resulting Numbers: [2, 70] Generated Node #0,0,1: 68:[2, 70] Operation: 78-8=70 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[2, 70], Operations: ['23-21=2', '78-8=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[78, 21, 23, 8], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [78, 8, 2] Generated Node #0,0: 68:[78, 8, 2] Operation: 23-21=2 Moving to Node #0,0 Current State: 68:[78, 8, 2], Operations: ['23-21=2'] Exploring Operation: 78-8=70, Resulting Numbers: [2, 70] Generated Node #0,0,1: 68:[2, 70] Operation: 78-8=70 Moving to Node #0,0,1 Current State: 68:[2, 70], Operations: ['23-21=2', '78-8=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 89, 52, 92, 20 ]
29
[ "89+52=141", "92+20=112", "141-112=29" ]
Current State: 29:[89, 52, 92, 20], Operations: [] Exploring Operation: 89+52=141, Resulting Numbers: [92, 20, 141] Generated Node #2: [92, 20, 141] from Operation: 89+52=141 Current State: 29:[92, 20, 141], Operations: ['89+52=141'] Exploring Operation: 92+20=112, Resulting Numbers: [141, 112] Generated Node #3: [141, 112] from Operation: 92+20=112 Current State: 29:[141, 112], Operations: ['89+52=141', '92+20=112'] Exploring Operation: 141-112=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[89, 52, 92, 20], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [52, 20, 3] Generated Node #0,0: 29:[52, 20, 3] Operation: 92-89=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[52, 20, 3], Operations: ['92-89=3'] Exploring Operation: 52-20=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 29:[3, 32] Operation: 52-20=32 Moving to Node #0,0,0 Current State: 29:[3, 32], Operations: ['92-89=3', '52-20=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[89, 52, 92, 20], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [52, 20, 3] Generated Node #0,0: 29:[52, 20, 3] Operation: 92-89=3 Moving to Node #0,0 Current State: 29:[52, 20, 3], Operations: ['92-89=3'] Exploring Operation: 52-20=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 29:[3, 32] Operation: 52-20=32 Moving to Node #0,0,0 Current State: 29:[3, 32], Operations: ['92-89=3', '52-20=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 88, 27, 21, 63 ]
73
[ "88+27=115", "63-21=42", "115-42=73" ]
Current State: 73:[88, 27, 21, 63], Operations: [] Exploring Operation: 88+27=115, Resulting Numbers: [21, 63, 115] Generated Node #2: [21, 63, 115] from Operation: 88+27=115 Current State: 73:[21, 63, 115], Operations: ['88+27=115'] Exploring Operation: 63-21=42, Resulting Numbers: [115, 42] Generated Node #3: [115, 42] from Operation: 63-21=42 Current State: 73:[115, 42], Operations: ['88+27=115', '63-21=42'] Exploring Operation: 115-42=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[88, 27, 21, 63], Operations: [] Exploring Operation: 88-27=61, Resulting Numbers: [21, 63, 61] Generated Node #0,0: 73:[21, 63, 61] Operation: 88-27=61 Exploring Operation: 88-21=67, Resulting Numbers: [27, 63, 67] Generated Node #0,1: 73:[27, 63, 67] Operation: 88-21=67 Exploring Operation: 27+21=48, Resulting Numbers: [88, 63, 48] Generated Node #0,2: 73:[88, 63, 48] Operation: 27+21=48 Exploring Operation: 21+63=84, Resulting Numbers: [88, 27, 84] Generated Node #0,3: 73:[88, 27, 84] Operation: 21+63=84 Moving to Node #0,2 Current State: 73:[88, 63, 48], Operations: ['27+21=48'] Exploring Operation: 88+48=136, Resulting Numbers: [63, 136] Generated Node #0,2,0: 73:[63, 136] Operation: 88+48=136 Exploring Operation: 88-63=25, Resulting Numbers: [48, 25] Generated Node #0,2,1: 73:[48, 25] Operation: 88-63=25 Exploring Operation: 63+48=111, Resulting Numbers: [88, 111] Generated Node #0,2,2: 73:[88, 111] Operation: 63+48=111 Exploring Operation: 88-48=40, Resulting Numbers: [63, 40] Generated Node #0,2,3: 73:[63, 40] Operation: 88-48=40 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[63, 40], Operations: ['27+21=48', '88-48=40'] Exploring Operation: 63+40=103, Resulting Numbers: [103] 103,73 unequal: No Solution Exploring Operation: 63*40=2520, Resulting Numbers: [2520] 2520,73 unequal: No Solution Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[88, 111], Operations: ['27+21=48', '63+48=111'] Exploring Operation: 88+111=199, Resulting Numbers: [199] 199,73 unequal: No Solution Exploring Operation: 88*111=9768, Resulting Numbers: [9768] 9768,73 unequal: No Solution Exploring Operation: 111-88=23, Resulting Numbers: [23] 23,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[63, 136], Operations: ['27+21=48', '88+48=136'] Exploring Operation: 63*136=8568, Resulting Numbers: [8568] 8568,73 unequal: No Solution Exploring Operation: 63+136=199, Resulting Numbers: [199] 199,73 unequal: No Solution Exploring Operation: 136-63=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[88, 27, 21, 63], Operations: [] Exploring Operation: 27+21=48, Resulting Numbers: [88, 63, 48] Generated Node #0,2: 73:[88, 63, 48] Operation: 27+21=48 Moving to Node #0,2 Current State: 73:[88, 63, 48], Operations: ['27+21=48'] Exploring Operation: 88+48=136, Resulting Numbers: [63, 136] Generated Node #0,2,0: 73:[63, 136] Operation: 88+48=136 Moving to Node #0,2,0 Current State: 73:[63, 136], Operations: ['27+21=48', '88+48=136'] Exploring Operation: 136-63=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 92, 57, 44, 66 ]
54
[ "57*44=2508", "2508/66=38", "92-38=54" ]
Current State: 54:[92, 57, 44, 66], Operations: [] Exploring Operation: 57*44=2508, Resulting Numbers: [92, 66, 2508] Generated Node #2: [92, 66, 2508] from Operation: 57*44=2508 Current State: 54:[92, 66, 2508], Operations: ['57*44=2508'] Exploring Operation: 2508/66=38, Resulting Numbers: [92, 38] Generated Node #3: [92, 38] from Operation: 2508/66=38 Current State: 54:[92, 38], Operations: ['57*44=2508', '2508/66=38'] Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[92, 57, 44, 66], Operations: [] Exploring Operation: 92-44=48, Resulting Numbers: [57, 66, 48] Generated Node #0,0: 54:[57, 66, 48] Operation: 92-44=48 Exploring Operation: 92-57=35, Resulting Numbers: [44, 66, 35] Generated Node #0,1: 54:[44, 66, 35] Operation: 92-57=35 Exploring Operation: 92-66=26, Resulting Numbers: [57, 44, 26] Generated Node #0,2: 54:[57, 44, 26] Operation: 92-66=26 Moving to Node #0,2 Current State: 54:[57, 44, 26], Operations: ['92-66=26'] Exploring Operation: 57-44=13, Resulting Numbers: [26, 13] Generated Node #0,2,0: 54:[26, 13] Operation: 57-44=13 Exploring Operation: 44-26=18, Resulting Numbers: [57, 18] Generated Node #0,2,1: 54:[57, 18] Operation: 44-26=18 Exploring Operation: 57-26=31, Resulting Numbers: [44, 31] Generated Node #0,2,2: 54:[44, 31] Operation: 57-26=31 Moving to Node #0,0 Current State: 54:[57, 66, 48], Operations: ['92-44=48'] Exploring Operation: 66-57=9, Resulting Numbers: [48, 9] Generated Node #0,0,0: 54:[48, 9] Operation: 66-57=9 Exploring Operation: 66-48=18, Resulting Numbers: [57, 18] Generated Node #0,0,1: 54:[57, 18] Operation: 66-48=18 Exploring Operation: 57-48=9, Resulting Numbers: [66, 9] Generated Node #0,0,2: 54:[66, 9] Operation: 57-48=9 Moving to Node #0,1 Current State: 54:[44, 66, 35], Operations: ['92-57=35'] Exploring Operation: 44-35=9, Resulting Numbers: [66, 9] Generated Node #0,1,0: 54:[66, 9] Operation: 44-35=9 Exploring Operation: 66-44=22, Resulting Numbers: [35, 22] Generated Node #0,1,1: 54:[35, 22] Operation: 66-44=22 Exploring Operation: 66-35=31, Resulting Numbers: [44, 31] Generated Node #0,1,2: 54:[44, 31] Operation: 66-35=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[66, 9], Operations: ['92-57=35', '44-35=9'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 66*9=594, Resulting Numbers: [594] 594,54 unequal: No Solution Exploring Operation: 66+9=75, Resulting Numbers: [75] 75,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[35, 22], Operations: ['92-57=35', '66-44=22'] Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,54 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[44, 31], Operations: ['92-57=35', '66-35=31'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 44+31=75, Resulting Numbers: [75] 75,54 unequal: No Solution Exploring Operation: 44*31=1364, Resulting Numbers: [1364] 1364,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 54:[57, 18], Operations: ['92-66=26', '44-26=18'] Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,54 unequal: No Solution Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,54 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[57, 18], Operations: ['92-44=48', '66-48=18'] Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,54 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,54 unequal: No Solution Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[26, 13], Operations: ['92-66=26', '57-44=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[48, 9], Operations: ['92-44=48', '66-57=9'] Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,54 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[66, 9], Operations: ['92-44=48', '57-48=9'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 66*9=594, Resulting Numbers: [594] 594,54 unequal: No Solution Exploring Operation: 66+9=75, Resulting Numbers: [75] 75,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[44, 31], Operations: ['92-66=26', '57-26=31'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 44*31=1364, Resulting Numbers: [1364] 1364,54 unequal: No Solution Exploring Operation: 44+31=75, Resulting Numbers: [75] 75,54 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 16, 55, 84, 97 ]
14
[ "97-55=42", "84/42=2", "16-2=14" ]
Current State: 14:[16, 55, 84, 97], Operations: [] Exploring Operation: 97-55=42, Resulting Numbers: [16, 84, 42] Generated Node #2: [16, 84, 42] from Operation: 97-55=42 Current State: 14:[16, 84, 42], Operations: ['97-55=42'] Exploring Operation: 84/42=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 84/42=2 Current State: 14:[16, 2], Operations: ['97-55=42', '84/42=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[16, 55, 84, 97], Operations: [] Exploring Operation: 97-84=13, Resulting Numbers: [16, 55, 13] Generated Node #0,0: 14:[16, 55, 13] Operation: 97-84=13 Exploring Operation: 84-55=29, Resulting Numbers: [16, 97, 29] Generated Node #0,1: 14:[16, 97, 29] Operation: 84-55=29 Moving to Node #0,0 Current State: 14:[16, 55, 13], Operations: ['97-84=13'] Exploring Operation: 55-16=39, Resulting Numbers: [13, 39] Generated Node #0,0,0: 14:[13, 39] Operation: 55-16=39 Exploring Operation: 55-13=42, Resulting Numbers: [16, 42] Generated Node #0,0,1: 14:[16, 42] Operation: 55-13=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[13, 39], Operations: ['97-84=13', '55-16=39'] Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[16, 42], Operations: ['97-84=13', '55-13=42'] Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,14 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 14:[16, 97, 29], Operations: ['84-55=29'] Exploring Operation: 97-16=81, Resulting Numbers: [29, 81] Generated Node #0,1,0: 14:[29, 81] Operation: 97-16=81 Exploring Operation: 97-29=68, Resulting Numbers: [16, 68] Generated Node #0,1,1: 14:[16, 68] Operation: 97-29=68 Moving to Node #0,1,1 Current State: 14:[16, 68], Operations: ['84-55=29', '97-29=68'] Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 16+68=84, Resulting Numbers: [84] 84,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[29, 81], Operations: ['84-55=29', '97-16=81'] Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 29+81=110, Resulting Numbers: [110] 110,14 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 33, 4, 29, 82 ]
80
[ "33+29=62", "82-62=20", "4*20=80" ]
Current State: 80:[33, 4, 29, 82], Operations: [] Exploring Operation: 33+29=62, Resulting Numbers: [4, 82, 62] Generated Node #2: [4, 82, 62] from Operation: 33+29=62 Current State: 80:[4, 82, 62], Operations: ['33+29=62'] Exploring Operation: 82-62=20, Resulting Numbers: [4, 20] Generated Node #3: [4, 20] from Operation: 82-62=20 Current State: 80:[4, 20], Operations: ['33+29=62', '82-62=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[33, 4, 29, 82], Operations: [] Exploring Operation: 33+4=37, Resulting Numbers: [29, 82, 37] Generated Node #0,0: 80:[29, 82, 37] Operation: 33+4=37 Exploring Operation: 33-29=4, Resulting Numbers: [4, 82, 4] Generated Node #0,1: 80:[4, 82, 4] Operation: 33-29=4 Moving to Node #0,1 Current State: 80:[4, 82, 4], Operations: ['33-29=4'] Exploring Operation: 4+4=8, Resulting Numbers: [82, 8] Generated Node #0,1,0: 80:[82, 8] Operation: 4+4=8 Exploring Operation: 82-4=78, Resulting Numbers: [4, 78] Generated Node #0,1,1: 80:[4, 78] Operation: 82-4=78 Moving to Node #0,0 Current State: 80:[29, 82, 37], Operations: ['33+4=37'] Exploring Operation: 37-29=8, Resulting Numbers: [82, 8] Generated Node #0,0,0: 80:[82, 8] Operation: 37-29=8 Exploring Operation: 82-37=45, Resulting Numbers: [29, 45] Generated Node #0,0,1: 80:[29, 45] Operation: 82-37=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[82, 8], Operations: ['33+4=37', '37-29=8'] Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,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,1 Current State: 80:[29, 45], Operations: ['33+4=37', '82-37=45'] Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,80 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: 80:[82, 8], Operations: ['33-29=4', '4+4=8'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[4, 78], Operations: ['33-29=4', '82-4=78'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,80 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 61, 21, 53, 57 ]
78
[ "61+21=82", "57-53=4", "82-4=78" ]
Current State: 78:[61, 21, 53, 57], Operations: [] Exploring Operation: 61+21=82, Resulting Numbers: [53, 57, 82] Generated Node #2: [53, 57, 82] from Operation: 61+21=82 Current State: 78:[53, 57, 82], Operations: ['61+21=82'] Exploring Operation: 57-53=4, Resulting Numbers: [82, 4] Generated Node #3: [82, 4] from Operation: 57-53=4 Current State: 78:[82, 4], Operations: ['61+21=82', '57-53=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[61, 21, 53, 57], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [21, 53, 4] Generated Node #0,0: 78:[21, 53, 4] Operation: 61-57=4 Exploring Operation: 57-53=4, Resulting Numbers: [61, 21, 4] Generated Node #0,1: 78:[61, 21, 4] Operation: 57-53=4 Exploring Operation: 61-53=8, Resulting Numbers: [21, 57, 8] Generated Node #0,2: 78:[21, 57, 8] Operation: 61-53=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[21, 53, 4], Operations: ['61-57=4'] Exploring Operation: 21+4=25, Resulting Numbers: [53, 25] Generated Node #0,0,0: 78:[53, 25] Operation: 21+4=25 Exploring Operation: 21+53=74, Resulting Numbers: [4, 74] Generated Node #0,0,1: 78:[4, 74] Operation: 21+53=74 Exploring Operation: 53-21=32, Resulting Numbers: [4, 32] Generated Node #0,0,2: 78:[4, 32] Operation: 53-21=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[4, 74], Operations: ['61-57=4', '21+53=74'] Exploring Operation: 4*74=296, Resulting Numbers: [296] 296,78 unequal: No Solution Exploring Operation: 4+74=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[61, 21, 53, 57], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [21, 53, 4] Generated Node #0,0: 78:[21, 53, 4] Operation: 61-57=4 Moving to Node #0,0 Current State: 78:[21, 53, 4], Operations: ['61-57=4'] Exploring Operation: 21+53=74, Resulting Numbers: [4, 74] Generated Node #0,0,1: 78:[4, 74] Operation: 21+53=74 Moving to Node #0,0,1 Current State: 78:[4, 74], Operations: ['61-57=4', '21+53=74'] Exploring Operation: 4+74=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 38, 32, 11, 77 ]
42
[ "38-32=6", "77/11=7", "6*7=42" ]
Current State: 42:[38, 32, 11, 77], Operations: [] Exploring Operation: 38-32=6, Resulting Numbers: [11, 77, 6] Generated Node #2: [11, 77, 6] from Operation: 38-32=6 Current State: 42:[11, 77, 6], Operations: ['38-32=6'] Exploring Operation: 77/11=7, Resulting Numbers: [6, 7] Generated Node #3: [6, 7] from Operation: 77/11=7 Current State: 42:[6, 7], Operations: ['38-32=6', '77/11=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[38, 32, 11, 77], Operations: [] Exploring Operation: 77-32=45, Resulting Numbers: [38, 11, 45] Generated Node #0,0: 42:[38, 11, 45] Operation: 77-32=45 Moving to Node #0,0 Current State: 42:[38, 11, 45], Operations: ['77-32=45'] Exploring Operation: 45-38=7, Resulting Numbers: [11, 7] Generated Node #0,0,0: 42:[11, 7] Operation: 45-38=7 Moving to Node #0,0,0 Current State: 42:[11, 7], Operations: ['77-32=45', '45-38=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,42 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 56, 25, 75, 30 ]
83
[ "56+30=86", "75/25=3", "86-3=83" ]
Current State: 83:[56, 25, 75, 30], Operations: [] Exploring Operation: 56+30=86, Resulting Numbers: [25, 75, 86] Generated Node #2: [25, 75, 86] from Operation: 56+30=86 Current State: 83:[25, 75, 86], Operations: ['56+30=86'] Exploring Operation: 75/25=3, Resulting Numbers: [86, 3] Generated Node #3: [86, 3] from Operation: 75/25=3 Current State: 83:[86, 3], Operations: ['56+30=86', '75/25=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[56, 25, 75, 30], Operations: [] Exploring Operation: 56+30=86, Resulting Numbers: [25, 75, 86] Generated Node #0,0: 83:[25, 75, 86] Operation: 56+30=86 Exploring Operation: 25+30=55, Resulting Numbers: [56, 75, 55] Generated Node #0,1: 83:[56, 75, 55] Operation: 25+30=55 Exploring Operation: 56+25=81, Resulting Numbers: [75, 30, 81] Generated Node #0,2: 83:[75, 30, 81] Operation: 56+25=81 Moving to Node #0,1 Current State: 83:[56, 75, 55], Operations: ['25+30=55'] Exploring Operation: 56+75=131, Resulting Numbers: [55, 131] Generated Node #0,1,0: 83:[55, 131] Operation: 56+75=131 Exploring Operation: 75+55=130, Resulting Numbers: [56, 130] Generated Node #0,1,1: 83:[56, 130] Operation: 75+55=130 Exploring Operation: 56+55=111, Resulting Numbers: [75, 111] Generated Node #0,1,2: 83:[75, 111] Operation: 56+55=111 Moving to Node #0,2 Current State: 83:[75, 30, 81], Operations: ['56+25=81'] Exploring Operation: 75-30=45, Resulting Numbers: [81, 45] Generated Node #0,2,0: 83:[81, 45] Operation: 75-30=45 Exploring Operation: 75+30=105, Resulting Numbers: [81, 105] Generated Node #0,2,1: 83:[81, 105] Operation: 75+30=105 Exploring Operation: 30+81=111, Resulting Numbers: [75, 111] Generated Node #0,2,2: 83:[75, 111] Operation: 30+81=111 Moving to Node #0,0 Current State: 83:[25, 75, 86], Operations: ['56+30=86'] Exploring Operation: 86-25=61, Resulting Numbers: [75, 61] Generated Node #0,0,0: 83:[75, 61] Operation: 86-25=61 Exploring Operation: 75-25=50, Resulting Numbers: [86, 50] Generated Node #0,0,1: 83:[86, 50] Operation: 75-25=50 Exploring Operation: 25+75=100, Resulting Numbers: [86, 100] Generated Node #0,0,2: 83:[86, 100] Operation: 25+75=100 Moving to Node #0,0,2 Current State: 83:[86, 100], Operations: ['56+30=86', '25+75=100'] Exploring Operation: 100-86=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 86*100=8600, Resulting Numbers: [8600] 8600,83 unequal: No Solution Exploring Operation: 86+100=186, Resulting Numbers: [186] 186,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[81, 105], Operations: ['56+25=81', '75+30=105'] Exploring Operation: 81*105=8505, Resulting Numbers: [8505] 8505,83 unequal: No Solution Exploring Operation: 105-81=24, Resulting Numbers: [24] 24,83 unequal: No Solution Exploring Operation: 81+105=186, Resulting Numbers: [186] 186,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[75, 61], Operations: ['56+30=86', '86-25=61'] Exploring Operation: 75-61=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 75*61=4575, Resulting Numbers: [4575] 4575,83 unequal: No Solution Exploring Operation: 75+61=136, Resulting Numbers: [136] 136,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[86, 50], Operations: ['56+30=86', '75-25=50'] Exploring Operation: 86+50=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 86-50=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 86*50=4300, Resulting Numbers: [4300] 4300,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[75, 111], Operations: ['56+25=81', '30+81=111'] Exploring Operation: 75*111=8325, Resulting Numbers: [8325] 8325,83 unequal: No Solution Exploring Operation: 111-75=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 75+111=186, Resulting Numbers: [186] 186,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[75, 111], Operations: ['25+30=55', '56+55=111'] Exploring Operation: 111-75=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 75*111=8325, Resulting Numbers: [8325] 8325,83 unequal: No Solution Exploring Operation: 75+111=186, Resulting Numbers: [186] 186,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[81, 45], Operations: ['56+25=81', '75-30=45'] Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 81*45=3645, Resulting Numbers: [3645] 3645,83 unequal: No Solution Exploring Operation: 81+45=126, Resulting Numbers: [126] 126,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[56, 130], Operations: ['25+30=55', '75+55=130'] Exploring Operation: 56+130=186, Resulting Numbers: [186] 186,83 unequal: No Solution Exploring Operation: 130-56=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 56*130=7280, Resulting Numbers: [7280] 7280,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[55, 131], Operations: ['25+30=55', '56+75=131'] Exploring Operation: 55*131=7205, Resulting Numbers: [7205] 7205,83 unequal: No Solution Exploring Operation: 55+131=186, Resulting Numbers: [186] 186,83 unequal: No Solution Exploring Operation: 131-55=76, Resulting Numbers: [76] 76,83 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 98, 4, 2, 39 ]
15
[ "98-2=96", "96/4=24", "39-24=15" ]
Current State: 15:[98, 4, 2, 39], Operations: [] Exploring Operation: 98-2=96, Resulting Numbers: [4, 39, 96] Generated Node #2: [4, 39, 96] from Operation: 98-2=96 Current State: 15:[4, 39, 96], Operations: ['98-2=96'] Exploring Operation: 96/4=24, Resulting Numbers: [39, 24] Generated Node #3: [39, 24] from Operation: 96/4=24 Current State: 15:[39, 24], Operations: ['98-2=96', '96/4=24'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[98, 4, 2, 39], Operations: [] Exploring Operation: 39-4=35, Resulting Numbers: [98, 2, 35] Generated Node #0,0: 15:[98, 2, 35] Operation: 39-4=35 Exploring Operation: 98-39=59, Resulting Numbers: [4, 2, 59] Generated Node #0,1: 15:[4, 2, 59] Operation: 98-39=59 Exploring Operation: 98-4=94, Resulting Numbers: [2, 39, 94] Generated Node #0,2: 15:[2, 39, 94] Operation: 98-4=94 Exploring Operation: 98-2=96, Resulting Numbers: [4, 39, 96] Generated Node #0,3: 15:[4, 39, 96] Operation: 98-2=96 Exploring Operation: 98/2=49, Resulting Numbers: [4, 39, 49] Generated Node #0,4: 15:[4, 39, 49] Operation: 98/2=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[4, 2, 59], Operations: ['98-39=59'] Exploring Operation: 59-4=55, Resulting Numbers: [2, 55] Generated Node #0,1,0: 15:[2, 55] Operation: 59-4=55 Exploring Operation: 4/2=2, Resulting Numbers: [59, 2] Generated Node #0,1,1: 15:[59, 2] Operation: 4/2=2 Exploring Operation: 59-2=57, Resulting Numbers: [4, 57] Generated Node #0,1,2: 15:[4, 57] Operation: 59-2=57 Exploring Operation: 4-2=2, Resulting Numbers: [59, 2] Generated Node #0,1,3: 15:[59, 2] Operation: 4-2=2 Exploring Operation: 4+2=6, Resulting Numbers: [59, 6] Generated Node #0,1,4: 15:[59, 6] Operation: 4+2=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[2, 55], Operations: ['98-39=59', '59-4=55'] Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,15 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[4, 57], Operations: ['98-39=59', '59-2=57'] Exploring Operation: 4+57=61, Resulting Numbers: [61] 61,15 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 4*57=228, Resulting Numbers: [228] 228,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[59, 2], Operations: ['98-39=59', '4/2=2'] Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,15 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,15 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[59, 2], Operations: ['98-39=59', '4-2=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,15 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 15:[59, 6], Operations: ['98-39=59', '4+2=6'] Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,15 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 15:[4, 39, 49], Operations: ['98/2=49'] Exploring Operation: 4+49=53, Resulting Numbers: [39, 53] Generated Node #0,4,0: 15:[39, 53] Operation: 4+49=53 Exploring Operation: 49-39=10, Resulting Numbers: [4, 10] Generated Node #0,4,1: 15:[4, 10] Operation: 49-39=10 Exploring Operation: 4+39=43, Resulting Numbers: [49, 43] Generated Node #0,4,2: 15:[49, 43] Operation: 4+39=43 Exploring Operation: 49-4=45, Resulting Numbers: [39, 45] Generated Node #0,4,3: 15:[39, 45] Operation: 49-4=45 Exploring Operation: 39-4=35, Resulting Numbers: [49, 35] Generated Node #0,4,4: 15:[49, 35] Operation: 39-4=35 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 15:[4, 10], Operations: ['98/2=49', '49-39=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 15:[39, 45], Operations: ['98/2=49', '49-4=45'] Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 15:[49, 35], Operations: ['98/2=49', '39-4=35'] Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,15 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 15:[39, 53], Operations: ['98/2=49', '4+49=53'] Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,15 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 15:[49, 43], Operations: ['98/2=49', '4+39=43'] Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,15 unequal: No Solution Exploring Operation: 49*43=2107, Resulting Numbers: [2107] 2107,15 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[98, 2, 35], Operations: ['39-4=35'] Exploring Operation: 98-2=96, Resulting Numbers: [35, 96] Generated Node #0,0,0: 15:[35, 96] Operation: 98-2=96 Exploring Operation: 98+2=100, Resulting Numbers: [35, 100] Generated Node #0,0,1: 15:[35, 100] Operation: 98+2=100 Exploring Operation: 35-2=33, Resulting Numbers: [98, 33] Generated Node #0,0,2: 15:[98, 33] Operation: 35-2=33 Exploring Operation: 98/2=49, Resulting Numbers: [35, 49] Generated Node #0,0,3: 15:[35, 49] Operation: 98/2=49 Exploring Operation: 98-35=63, Resulting Numbers: [2, 63] Generated Node #0,0,4: 15:[2, 63] Operation: 98-35=63 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 15:[2, 63], Operations: ['39-4=35', '98-35=63'] Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 15:[35, 49], Operations: ['39-4=35', '98/2=49'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[35, 96], Operations: ['39-4=35', '98-2=96'] Exploring Operation: 35*96=3360, Resulting Numbers: [3360] 3360,15 unequal: No Solution Exploring Operation: 35+96=131, Resulting Numbers: [131] 131,15 unequal: No Solution Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 15:[98, 33], Operations: ['39-4=35', '35-2=33'] Exploring Operation: 98+33=131, Resulting Numbers: [131] 131,15 unequal: No Solution Exploring Operation: 98*33=3234, Resulting Numbers: [3234] 3234,15 unequal: No Solution Exploring Operation: 98-33=65, Resulting Numbers: [65] 65,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[35, 100], Operations: ['39-4=35', '98+2=100'] Exploring Operation: 35*100=3500, Resulting Numbers: [3500] 3500,15 unequal: No Solution Exploring Operation: 35+100=135, Resulting Numbers: [135] 135,15 unequal: No Solution Exploring Operation: 100-35=65, Resulting Numbers: [65] 65,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[2, 39, 94], Operations: ['98-4=94'] Exploring Operation: 94-2=92, Resulting Numbers: [39, 92] Generated Node #0,2,0: 15:[39, 92] Operation: 94-2=92 Exploring Operation: 94-39=55, Resulting Numbers: [2, 55] Generated Node #0,2,1: 15:[2, 55] Operation: 94-39=55 Exploring Operation: 94/2=47, Resulting Numbers: [39, 47] Generated Node #0,2,2: 15:[39, 47] Operation: 94/2=47 Exploring Operation: 2+39=41, Resulting Numbers: [94, 41] Generated Node #0,2,3: 15:[94, 41] Operation: 2+39=41 Exploring Operation: 39-2=37, Resulting Numbers: [94, 37] Generated Node #0,2,4: 15:[94, 37] Operation: 39-2=37 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[2, 55], Operations: ['98-4=94', '94-39=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,15 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[39, 47], Operations: ['98-4=94', '94/2=47'] Exploring Operation: 39+47=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 39*47=1833, Resulting Numbers: [1833] 1833,15 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[39, 92], Operations: ['98-4=94', '94-2=92'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 39+92=131, Resulting Numbers: [131] 131,15 unequal: No Solution Exploring Operation: 39*92=3588, Resulting Numbers: [3588] 3588,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 15:[94, 37], Operations: ['98-4=94', '39-2=37'] Exploring Operation: 94+37=131, Resulting Numbers: [131] 131,15 unequal: No Solution Exploring Operation: 94*37=3478, Resulting Numbers: [3478] 3478,15 unequal: No Solution Exploring Operation: 94-37=57, Resulting Numbers: [57] 57,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 15:[94, 41], Operations: ['98-4=94', '2+39=41'] Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,15 unequal: No Solution Exploring Operation: 94*41=3854, Resulting Numbers: [3854] 3854,15 unequal: No Solution Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[4, 39, 96], Operations: ['98-2=96'] Exploring Operation: 96-39=57, Resulting Numbers: [4, 57] Generated Node #0,3,0: 15:[4, 57] Operation: 96-39=57 Exploring Operation: 39-4=35, Resulting Numbers: [96, 35] Generated Node #0,3,1: 15:[96, 35] Operation: 39-4=35 Exploring Operation: 96-4=92, Resulting Numbers: [39, 92] Generated Node #0,3,2: 15:[39, 92] Operation: 96-4=92 Exploring Operation: 4+39=43, Resulting Numbers: [96, 43] Generated Node #0,3,3: 15:[96, 43] Operation: 4+39=43 Exploring Operation: 96/4=24, Resulting Numbers: [39, 24] Generated Node #0,3,4: 15:[39, 24] Operation: 96/4=24 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 15:[39, 24], Operations: ['98-2=96', '96/4=24'] Exploring Operation: 39*24=936, Resulting Numbers: [936] 936,15 unequal: No Solution Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[98, 4, 2, 39], Operations: [] Exploring Operation: 98-2=96, Resulting Numbers: [4, 39, 96] Generated Node #0,3: 15:[4, 39, 96] Operation: 98-2=96 Moving to Node #0,3 Current State: 15:[4, 39, 96], Operations: ['98-2=96'] Exploring Operation: 96/4=24, Resulting Numbers: [39, 24] Generated Node #0,3,4: 15:[39, 24] Operation: 96/4=24 Moving to Node #0,3,4 Current State: 15:[39, 24], Operations: ['98-2=96', '96/4=24'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.915799
hs_5
mult_heuristic
[ 3, 99, 94, 77 ]
24
[ "99-94=5", "77-5=72", "72/3=24" ]
Current State: 24:[3, 99, 94, 77], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [3, 77, 5] Generated Node #2: [3, 77, 5] from Operation: 99-94=5 Current State: 24:[3, 77, 5], Operations: ['99-94=5'] Exploring Operation: 77-5=72, Resulting Numbers: [3, 72] Generated Node #3: [3, 72] from Operation: 77-5=72 Current State: 24:[3, 72], Operations: ['99-94=5', '77-5=72'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[3, 99, 94, 77], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [3, 94, 22] Generated Node #0,0: 24:[3, 94, 22] Operation: 99-77=22 Exploring Operation: 99-94=5, Resulting Numbers: [3, 77, 5] Generated Node #0,1: 24:[3, 77, 5] Operation: 99-94=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[3, 77, 5], Operations: ['99-94=5'] Exploring Operation: 77-3=74, Resulting Numbers: [5, 74] Generated Node #0,1,0: 24:[5, 74] Operation: 77-3=74 Exploring Operation: 77-5=72, Resulting Numbers: [3, 72] Generated Node #0,1,1: 24:[3, 72] Operation: 77-5=72 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 24:[3, 72], Operations: ['99-94=5', '77-5=72'] Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[3, 99, 94, 77], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [3, 77, 5] Generated Node #0,1: 24:[3, 77, 5] Operation: 99-94=5 Moving to Node #0,1 Current State: 24:[3, 77, 5], Operations: ['99-94=5'] Exploring Operation: 77-5=72, Resulting Numbers: [3, 72] Generated Node #0,1,1: 24:[3, 72] Operation: 77-5=72 Moving to Node #0,1,1 Current State: 24:[3, 72], Operations: ['99-94=5', '77-5=72'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 70, 42, 60, 72 ]
51
[ "72-70=2", "42+60=102", "102/2=51" ]
Current State: 51:[70, 42, 60, 72], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [42, 60, 2] Generated Node #2: [42, 60, 2] from Operation: 72-70=2 Current State: 51:[42, 60, 2], Operations: ['72-70=2'] Exploring Operation: 42+60=102, Resulting Numbers: [2, 102] Generated Node #3: [2, 102] from Operation: 42+60=102 Current State: 51:[2, 102], Operations: ['72-70=2', '42+60=102'] Exploring Operation: 102/2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[70, 42, 60, 72], Operations: [] Exploring Operation: 72-60=12, Resulting Numbers: [70, 42, 12] Generated Node #0,0: 51:[70, 42, 12] Operation: 72-60=12 Exploring Operation: 72-70=2, Resulting Numbers: [42, 60, 2] Generated Node #0,1: 51:[42, 60, 2] Operation: 72-70=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[42, 60, 2], Operations: ['72-70=2'] Exploring Operation: 60-42=18, Resulting Numbers: [2, 18] Generated Node #0,1,0: 51:[2, 18] Operation: 60-42=18 Exploring Operation: 42/2=21, Resulting Numbers: [60, 21] Generated Node #0,1,1: 51:[60, 21] Operation: 42/2=21 Moving to Node #0,1,0 Current State: 51:[2, 18], Operations: ['72-70=2', '60-42=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[60, 21], Operations: ['72-70=2', '42/2=21'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[70, 42, 12], Operations: ['72-60=12'] Exploring Operation: 70-12=58, Resulting Numbers: [42, 58] Generated Node #0,0,0: 51:[42, 58] Operation: 70-12=58 Exploring Operation: 70-42=28, Resulting Numbers: [12, 28] Generated Node #0,0,1: 51:[12, 28] Operation: 70-42=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[42, 58], Operations: ['72-60=12', '70-12=58'] Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 42+58=100, Resulting Numbers: [100] 100,51 unequal: No Solution No 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: 51:[12, 28], Operations: ['72-60=12', '70-42=28'] Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,51 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,51 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
[ 10, 89, 25, 85 ]
95
[ "85-25=60", "60/10=6", "89+6=95" ]
Current State: 95:[10, 89, 25, 85], Operations: [] Exploring Operation: 85-25=60, Resulting Numbers: [10, 89, 60] Generated Node #2: [10, 89, 60] from Operation: 85-25=60 Current State: 95:[10, 89, 60], Operations: ['85-25=60'] Exploring Operation: 60/10=6, Resulting Numbers: [89, 6] Generated Node #3: [89, 6] from Operation: 60/10=6 Current State: 95:[89, 6], Operations: ['85-25=60', '60/10=6'] Exploring Operation: 89+6=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[10, 89, 25, 85], Operations: [] Exploring Operation: 10+89=99, Resulting Numbers: [25, 85, 99] Generated Node #0,0: 95:[25, 85, 99] Operation: 10+89=99 Exploring Operation: 25-10=15, Resulting Numbers: [89, 85, 15] Generated Node #0,1: 95:[89, 85, 15] Operation: 25-10=15 Exploring Operation: 10+85=95, Resulting Numbers: [89, 25, 95] Generated Node #0,2: 95:[89, 25, 95] Operation: 10+85=95 Exploring Operation: 89-85=4, Resulting Numbers: [10, 25, 4] Generated Node #0,3: 95:[10, 25, 4] Operation: 89-85=4 Moving to Node #0,2 Current State: 95:[89, 25, 95], Operations: ['10+85=95'] Exploring Operation: 89+25=114, Resulting Numbers: [95, 114] Generated Node #0,2,0: 95:[95, 114] Operation: 89+25=114 Exploring Operation: 95-89=6, Resulting Numbers: [25, 6] Generated Node #0,2,1: 95:[25, 6] Operation: 95-89=6 Exploring Operation: 25+95=120, Resulting Numbers: [89, 120] Generated Node #0,2,2: 95:[89, 120] Operation: 25+95=120 Exploring Operation: 89-25=64, Resulting Numbers: [95, 64] Generated Node #0,2,3: 95:[95, 64] Operation: 89-25=64 Moving to Node #0,3 Current State: 95:[10, 25, 4], Operations: ['89-85=4'] Exploring Operation: 25*4=100, Resulting Numbers: [10, 100] Generated Node #0,3,0: 95:[10, 100] Operation: 25*4=100 Exploring Operation: 25-10=15, Resulting Numbers: [4, 15] Generated Node #0,3,1: 95:[4, 15] Operation: 25-10=15 Exploring Operation: 25-4=21, Resulting Numbers: [10, 21] Generated Node #0,3,2: 95:[10, 21] Operation: 25-4=21 Exploring Operation: 10-4=6, Resulting Numbers: [25, 6] Generated Node #0,3,3: 95:[25, 6] Operation: 10-4=6 Moving to Node #0,1 Current State: 95:[89, 85, 15], Operations: ['25-10=15'] Exploring Operation: 89-85=4, Resulting Numbers: [15, 4] Generated Node #0,1,0: 95:[15, 4] Operation: 89-85=4 Exploring Operation: 89-15=74, Resulting Numbers: [85, 74] Generated Node #0,1,1: 95:[85, 74] Operation: 89-15=74 Exploring Operation: 89+15=104, Resulting Numbers: [85, 104] Generated Node #0,1,2: 95:[85, 104] Operation: 89+15=104 Exploring Operation: 85+15=100, Resulting Numbers: [89, 100] Generated Node #0,1,3: 95:[89, 100] Operation: 85+15=100 Moving to Node #0,0 Current State: 95:[25, 85, 99], Operations: ['10+89=99'] Exploring Operation: 99-85=14, Resulting Numbers: [25, 14] Generated Node #0,0,0: 95:[25, 14] Operation: 99-85=14 Exploring Operation: 99-25=74, Resulting Numbers: [85, 74] Generated Node #0,0,1: 95:[85, 74] Operation: 99-25=74 Exploring Operation: 25+85=110, Resulting Numbers: [99, 110] Generated Node #0,0,2: 95:[99, 110] Operation: 25+85=110 Exploring Operation: 85-25=60, Resulting Numbers: [99, 60] Generated Node #0,0,3: 95:[99, 60] Operation: 85-25=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[25, 14], Operations: ['10+89=99', '99-85=14'] Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,95 unequal: No Solution Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,95 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,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,0,2 Current State: 95:[99, 110], Operations: ['10+89=99', '25+85=110'] Exploring Operation: 99+110=209, Resulting Numbers: [209] 209,95 unequal: No Solution Exploring Operation: 99*110=10890, Resulting Numbers: [10890] 10890,95 unequal: No Solution Exploring Operation: 110-99=11, Resulting Numbers: [11] 11,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,0,1 Current State: 95:[85, 74], Operations: ['10+89=99', '99-25=74'] Exploring Operation: 85*74=6290, Resulting Numbers: [6290] 6290,95 unequal: No Solution Exploring Operation: 85-74=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 85+74=159, Resulting Numbers: [159] 159,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,0,3 Current State: 95:[99, 60], Operations: ['10+89=99', '85-25=60'] Exploring Operation: 99+60=159, Resulting Numbers: [159] 159,95 unequal: No Solution Exploring Operation: 99*60=5940, Resulting Numbers: [5940] 5940,95 unequal: No Solution Exploring Operation: 99-60=39, Resulting Numbers: [39] 39,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 95:[4, 15], Operations: ['89-85=4', '25-10=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[15, 4], Operations: ['25-10=15', '89-85=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,95 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[10, 21], Operations: ['89-85=4', '25-4=21'] Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,95 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[25, 6], Operations: ['89-85=4', '10-4=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,95 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[25, 6], Operations: ['10+85=95', '95-89=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,95 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[10, 100], Operations: ['89-85=4', '25*4=100'] Exploring Operation: 100/10=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 10*100=1000, Resulting Numbers: [1000] 1000,95 unequal: No Solution Exploring Operation: 10+100=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 100-10=90, Resulting Numbers: [90] 90,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[89, 100], Operations: ['25-10=15', '85+15=100'] Exploring Operation: 100-89=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 89+100=189, Resulting Numbers: [189] 189,95 unequal: No Solution Exploring Operation: 89*100=8900, Resulting Numbers: [8900] 8900,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[85, 104], Operations: ['25-10=15', '89+15=104'] Exploring Operation: 85+104=189, Resulting Numbers: [189] 189,95 unequal: No Solution Exploring Operation: 85*104=8840, Resulting Numbers: [8840] 8840,95 unequal: No Solution Exploring Operation: 104-85=19, Resulting Numbers: [19] 19,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[95, 114], Operations: ['10+85=95', '89+25=114'] Exploring Operation: 95*114=10830, Resulting Numbers: [10830] 10830,95 unequal: No Solution Exploring Operation: 114-95=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 95+114=209, Resulting Numbers: [209] 209,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[89, 120], Operations: ['10+85=95', '25+95=120'] Exploring Operation: 120-89=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 89*120=10680, Resulting Numbers: [10680] 10680,95 unequal: No Solution Exploring Operation: 89+120=209, Resulting Numbers: [209] 209,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[95, 64], Operations: ['10+85=95', '89-25=64'] Exploring Operation: 95*64=6080, Resulting Numbers: [6080] 6080,95 unequal: No Solution Exploring Operation: 95+64=159, Resulting Numbers: [159] 159,95 unequal: No Solution Exploring Operation: 95-64=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[85, 74], Operations: ['25-10=15', '89-15=74'] Exploring Operation: 85+74=159, Resulting Numbers: [159] 159,95 unequal: No Solution Exploring Operation: 85*74=6290, Resulting Numbers: [6290] 6290,95 unequal: No Solution Exploring Operation: 85-74=11, Resulting Numbers: [11] 11,95 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 31, 66, 1, 62 ]
32
[ "31*66=2046", "2046/62=33", "33-1=32" ]
Current State: 32:[31, 66, 1, 62], Operations: [] Exploring Operation: 31*66=2046, Resulting Numbers: [1, 62, 2046] Generated Node #2: [1, 62, 2046] from Operation: 31*66=2046 Current State: 32:[1, 62, 2046], Operations: ['31*66=2046'] Exploring Operation: 2046/62=33, Resulting Numbers: [1, 33] Generated Node #3: [1, 33] from Operation: 2046/62=33 Current State: 32:[1, 33], Operations: ['31*66=2046', '2046/62=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[31, 66, 1, 62], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [31, 1, 4] Generated Node #0,0: 32:[31, 1, 4] Operation: 66-62=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[31, 1, 4], Operations: ['66-62=4'] Exploring Operation: 31+1=32, Resulting Numbers: [4, 32] Generated Node #0,0,0: 32:[4, 32] Operation: 31+1=32 Moving to Node #0,0,0 Current State: 32:[4, 32], Operations: ['66-62=4', '31+1=32'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,32 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
[ 51, 10, 69, 14 ]
22
[ "51+10=61", "69+14=83", "83-61=22" ]
Current State: 22:[51, 10, 69, 14], Operations: [] Exploring Operation: 51+10=61, Resulting Numbers: [69, 14, 61] Generated Node #2: [69, 14, 61] from Operation: 51+10=61 Current State: 22:[69, 14, 61], Operations: ['51+10=61'] Exploring Operation: 69+14=83, Resulting Numbers: [61, 83] Generated Node #3: [61, 83] from Operation: 69+14=83 Current State: 22:[61, 83], Operations: ['51+10=61', '69+14=83'] Exploring Operation: 83-61=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[51, 10, 69, 14], Operations: [] Exploring Operation: 69-14=55, Resulting Numbers: [51, 10, 55] Generated Node #0,0: 22:[51, 10, 55] Operation: 69-14=55 Exploring Operation: 69-10=59, Resulting Numbers: [51, 14, 59] Generated Node #0,1: 22:[51, 14, 59] Operation: 69-10=59 Exploring Operation: 51-14=37, Resulting Numbers: [10, 69, 37] Generated Node #0,2: 22:[10, 69, 37] Operation: 51-14=37 Exploring Operation: 51-10=41, Resulting Numbers: [69, 14, 41] Generated Node #0,3: 22:[69, 14, 41] Operation: 51-10=41 Exploring Operation: 69-51=18, Resulting Numbers: [10, 14, 18] Generated Node #0,4: 22:[10, 14, 18] Operation: 69-51=18 Moving to Node #0,4 Current State: 22:[10, 14, 18], Operations: ['69-51=18'] Exploring Operation: 10+14=24, Resulting Numbers: [18, 24] Generated Node #0,4,0: 22:[18, 24] Operation: 10+14=24 Exploring Operation: 10+18=28, Resulting Numbers: [14, 28] Generated Node #0,4,1: 22:[14, 28] Operation: 10+18=28 Exploring Operation: 18-10=8, Resulting Numbers: [14, 8] Generated Node #0,4,2: 22:[14, 8] Operation: 18-10=8 Exploring Operation: 14-10=4, Resulting Numbers: [18, 4] Generated Node #0,4,3: 22:[18, 4] Operation: 14-10=4 Exploring Operation: 18-14=4, Resulting Numbers: [10, 4] Generated Node #0,4,4: 22:[10, 4] Operation: 18-14=4 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 22:[10, 4], Operations: ['69-51=18', '18-14=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,22 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,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,4,0 Current State: 22:[18, 24], Operations: ['69-51=18', '10+14=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,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,4,2 Current State: 22:[14, 8], Operations: ['69-51=18', '18-10=8'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,22 unequal: No Solution Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[51, 10, 69, 14], Operations: [] Exploring Operation: 69-51=18, Resulting Numbers: [10, 14, 18] Generated Node #0,4: 22:[10, 14, 18] Operation: 69-51=18 Moving to Node #0,4 Current State: 22:[10, 14, 18], Operations: ['69-51=18'] Exploring Operation: 18-10=8, Resulting Numbers: [14, 8] Generated Node #0,4,2: 22:[14, 8] Operation: 18-10=8 Moving to Node #0,4,2 Current State: 22:[14, 8], Operations: ['69-51=18', '18-10=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 29, 33, 71, 65 ]
56
[ "29+33=62", "71-65=6", "62-6=56" ]
Current State: 56:[29, 33, 71, 65], Operations: [] Exploring Operation: 29+33=62, Resulting Numbers: [71, 65, 62] Generated Node #2: [71, 65, 62] from Operation: 29+33=62 Current State: 56:[71, 65, 62], Operations: ['29+33=62'] Exploring Operation: 71-65=6, Resulting Numbers: [62, 6] Generated Node #3: [62, 6] from Operation: 71-65=6 Current State: 56:[62, 6], Operations: ['29+33=62', '71-65=6'] Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[29, 33, 71, 65], Operations: [] Exploring Operation: 71-33=38, Resulting Numbers: [29, 65, 38] Generated Node #0,0: 56:[29, 65, 38] Operation: 71-33=38 Exploring Operation: 71-65=6, Resulting Numbers: [29, 33, 6] Generated Node #0,1: 56:[29, 33, 6] Operation: 71-65=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[29, 33, 6], Operations: ['71-65=6'] Exploring Operation: 33-6=27, Resulting Numbers: [29, 27] Generated Node #0,1,0: 56:[29, 27] Operation: 33-6=27 Exploring Operation: 33-29=4, Resulting Numbers: [6, 4] Generated Node #0,1,1: 56:[6, 4] Operation: 33-29=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[6, 4], Operations: ['71-65=6', '33-29=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,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,1,0 Current State: 56:[29, 27], Operations: ['71-65=6', '33-6=27'] Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[29, 33, 71, 65], Operations: [] Exploring Operation: 71-65=6, Resulting Numbers: [29, 33, 6] Generated Node #0,1: 56:[29, 33, 6] Operation: 71-65=6 Moving to Node #0,1 Current State: 56:[29, 33, 6], Operations: ['71-65=6'] Exploring Operation: 33-6=27, Resulting Numbers: [29, 27] Generated Node #0,1,0: 56:[29, 27] Operation: 33-6=27 Moving to Node #0,1,0 Current State: 56:[29, 27], Operations: ['71-65=6', '33-6=27'] Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 5, 86, 77, 75 ]
93
[ "5+86=91", "77-75=2", "91+2=93" ]
Current State: 93:[5, 86, 77, 75], Operations: [] Exploring Operation: 5+86=91, Resulting Numbers: [77, 75, 91] Generated Node #2: [77, 75, 91] from Operation: 5+86=91 Current State: 93:[77, 75, 91], Operations: ['5+86=91'] Exploring Operation: 77-75=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 77-75=2 Current State: 93:[91, 2], Operations: ['5+86=91', '77-75=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[5, 86, 77, 75], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [5, 75, 9] Generated Node #0,0: 93:[5, 75, 9] Operation: 86-77=9 Exploring Operation: 86-75=11, Resulting Numbers: [5, 77, 11] Generated Node #0,1: 93:[5, 77, 11] Operation: 86-75=11 Exploring Operation: 77-75=2, Resulting Numbers: [5, 86, 2] Generated Node #0,2: 93:[5, 86, 2] Operation: 77-75=2 Exploring Operation: 5+86=91, Resulting Numbers: [77, 75, 91] Generated Node #0,3: 93:[77, 75, 91] Operation: 5+86=91 Exploring Operation: 75/5=15, Resulting Numbers: [86, 77, 15] Generated Node #0,4: 93:[86, 77, 15] Operation: 75/5=15 Moving to Node #0,2 Current State: 93:[5, 86, 2], Operations: ['77-75=2'] Exploring Operation: 86-2=84, Resulting Numbers: [5, 84] Generated Node #0,2,0: 93:[5, 84] Operation: 86-2=84 Exploring Operation: 86+2=88, Resulting Numbers: [5, 88] Generated Node #0,2,1: 93:[5, 88] Operation: 86+2=88 Exploring Operation: 5-2=3, Resulting Numbers: [86, 3] Generated Node #0,2,2: 93:[86, 3] Operation: 5-2=3 Exploring Operation: 5+2=7, Resulting Numbers: [86, 7] Generated Node #0,2,3: 93:[86, 7] Operation: 5+2=7 Exploring Operation: 5+86=91, Resulting Numbers: [2, 91] Generated Node #0,2,4: 93:[2, 91] Operation: 5+86=91 Moving to Node #0,1 Current State: 93:[5, 77, 11], Operations: ['86-75=11'] Exploring Operation: 11-5=6, Resulting Numbers: [77, 6] Generated Node #0,1,0: 93:[77, 6] Operation: 11-5=6 Exploring Operation: 77-5=72, Resulting Numbers: [11, 72] Generated Node #0,1,1: 93:[11, 72] Operation: 77-5=72 Exploring Operation: 77+11=88, Resulting Numbers: [5, 88] Generated Node #0,1,2: 93:[5, 88] Operation: 77+11=88 Exploring Operation: 77/11=7, Resulting Numbers: [5, 7] Generated Node #0,1,3: 93:[5, 7] Operation: 77/11=7 Exploring Operation: 5+77=82, Resulting Numbers: [11, 82] Generated Node #0,1,4: 93:[11, 82] Operation: 5+77=82 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 93:[5, 7], Operations: ['86-75=11', '77/11=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,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:[5, 88], Operations: ['86-75=11', '77+11=88'] Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[5, 86, 77, 75], Operations: [] Exploring Operation: 86-75=11, Resulting Numbers: [5, 77, 11] Generated Node #0,1: 93:[5, 77, 11] Operation: 86-75=11 Moving to Node #0,1 Current State: 93:[5, 77, 11], Operations: ['86-75=11'] Exploring Operation: 77+11=88, Resulting Numbers: [5, 88] Generated Node #0,1,2: 93:[5, 88] Operation: 77+11=88 Moving to Node #0,1,2 Current State: 93:[5, 88], Operations: ['86-75=11', '77+11=88'] Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 86, 12, 5, 87 ]
18
[ "86-12=74", "5+87=92", "92-74=18" ]
Current State: 18:[86, 12, 5, 87], Operations: [] Exploring Operation: 86-12=74, Resulting Numbers: [5, 87, 74] Generated Node #2: [5, 87, 74] from Operation: 86-12=74 Current State: 18:[5, 87, 74], Operations: ['86-12=74'] Exploring Operation: 5+87=92, Resulting Numbers: [74, 92] Generated Node #3: [74, 92] from Operation: 5+87=92 Current State: 18:[74, 92], Operations: ['86-12=74', '5+87=92'] Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[86, 12, 5, 87], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [12, 87, 81] Generated Node #0,0: 18:[12, 87, 81] Operation: 86-5=81 Exploring Operation: 87-12=75, Resulting Numbers: [86, 5, 75] Generated Node #0,1: 18:[86, 5, 75] Operation: 87-12=75 Exploring Operation: 86-12=74, Resulting Numbers: [5, 87, 74] Generated Node #0,2: 18:[5, 87, 74] Operation: 86-12=74 Exploring Operation: 87-86=1, Resulting Numbers: [12, 5, 1] Generated Node #0,3: 18:[12, 5, 1] Operation: 87-86=1 Moving to Node #0,3 Current State: 18:[12, 5, 1], Operations: ['87-86=1'] Exploring Operation: 5+1=6, Resulting Numbers: [12, 6] Generated Node #0,3,0: 18:[12, 6] Operation: 5+1=6 Exploring Operation: 12+5=17, Resulting Numbers: [1, 17] Generated Node #0,3,1: 18:[1, 17] Operation: 12+5=17 Exploring Operation: 12-5=7, Resulting Numbers: [1, 7] Generated Node #0,3,2: 18:[1, 7] Operation: 12-5=7 Exploring Operation: 12-1=11, Resulting Numbers: [5, 11] Generated Node #0,3,3: 18:[5, 11] Operation: 12-1=11 Moving to Node #0,2 Current State: 18:[5, 87, 74], Operations: ['86-12=74'] Exploring Operation: 87-74=13, Resulting Numbers: [5, 13] Generated Node #0,2,0: 18:[5, 13] Operation: 87-74=13 Exploring Operation: 74-5=69, Resulting Numbers: [87, 69] Generated Node #0,2,1: 18:[87, 69] Operation: 74-5=69 Exploring Operation: 87-5=82, Resulting Numbers: [74, 82] Generated Node #0,2,2: 18:[74, 82] Operation: 87-5=82 Exploring Operation: 5+87=92, Resulting Numbers: [74, 92] Generated Node #0,2,3: 18:[74, 92] Operation: 5+87=92 Moving to Node #0,1 Current State: 18:[86, 5, 75], Operations: ['87-12=75'] Exploring Operation: 75-5=70, Resulting Numbers: [86, 70] Generated Node #0,1,0: 18:[86, 70] Operation: 75-5=70 Exploring Operation: 86-5=81, Resulting Numbers: [75, 81] Generated Node #0,1,1: 18:[75, 81] Operation: 86-5=81 Exploring Operation: 86-75=11, Resulting Numbers: [5, 11] Generated Node #0,1,2: 18:[5, 11] Operation: 86-75=11 Exploring Operation: 75/5=15, Resulting Numbers: [86, 15] Generated Node #0,1,3: 18:[86, 15] Operation: 75/5=15 Moving to Node #0,0 Current State: 18:[12, 87, 81], Operations: ['86-5=81'] Exploring Operation: 87-81=6, Resulting Numbers: [12, 6] Generated Node #0,0,0: 18:[12, 6] Operation: 87-81=6 Exploring Operation: 12+87=99, Resulting Numbers: [81, 99] Generated Node #0,0,1: 18:[81, 99] Operation: 12+87=99 Exploring Operation: 87-12=75, Resulting Numbers: [81, 75] Generated Node #0,0,2: 18:[81, 75] Operation: 87-12=75 Exploring Operation: 81-12=69, Resulting Numbers: [87, 69] Generated Node #0,0,3: 18:[87, 69] Operation: 81-12=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[12, 6], Operations: ['86-5=81', '87-81=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[86, 12, 5, 87], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [12, 87, 81] Generated Node #0,0: 18:[12, 87, 81] Operation: 86-5=81 Moving to Node #0,0 Current State: 18:[12, 87, 81], Operations: ['86-5=81'] Exploring Operation: 87-81=6, Resulting Numbers: [12, 6] Generated Node #0,0,0: 18:[12, 6] Operation: 87-81=6 Moving to Node #0,0,0 Current State: 18:[12, 6], Operations: ['86-5=81', '87-81=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 53, 28, 99, 37 ]
64
[ "37-28=9", "99/9=11", "53+11=64" ]
Current State: 64:[53, 28, 99, 37], Operations: [] Exploring Operation: 37-28=9, Resulting Numbers: [53, 99, 9] Generated Node #2: [53, 99, 9] from Operation: 37-28=9 Current State: 64:[53, 99, 9], Operations: ['37-28=9'] Exploring Operation: 99/9=11, Resulting Numbers: [53, 11] Generated Node #3: [53, 11] from Operation: 99/9=11 Current State: 64:[53, 11], Operations: ['37-28=9', '99/9=11'] Exploring Operation: 53+11=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[53, 28, 99, 37], Operations: [] Exploring Operation: 99-37=62, Resulting Numbers: [53, 28, 62] Generated Node #0,0: 64:[53, 28, 62] Operation: 99-37=62 Exploring Operation: 99-53=46, Resulting Numbers: [28, 37, 46] Generated Node #0,1: 64:[28, 37, 46] Operation: 99-53=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[53, 28, 62], Operations: ['99-37=62'] Exploring Operation: 62-53=9, Resulting Numbers: [28, 9] Generated Node #0,0,0: 64:[28, 9] Operation: 62-53=9 Exploring Operation: 53-28=25, Resulting Numbers: [62, 25] Generated Node #0,0,1: 64:[62, 25] Operation: 53-28=25 Moving to Node #0,0,0 Current State: 64:[28, 9], Operations: ['99-37=62', '62-53=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[62, 25], Operations: ['99-37=62', '53-28=25'] Exploring Operation: 62+25=87, Resulting Numbers: [87] 87,64 unequal: No Solution Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[28, 37, 46], Operations: ['99-53=46'] Exploring Operation: 46-28=18, Resulting Numbers: [37, 18] Generated Node #0,1,0: 64:[37, 18] Operation: 46-28=18 Exploring Operation: 46-37=9, Resulting Numbers: [28, 9] Generated Node #0,1,1: 64:[28, 9] Operation: 46-37=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[28, 9], Operations: ['99-53=46', '46-37=9'] Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,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:[37, 18], Operations: ['99-53=46', '46-28=18'] Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,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 No solution found.
0
hs_2
sum_heuristic
[ 92, 1, 23, 91 ]
96
[ "92/23=4", "1+91=92", "4+92=96" ]
Current State: 96:[92, 1, 23, 91], Operations: [] Exploring Operation: 92/23=4, Resulting Numbers: [1, 91, 4] Generated Node #2: [1, 91, 4] from Operation: 92/23=4 Current State: 96:[1, 91, 4], Operations: ['92/23=4'] Exploring Operation: 1+91=92, Resulting Numbers: [4, 92] Generated Node #3: [4, 92] from Operation: 1+91=92 Current State: 96:[4, 92], Operations: ['92/23=4', '1+91=92'] Exploring Operation: 4+92=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[92, 1, 23, 91], Operations: [] Exploring Operation: 92/23=4, Resulting Numbers: [1, 91, 4] Generated Node #0,0: 96:[1, 91, 4] Operation: 92/23=4 Exploring Operation: 1+91=92, Resulting Numbers: [92, 23, 92] Generated Node #0,1: 96:[92, 23, 92] Operation: 1+91=92 Exploring Operation: 1+23=24, Resulting Numbers: [92, 91, 24] Generated Node #0,2: 96:[92, 91, 24] Operation: 1+23=24 Exploring Operation: 92-91=1, Resulting Numbers: [1, 23, 1] Generated Node #0,3: 96:[1, 23, 1] Operation: 92-91=1 Exploring Operation: 92+1=93, Resulting Numbers: [23, 91, 93] Generated Node #0,4: 96:[23, 91, 93] Operation: 92+1=93 Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[1, 23, 1], Operations: ['92-91=1'] Exploring Operation: 1+1=2, Resulting Numbers: [23, 2] Generated Node #0,3,0: 96:[23, 2] Operation: 1+1=2 Exploring Operation: 23+1=24, Resulting Numbers: [1, 24] Generated Node #0,3,1: 96:[1, 24] Operation: 23+1=24 Exploring Operation: 23/1=23, Resulting Numbers: [1, 23] Generated Node #0,3,2: 96:[1, 23] Operation: 23/1=23 Exploring Operation: 1*23=23, Resulting Numbers: [1, 23] Generated Node #0,3,3: 96:[1, 23] Operation: 1*23=23 Exploring Operation: 1+23=24, Resulting Numbers: [1, 24] Generated Node #0,3,4: 96:[1, 24] Operation: 1+23=24 Moving to Node #0,3,0 Current State: 96:[23, 2], Operations: ['92-91=1', '1+1=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,96 unequal: No Solution Moving to Node #0,3,4 Current State: 96:[1, 24], Operations: ['92-91=1', '1+23=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[1, 24], Operations: ['92-91=1', '23+1=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[1, 23], Operations: ['92-91=1', '23/1=23'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[1, 23], Operations: ['92-91=1', '1*23=23'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,96 unequal: No Solution No 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: 96:[1, 91, 4], Operations: ['92/23=4'] Exploring Operation: 91+4=95, Resulting Numbers: [1, 95] Generated Node #0,0,0: 96:[1, 95] Operation: 91+4=95 Exploring Operation: 1*4=4, Resulting Numbers: [91, 4] Generated Node #0,0,1: 96:[91, 4] Operation: 1*4=4 Exploring Operation: 1+91=92, Resulting Numbers: [4, 92] Generated Node #0,0,2: 96:[4, 92] Operation: 1+91=92 Exploring Operation: 91/1=91, Resulting Numbers: [4, 91] Generated Node #0,0,3: 96:[4, 91] Operation: 91/1=91 Exploring Operation: 1*91=91, Resulting Numbers: [4, 91] Generated Node #0,0,4: 96:[4, 91] Operation: 1*91=91 Moving to Node #0,0,0 Current State: 96:[1, 95], Operations: ['92/23=4', '91+4=95'] Exploring Operation: 1+95=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[92, 1, 23, 91], Operations: [] Exploring Operation: 92/23=4, Resulting Numbers: [1, 91, 4] Generated Node #0,0: 96:[1, 91, 4] Operation: 92/23=4 Moving to Node #0,0 Current State: 96:[1, 91, 4], Operations: ['92/23=4'] Exploring Operation: 91+4=95, Resulting Numbers: [1, 95] Generated Node #0,0,0: 96:[1, 95] Operation: 91+4=95 Moving to Node #0,0,0 Current State: 96:[1, 95], Operations: ['92/23=4', '91+4=95'] Exploring Operation: 1+95=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 94, 58, 82, 9 ]
78
[ "94-58=36", "36/9=4", "82-4=78" ]
Current State: 78:[94, 58, 82, 9], Operations: [] Exploring Operation: 94-58=36, Resulting Numbers: [82, 9, 36] Generated Node #2: [82, 9, 36] from Operation: 94-58=36 Current State: 78:[82, 9, 36], Operations: ['94-58=36'] Exploring Operation: 36/9=4, Resulting Numbers: [82, 4] Generated Node #3: [82, 4] from Operation: 36/9=4 Current State: 78:[82, 4], Operations: ['94-58=36', '36/9=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[94, 58, 82, 9], Operations: [] Exploring Operation: 94-82=12, Resulting Numbers: [58, 9, 12] Generated Node #0,0: 78:[58, 9, 12] Operation: 94-82=12 Exploring Operation: 82-58=24, Resulting Numbers: [94, 9, 24] Generated Node #0,1: 78:[94, 9, 24] Operation: 82-58=24 Exploring Operation: 94-58=36, Resulting Numbers: [82, 9, 36] Generated Node #0,2: 78:[82, 9, 36] Operation: 94-58=36 Exploring Operation: 94-9=85, Resulting Numbers: [58, 82, 85] Generated Node #0,3: 78:[58, 82, 85] Operation: 94-9=85 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[82, 9, 36], Operations: ['94-58=36'] Exploring Operation: 82-36=46, Resulting Numbers: [9, 46] Generated Node #0,2,0: 78:[9, 46] Operation: 82-36=46 Exploring Operation: 36-9=27, Resulting Numbers: [82, 27] Generated Node #0,2,1: 78:[82, 27] Operation: 36-9=27 Exploring Operation: 36/9=4, Resulting Numbers: [82, 4] Generated Node #0,2,2: 78:[82, 4] Operation: 36/9=4 Exploring Operation: 82-9=73, Resulting Numbers: [36, 73] Generated Node #0,2,3: 78:[36, 73] Operation: 82-9=73 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[82, 27], Operations: ['94-58=36', '36-9=27'] Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,78 unequal: No Solution Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[82, 4], Operations: ['94-58=36', '36/9=4'] Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,78 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,78 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[94, 58, 82, 9], Operations: [] Exploring Operation: 94-58=36, Resulting Numbers: [82, 9, 36] Generated Node #0,2: 78:[82, 9, 36] Operation: 94-58=36 Moving to Node #0,2 Current State: 78:[82, 9, 36], Operations: ['94-58=36'] Exploring Operation: 36/9=4, Resulting Numbers: [82, 4] Generated Node #0,2,2: 78:[82, 4] Operation: 36/9=4 Moving to Node #0,2,2 Current State: 78:[82, 4], Operations: ['94-58=36', '36/9=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 84, 99, 75, 10 ]
75
[ "99-84=15", "10*15=150", "150-75=75" ]
Current State: 75:[84, 99, 75, 10], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [75, 10, 15] Generated Node #2: [75, 10, 15] from Operation: 99-84=15 Current State: 75:[75, 10, 15], Operations: ['99-84=15'] Exploring Operation: 10*15=150, Resulting Numbers: [75, 150] Generated Node #3: [75, 150] from Operation: 10*15=150 Current State: 75:[75, 150], Operations: ['99-84=15', '10*15=150'] Exploring Operation: 150-75=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[84, 99, 75, 10], Operations: [] Exploring Operation: 99-10=89, Resulting Numbers: [84, 75, 89] Generated Node #0,0: 75:[84, 75, 89] Operation: 99-10=89 Exploring Operation: 84-75=9, Resulting Numbers: [99, 10, 9] Generated Node #0,1: 75:[99, 10, 9] Operation: 84-75=9 Exploring Operation: 84-10=74, Resulting Numbers: [99, 75, 74] Generated Node #0,2: 75:[99, 75, 74] Operation: 84-10=74 Exploring Operation: 99-84=15, Resulting Numbers: [75, 10, 15] Generated Node #0,3: 75:[75, 10, 15] Operation: 99-84=15 Exploring Operation: 99-75=24, Resulting Numbers: [84, 10, 24] Generated Node #0,4: 75:[84, 10, 24] Operation: 99-75=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[75, 10, 15], Operations: ['99-84=15'] Exploring Operation: 75+10=85, Resulting Numbers: [15, 85] Generated Node #0,3,0: 75:[15, 85] Operation: 75+10=85 Exploring Operation: 75/15=5, Resulting Numbers: [10, 5] Generated Node #0,3,1: 75:[10, 5] Operation: 75/15=5 Exploring Operation: 15-10=5, Resulting Numbers: [75, 5] Generated Node #0,3,2: 75:[75, 5] Operation: 15-10=5 Exploring Operation: 75-10=65, Resulting Numbers: [15, 65] Generated Node #0,3,3: 75:[15, 65] Operation: 75-10=65 Exploring Operation: 10+15=25, Resulting Numbers: [75, 25] Generated Node #0,3,4: 75:[75, 25] Operation: 10+15=25 Moving to Node #0,3,2 Current State: 75:[75, 5], Operations: ['99-84=15', '15-10=5'] Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,75 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,75 unequal: No Solution Moving to Node #0,3,4 Current State: 75:[75, 25], Operations: ['99-84=15', '10+15=25'] Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 75*25=1875, Resulting Numbers: [1875] 1875,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[10, 5], Operations: ['99-84=15', '75/15=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[15, 85], Operations: ['99-84=15', '75+10=85'] Exploring Operation: 15*85=1275, Resulting Numbers: [1275] 1275,75 unequal: No Solution Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 15+85=100, Resulting Numbers: [100] 100,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[15, 65], Operations: ['99-84=15', '75-10=65'] Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 15*65=975, Resulting Numbers: [975] 975,75 unequal: No Solution Exploring Operation: 15+65=80, Resulting Numbers: [80] 80,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 75:[84, 10, 24], Operations: ['99-75=24'] Exploring Operation: 10+24=34, Resulting Numbers: [84, 34] Generated Node #0,4,0: 75:[84, 34] Operation: 10+24=34 Exploring Operation: 84-10=74, Resulting Numbers: [24, 74] Generated Node #0,4,1: 75:[24, 74] Operation: 84-10=74 Exploring Operation: 84-24=60, Resulting Numbers: [10, 60] Generated Node #0,4,2: 75:[10, 60] Operation: 84-24=60 Exploring Operation: 24-10=14, Resulting Numbers: [84, 14] Generated Node #0,4,3: 75:[84, 14] Operation: 24-10=14 Exploring Operation: 84+10=94, Resulting Numbers: [24, 94] Generated Node #0,4,4: 75:[24, 94] Operation: 84+10=94 Moving to Node #0,4,1 Current State: 75:[24, 74], Operations: ['99-75=24', '84-10=74'] Exploring Operation: 24+74=98, Resulting Numbers: [98] 98,75 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 24*74=1776, Resulting Numbers: [1776] 1776,75 unequal: No Solution Moving to Node #0,4,3 Current State: 75:[84, 14], Operations: ['99-75=24', '24-10=14'] Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 84+14=98, Resulting Numbers: [98] 98,75 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 84*14=1176, Resulting Numbers: [1176] 1176,75 unequal: No Solution Moving to Node #0,4,0 Current State: 75:[84, 34], Operations: ['99-75=24', '10+24=34'] Exploring Operation: 84*34=2856, Resulting Numbers: [2856] 2856,75 unequal: No Solution Exploring Operation: 84+34=118, Resulting Numbers: [118] 118,75 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,75 unequal: No Solution Moving to Node #0,4,2 Current State: 75:[10, 60], Operations: ['99-75=24', '84-24=60'] Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 10+60=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 10*60=600, Resulting Numbers: [600] 600,75 unequal: No Solution Moving to Node #0,4,4 Current State: 75:[24, 94], Operations: ['99-75=24', '84+10=94'] Exploring Operation: 24+94=118, Resulting Numbers: [118] 118,75 unequal: No Solution Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 24*94=2256, Resulting Numbers: [2256] 2256,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[84, 75, 89], Operations: ['99-10=89'] Exploring Operation: 89-75=14, Resulting Numbers: [84, 14] Generated Node #0,0,0: 75:[84, 14] Operation: 89-75=14 Exploring Operation: 89-84=5, Resulting Numbers: [75, 5] Generated Node #0,0,1: 75:[75, 5] Operation: 89-84=5 Exploring Operation: 84+75=159, Resulting Numbers: [89, 159] Generated Node #0,0,2: 75:[89, 159] Operation: 84+75=159 Exploring Operation: 84+89=173, Resulting Numbers: [75, 173] Generated Node #0,0,3: 75:[75, 173] Operation: 84+89=173 Exploring Operation: 84-75=9, Resulting Numbers: [89, 9] Generated Node #0,0,4: 75:[89, 9] Operation: 84-75=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[75, 5], Operations: ['99-10=89', '89-84=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,75 unequal: No Solution Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[84, 14], Operations: ['99-10=89', '89-75=14'] Exploring Operation: 84*14=1176, Resulting Numbers: [1176] 1176,75 unequal: No Solution Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 84+14=98, Resulting Numbers: [98] 98,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 75:[89, 9], Operations: ['99-10=89', '84-75=9'] Exploring Operation: 89*9=801, Resulting Numbers: [801] 801,75 unequal: No Solution Exploring Operation: 89+9=98, Resulting Numbers: [98] 98,75 unequal: No Solution Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[89, 159], Operations: ['99-10=89', '84+75=159'] Exploring Operation: 89*159=14151, Resulting Numbers: [14151] 14151,75 unequal: No Solution Exploring Operation: 89+159=248, Resulting Numbers: [248] 248,75 unequal: No Solution Exploring Operation: 159-89=70, Resulting Numbers: [70] 70,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 75:[75, 173], Operations: ['99-10=89', '84+89=173'] Exploring Operation: 75*173=12975, Resulting Numbers: [12975] 12975,75 unequal: No Solution Exploring Operation: 173-75=98, Resulting Numbers: [98] 98,75 unequal: No Solution Exploring Operation: 75+173=248, Resulting Numbers: [248] 248,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[99, 75, 74], Operations: ['84-10=74'] Exploring Operation: 75+74=149, Resulting Numbers: [99, 149] Generated Node #0,2,0: 75:[99, 149] Operation: 75+74=149 Exploring Operation: 99+74=173, Resulting Numbers: [75, 173] Generated Node #0,2,1: 75:[75, 173] Operation: 99+74=173 Exploring Operation: 99-75=24, Resulting Numbers: [74, 24] Generated Node #0,2,2: 75:[74, 24] Operation: 99-75=24 Exploring Operation: 99-74=25, Resulting Numbers: [75, 25] Generated Node #0,2,3: 75:[75, 25] Operation: 99-74=25 Exploring Operation: 75-74=1, Resulting Numbers: [99, 1] Generated Node #0,2,4: 75:[99, 1] Operation: 75-74=1 Moving to Node #0,2,3 Current State: 75:[75, 25], Operations: ['84-10=74', '99-74=25'] Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 75*25=1875, Resulting Numbers: [1875] 1875,75 unequal: No Solution Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[74, 24], Operations: ['84-10=74', '99-75=24'] Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,75 unequal: No Solution Exploring Operation: 74*24=1776, Resulting Numbers: [1776] 1776,75 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[99, 1], Operations: ['84-10=74', '75-74=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,75 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,75 unequal: No Solution Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[99, 149], Operations: ['84-10=74', '75+74=149'] Exploring Operation: 99*149=14751, Resulting Numbers: [14751] 14751,75 unequal: No Solution Exploring Operation: 99+149=248, Resulting Numbers: [248] 248,75 unequal: No Solution Exploring Operation: 149-99=50, Resulting Numbers: [50] 50,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[75, 173], Operations: ['84-10=74', '99+74=173'] Exploring Operation: 75+173=248, Resulting Numbers: [248] 248,75 unequal: No Solution Exploring Operation: 173-75=98, Resulting Numbers: [98] 98,75 unequal: No Solution Exploring Operation: 75*173=12975, Resulting Numbers: [12975] 12975,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[99, 10, 9], Operations: ['84-75=9'] Exploring Operation: 10-9=1, Resulting Numbers: [99, 1] Generated Node #0,1,0: 75:[99, 1] Operation: 10-9=1 Exploring Operation: 10+9=19, Resulting Numbers: [99, 19] Generated Node #0,1,1: 75:[99, 19] Operation: 10+9=19 Exploring Operation: 99-10=89, Resulting Numbers: [9, 89] Generated Node #0,1,2: 75:[9, 89] Operation: 99-10=89 Exploring Operation: 99-9=90, Resulting Numbers: [10, 90] Generated Node #0,1,3: 75:[10, 90] Operation: 99-9=90 Exploring Operation: 99/9=11, Resulting Numbers: [10, 11] Generated Node #0,1,4: 75:[10, 11] Operation: 99/9=11 Moving to Node #0,1,4 Current State: 75:[10, 11], Operations: ['84-75=9', '99/9=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,75 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[9, 89], Operations: ['84-75=9', '99-10=89'] Exploring Operation: 9+89=98, Resulting Numbers: [98] 98,75 unequal: No Solution Exploring Operation: 9*89=801, Resulting Numbers: [801] 801,75 unequal: No Solution Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[10, 90], Operations: ['84-75=9', '99-9=90'] Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 10*90=900, Resulting Numbers: [900] 900,75 unequal: No Solution Exploring Operation: 10+90=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[99, 1], Operations: ['84-75=9', '10-9=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,75 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,75 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,75 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[99, 19], Operations: ['84-75=9', '10+9=19'] Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 99*19=1881, Resulting Numbers: [1881] 1881,75 unequal: No Solution Exploring Operation: 99+19=118, Resulting Numbers: [118] 118,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 66, 20, 73, 51 ]
33
[ "73-20=53", "53-51=2", "66/2=33" ]
Current State: 33:[66, 20, 73, 51], Operations: [] Exploring Operation: 73-20=53, Resulting Numbers: [66, 51, 53] Generated Node #2: [66, 51, 53] from Operation: 73-20=53 Current State: 33:[66, 51, 53], Operations: ['73-20=53'] Exploring Operation: 53-51=2, Resulting Numbers: [66, 2] Generated Node #3: [66, 2] from Operation: 53-51=2 Current State: 33:[66, 2], Operations: ['73-20=53', '53-51=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[66, 20, 73, 51], Operations: [] Exploring Operation: 73-66=7, Resulting Numbers: [20, 51, 7] Generated Node #0,0: 33:[20, 51, 7] Operation: 73-66=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[20, 51, 7], Operations: ['73-66=7'] Exploring Operation: 51-20=31, Resulting Numbers: [7, 31] Generated Node #0,0,0: 33:[7, 31] Operation: 51-20=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[7, 31], Operations: ['73-66=7', '51-20=31'] Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,33 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
[ 58, 59, 9, 33 ]
75
[ "58+59=117", "9+33=42", "117-42=75" ]
Current State: 75:[58, 59, 9, 33], Operations: [] Exploring Operation: 58+59=117, Resulting Numbers: [9, 33, 117] Generated Node #2: [9, 33, 117] from Operation: 58+59=117 Current State: 75:[9, 33, 117], Operations: ['58+59=117'] Exploring Operation: 9+33=42, Resulting Numbers: [117, 42] Generated Node #3: [117, 42] from Operation: 9+33=42 Current State: 75:[117, 42], Operations: ['58+59=117', '9+33=42'] Exploring Operation: 117-42=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[58, 59, 9, 33], Operations: [] Exploring Operation: 59-33=26, Resulting Numbers: [58, 9, 26] Generated Node #0,0: 75:[58, 9, 26] Operation: 59-33=26 Exploring Operation: 59-58=1, Resulting Numbers: [9, 33, 1] Generated Node #0,1: 75:[9, 33, 1] Operation: 59-58=1 Exploring Operation: 58-33=25, Resulting Numbers: [59, 9, 25] Generated Node #0,2: 75:[59, 9, 25] Operation: 58-33=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[9, 33, 1], Operations: ['59-58=1'] Exploring Operation: 33-1=32, Resulting Numbers: [9, 32] Generated Node #0,1,0: 75:[9, 32] Operation: 33-1=32 Exploring Operation: 9-1=8, Resulting Numbers: [33, 8] Generated Node #0,1,1: 75:[33, 8] Operation: 9-1=8 Exploring Operation: 33-9=24, Resulting Numbers: [1, 24] Generated Node #0,1,2: 75:[1, 24] Operation: 33-9=24 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[1, 24], Operations: ['59-58=1', '33-9=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[9, 32], Operations: ['59-58=1', '33-1=32'] Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,75 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,75 unequal: No Solution Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[33, 8], Operations: ['59-58=1', '9-1=8'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,75 unequal: No Solution Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[59, 9, 25], Operations: ['58-33=25'] Exploring Operation: 59+25=84, Resulting Numbers: [9, 84] Generated Node #0,2,0: 75:[9, 84] Operation: 59+25=84 Exploring Operation: 59+9=68, Resulting Numbers: [25, 68] Generated Node #0,2,1: 75:[25, 68] Operation: 59+9=68 Exploring Operation: 59-25=34, Resulting Numbers: [9, 34] Generated Node #0,2,2: 75:[9, 34] Operation: 59-25=34 Moving to Node #0,2,1 Current State: 75:[25, 68], Operations: ['58-33=25', '59+9=68'] Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,75 unequal: No Solution Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,75 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[9, 84], Operations: ['58-33=25', '59+25=84'] Exploring Operation: 9+84=93, Resulting Numbers: [93] 93,75 unequal: No Solution Exploring Operation: 9*84=756, Resulting Numbers: [756] 756,75 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[58, 59, 9, 33], Operations: [] Exploring Operation: 58-33=25, Resulting Numbers: [59, 9, 25] Generated Node #0,2: 75:[59, 9, 25] Operation: 58-33=25 Moving to Node #0,2 Current State: 75:[59, 9, 25], Operations: ['58-33=25'] Exploring Operation: 59+25=84, Resulting Numbers: [9, 84] Generated Node #0,2,0: 75:[9, 84] Operation: 59+25=84 Moving to Node #0,2,0 Current State: 75:[9, 84], Operations: ['58-33=25', '59+25=84'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 22, 41, 20, 49 ]
88
[ "41-22=19", "20+49=69", "19+69=88" ]
Current State: 88:[22, 41, 20, 49], Operations: [] Exploring Operation: 41-22=19, Resulting Numbers: [20, 49, 19] Generated Node #2: [20, 49, 19] from Operation: 41-22=19 Current State: 88:[20, 49, 19], Operations: ['41-22=19'] Exploring Operation: 20+49=69, Resulting Numbers: [19, 69] Generated Node #3: [19, 69] from Operation: 20+49=69 Current State: 88:[19, 69], Operations: ['41-22=19', '20+49=69'] Exploring Operation: 19+69=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[22, 41, 20, 49], Operations: [] Exploring Operation: 41-20=21, Resulting Numbers: [22, 49, 21] Generated Node #0,0: 88:[22, 49, 21] Operation: 41-20=21 Exploring Operation: 22-20=2, Resulting Numbers: [41, 49, 2] Generated Node #0,1: 88:[41, 49, 2] Operation: 22-20=2 Exploring Operation: 49-41=8, Resulting Numbers: [22, 20, 8] Generated Node #0,2: 88:[22, 20, 8] Operation: 49-41=8 Exploring Operation: 41+49=90, Resulting Numbers: [22, 20, 90] Generated Node #0,3: 88:[22, 20, 90] Operation: 41+49=90 Moving to Node #0,2 Current State: 88:[22, 20, 8], Operations: ['49-41=8'] Exploring Operation: 22-8=14, Resulting Numbers: [20, 14] Generated Node #0,2,0: 88:[20, 14] Operation: 22-8=14 Exploring Operation: 20-8=12, Resulting Numbers: [22, 12] Generated Node #0,2,1: 88:[22, 12] Operation: 20-8=12 Exploring Operation: 22-20=2, Resulting Numbers: [8, 2] Generated Node #0,2,2: 88:[8, 2] Operation: 22-20=2 Exploring Operation: 22+20=42, Resulting Numbers: [8, 42] Generated Node #0,2,3: 88:[8, 42] Operation: 22+20=42 Moving to Node #0,3 Current State: 88:[22, 20, 90], Operations: ['41+49=90'] Exploring Operation: 90-22=68, Resulting Numbers: [20, 68] Generated Node #0,3,0: 88:[20, 68] Operation: 90-22=68 Exploring Operation: 22-20=2, Resulting Numbers: [90, 2] Generated Node #0,3,1: 88:[90, 2] Operation: 22-20=2 Exploring Operation: 90-20=70, Resulting Numbers: [22, 70] Generated Node #0,3,2: 88:[22, 70] Operation: 90-20=70 Exploring Operation: 22+20=42, Resulting Numbers: [90, 42] Generated Node #0,3,3: 88:[90, 42] Operation: 22+20=42 Moving to Node #0,0 Current State: 88:[22, 49, 21], Operations: ['41-20=21'] Exploring Operation: 22+21=43, Resulting Numbers: [49, 43] Generated Node #0,0,0: 88:[49, 43] Operation: 22+21=43 Exploring Operation: 49-22=27, Resulting Numbers: [21, 27] Generated Node #0,0,1: 88:[21, 27] Operation: 49-22=27 Exploring Operation: 49-21=28, Resulting Numbers: [22, 28] Generated Node #0,0,2: 88:[22, 28] Operation: 49-21=28 Exploring Operation: 22-21=1, Resulting Numbers: [49, 1] Generated Node #0,0,3: 88:[49, 1] Operation: 22-21=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[49, 43], Operations: ['41-20=21', '22+21=43'] Exploring Operation: 49*43=2107, Resulting Numbers: [2107] 2107,88 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[21, 27], Operations: ['41-20=21', '49-22=27'] Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[22, 28], Operations: ['41-20=21', '49-21=28'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[49, 1], Operations: ['41-20=21', '22-21=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,88 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: 88:[41, 49, 2], Operations: ['22-20=2'] Exploring Operation: 49-2=47, Resulting Numbers: [41, 47] Generated Node #0,1,0: 88:[41, 47] Operation: 49-2=47 Exploring Operation: 49-41=8, Resulting Numbers: [2, 8] Generated Node #0,1,1: 88:[2, 8] Operation: 49-41=8 Exploring Operation: 41+2=43, Resulting Numbers: [49, 43] Generated Node #0,1,2: 88:[49, 43] Operation: 41+2=43 Exploring Operation: 41+49=90, Resulting Numbers: [2, 90] Generated Node #0,1,3: 88:[2, 90] Operation: 41+49=90 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[2, 8], Operations: ['22-20=2', '49-41=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[2, 90], Operations: ['22-20=2', '41+49=90'] Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 2*90=180, Resulting Numbers: [180] 180,88 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[22, 41, 20, 49], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [41, 49, 2] Generated Node #0,1: 88:[41, 49, 2] Operation: 22-20=2 Moving to Node #0,1 Current State: 88:[41, 49, 2], Operations: ['22-20=2'] Exploring Operation: 41+49=90, Resulting Numbers: [2, 90] Generated Node #0,1,3: 88:[2, 90] Operation: 41+49=90 Moving to Node #0,1,3 Current State: 88:[2, 90], Operations: ['22-20=2', '41+49=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_4
mult_heuristic
[ 49, 17, 51, 15 ]
30
[ "49+17=66", "51-15=36", "66-36=30" ]
Current State: 30:[49, 17, 51, 15], Operations: [] Exploring Operation: 49+17=66, Resulting Numbers: [51, 15, 66] Generated Node #2: [51, 15, 66] from Operation: 49+17=66 Current State: 30:[51, 15, 66], Operations: ['49+17=66'] Exploring Operation: 51-15=36, Resulting Numbers: [66, 36] Generated Node #3: [66, 36] from Operation: 51-15=36 Current State: 30:[66, 36], Operations: ['49+17=66', '51-15=36'] Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[49, 17, 51, 15], Operations: [] Exploring Operation: 49-17=32, Resulting Numbers: [51, 15, 32] Generated Node #0,0: 30:[51, 15, 32] Operation: 49-17=32 Exploring Operation: 51-17=34, Resulting Numbers: [49, 15, 34] Generated Node #0,1: 30:[49, 15, 34] Operation: 51-17=34 Exploring Operation: 51-49=2, Resulting Numbers: [17, 15, 2] Generated Node #0,2: 30:[17, 15, 2] Operation: 51-49=2 Exploring Operation: 51/17=3, Resulting Numbers: [49, 15, 3] Generated Node #0,3: 30:[49, 15, 3] Operation: 51/17=3 Moving to Node #0,2 Current State: 30:[17, 15, 2], Operations: ['51-49=2'] Exploring Operation: 15*2=30, Resulting Numbers: [17, 30] Generated Node #0,2,0: 30:[17, 30] Operation: 15*2=30 Exploring Operation: 17+15=32, Resulting Numbers: [2, 32] Generated Node #0,2,1: 30:[2, 32] Operation: 17+15=32 Exploring Operation: 17-2=15, Resulting Numbers: [15, 15] Generated Node #0,2,2: 30:[15, 15] Operation: 17-2=15 Exploring Operation: 17-15=2, Resulting Numbers: [2, 2] Generated Node #0,2,3: 30:[2, 2] Operation: 17-15=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[15, 15], Operations: ['51-49=2', '17-2=15'] Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,30 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[49, 17, 51, 15], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [17, 15, 2] Generated Node #0,2: 30:[17, 15, 2] Operation: 51-49=2 Moving to Node #0,2 Current State: 30:[17, 15, 2], Operations: ['51-49=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15, 15] Generated Node #0,2,2: 30:[15, 15] Operation: 17-2=15 Moving to Node #0,2,2 Current State: 30:[15, 15], Operations: ['51-49=2', '17-2=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 61, 2, 2, 13 ]
47
[ "61-13=48", "2/2=1", "48-1=47" ]
Current State: 47:[61, 2, 2, 13], Operations: [] Exploring Operation: 61-13=48, Resulting Numbers: [2, 2, 48] Generated Node #2: [2, 2, 48] from Operation: 61-13=48 Current State: 47:[2, 2, 48], Operations: ['61-13=48'] Exploring Operation: 2/2=1, Resulting Numbers: [48, 1] Generated Node #3: [48, 1] from Operation: 2/2=1 Current State: 47:[48, 1], Operations: ['61-13=48', '2/2=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[61, 2, 2, 13], Operations: [] Exploring Operation: 2*13=26, Resulting Numbers: [61, 2, 26] Generated Node #0,0: 47:[61, 2, 26] Operation: 2*13=26 Moving to Node #0,0 Current State: 47:[61, 2, 26], Operations: ['2*13=26'] Exploring Operation: 2*26=52, Resulting Numbers: [61, 52] Generated Node #0,0,0: 47:[61, 52] Operation: 2*26=52 Moving to Node #0,0,0 Current State: 47:[61, 52], Operations: ['2*13=26', '2*26=52'] Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,47 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 76, 53, 88, 92 ]
84
[ "76-53=23", "92/23=4", "88-4=84" ]
Current State: 84:[76, 53, 88, 92], Operations: [] Exploring Operation: 76-53=23, Resulting Numbers: [88, 92, 23] Generated Node #2: [88, 92, 23] from Operation: 76-53=23 Current State: 84:[88, 92, 23], Operations: ['76-53=23'] Exploring Operation: 92/23=4, Resulting Numbers: [88, 4] Generated Node #3: [88, 4] from Operation: 92/23=4 Current State: 84:[88, 4], Operations: ['76-53=23', '92/23=4'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[76, 53, 88, 92], Operations: [] Exploring Operation: 76-53=23, Resulting Numbers: [88, 92, 23] Generated Node #0,0: 84:[88, 92, 23] Operation: 76-53=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[88, 92, 23], Operations: ['76-53=23'] Exploring Operation: 92-88=4, Resulting Numbers: [23, 4] Generated Node #0,0,0: 84:[23, 4] Operation: 92-88=4 Moving to Node #0,0,0 Current State: 84:[23, 4], Operations: ['76-53=23', '92-88=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,84 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
[ 31, 39, 84, 74 ]
60
[ "31+39=70", "84-74=10", "70-10=60" ]
Current State: 60:[31, 39, 84, 74], Operations: [] Exploring Operation: 31+39=70, Resulting Numbers: [84, 74, 70] Generated Node #2: [84, 74, 70] from Operation: 31+39=70 Current State: 60:[84, 74, 70], Operations: ['31+39=70'] Exploring Operation: 84-74=10, Resulting Numbers: [70, 10] Generated Node #3: [70, 10] from Operation: 84-74=10 Current State: 60:[70, 10], Operations: ['31+39=70', '84-74=10'] Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[31, 39, 84, 74], Operations: [] Exploring Operation: 84-74=10, Resulting Numbers: [31, 39, 10] Generated Node #0,0: 60:[31, 39, 10] Operation: 84-74=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[31, 39, 10], Operations: ['84-74=10'] Exploring Operation: 39-31=8, Resulting Numbers: [10, 8] Generated Node #0,0,0: 60:[10, 8] Operation: 39-31=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[10, 8], Operations: ['84-74=10', '39-31=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 49, 51, 20, 27 ]
93
[ "49+51=100", "27-20=7", "100-7=93" ]
Current State: 93:[49, 51, 20, 27], Operations: [] Exploring Operation: 49+51=100, Resulting Numbers: [20, 27, 100] Generated Node #2: [20, 27, 100] from Operation: 49+51=100 Current State: 93:[20, 27, 100], Operations: ['49+51=100'] Exploring Operation: 27-20=7, Resulting Numbers: [100, 7] Generated Node #3: [100, 7] from Operation: 27-20=7 Current State: 93:[100, 7], Operations: ['49+51=100', '27-20=7'] Exploring Operation: 100-7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[49, 51, 20, 27], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [20, 27, 2] Generated Node #0,0: 93:[20, 27, 2] Operation: 51-49=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[20, 27, 2], Operations: ['51-49=2'] Exploring Operation: 27-20=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 93:[2, 7] Operation: 27-20=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[2, 7], Operations: ['51-49=2', '27-20=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,93 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
[ 83, 2, 15, 57 ]
55
[ "83+57=140", "140/2=70", "70-15=55" ]
Current State: 55:[83, 2, 15, 57], Operations: [] Exploring Operation: 83+57=140, Resulting Numbers: [2, 15, 140] Generated Node #2: [2, 15, 140] from Operation: 83+57=140 Current State: 55:[2, 15, 140], Operations: ['83+57=140'] Exploring Operation: 140/2=70, Resulting Numbers: [15, 70] Generated Node #3: [15, 70] from Operation: 140/2=70 Current State: 55:[15, 70], Operations: ['83+57=140', '140/2=70'] Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[83, 2, 15, 57], Operations: [] Exploring Operation: 83-15=68, Resulting Numbers: [2, 57, 68] Generated Node #0,0: 55:[2, 57, 68] Operation: 83-15=68 Exploring Operation: 83-57=26, Resulting Numbers: [2, 15, 26] Generated Node #0,1: 55:[2, 15, 26] Operation: 83-57=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[2, 57, 68], Operations: ['83-15=68'] Exploring Operation: 68-57=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 55:[2, 11] Operation: 68-57=11 Exploring Operation: 57-2=55, Resulting Numbers: [68, 55] Generated Node #0,0,1: 55:[68, 55] Operation: 57-2=55 Moving to Node #0,0,0 Current State: 55:[2, 11], Operations: ['83-15=68', '68-57=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[68, 55], Operations: ['83-15=68', '57-2=55'] Exploring Operation: 68+55=123, Resulting Numbers: [123] 123,55 unequal: No Solution Exploring Operation: 68-55=13, Resulting Numbers: [13] 13,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 Current State: 55:[2, 15, 26], Operations: ['83-57=26'] Exploring Operation: 26/2=13, Resulting Numbers: [15, 13] Generated Node #0,1,0: 55:[15, 13] Operation: 26/2=13 Exploring Operation: 26-15=11, Resulting Numbers: [2, 11] Generated Node #0,1,1: 55:[2, 11] Operation: 26-15=11 Moving to Node #0,1,1 Current State: 55:[2, 11], Operations: ['83-57=26', '26-15=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[15, 13], Operations: ['83-57=26', '26/2=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,55 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,55 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
[ 83, 23, 19, 44 ]
93
[ "23-19=4", "44*4=176", "176-83=93" ]
Current State: 93:[83, 23, 19, 44], Operations: [] Exploring Operation: 23-19=4, Resulting Numbers: [83, 44, 4] Generated Node #2: [83, 44, 4] from Operation: 23-19=4 Current State: 93:[83, 44, 4], Operations: ['23-19=4'] Exploring Operation: 44*4=176, Resulting Numbers: [83, 176] Generated Node #3: [83, 176] from Operation: 44*4=176 Current State: 93:[83, 176], Operations: ['23-19=4', '44*4=176'] Exploring Operation: 176-83=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[83, 23, 19, 44], Operations: [] Exploring Operation: 83-44=39, Resulting Numbers: [23, 19, 39] Generated Node #0,0: 93:[23, 19, 39] Operation: 83-44=39 Exploring Operation: 83+19=102, Resulting Numbers: [23, 44, 102] Generated Node #0,1: 93:[23, 44, 102] Operation: 83+19=102 Exploring Operation: 23-19=4, Resulting Numbers: [83, 44, 4] Generated Node #0,2: 93:[83, 44, 4] Operation: 23-19=4 Exploring Operation: 44-19=25, Resulting Numbers: [83, 23, 25] Generated Node #0,3: 93:[83, 23, 25] Operation: 44-19=25 Exploring Operation: 44-23=21, Resulting Numbers: [83, 19, 21] Generated Node #0,4: 93:[83, 19, 21] Operation: 44-23=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[83, 44, 4], Operations: ['23-19=4'] Exploring Operation: 44/4=11, Resulting Numbers: [83, 11] Generated Node #0,2,0: 93:[83, 11] Operation: 44/4=11 Exploring Operation: 83+4=87, Resulting Numbers: [44, 87] Generated Node #0,2,1: 93:[44, 87] Operation: 83+4=87 Exploring Operation: 44-4=40, Resulting Numbers: [83, 40] Generated Node #0,2,2: 93:[83, 40] Operation: 44-4=40 Exploring Operation: 83-44=39, Resulting Numbers: [4, 39] Generated Node #0,2,3: 93:[4, 39] Operation: 83-44=39 Exploring Operation: 83-4=79, Resulting Numbers: [44, 79] Generated Node #0,2,4: 93:[44, 79] Operation: 83-4=79 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[4, 39], Operations: ['23-19=4', '83-44=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[83, 11], Operations: ['23-19=4', '44/4=11'] Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,93 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[44, 87], Operations: ['23-19=4', '83+4=87'] Exploring Operation: 44+87=131, Resulting Numbers: [131] 131,93 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 44*87=3828, Resulting Numbers: [3828] 3828,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[83, 40], Operations: ['23-19=4', '44-4=40'] Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,93 unequal: No Solution Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 93:[44, 79], Operations: ['23-19=4', '83-4=79'] Exploring Operation: 44*79=3476, Resulting Numbers: [3476] 3476,93 unequal: No Solution Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 44+79=123, Resulting Numbers: [123] 123,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[83, 23, 25], Operations: ['44-19=25'] Exploring Operation: 83+25=108, Resulting Numbers: [23, 108] Generated Node #0,3,0: 93:[23, 108] Operation: 83+25=108 Exploring Operation: 83+23=106, Resulting Numbers: [25, 106] Generated Node #0,3,1: 93:[25, 106] Operation: 83+23=106 Exploring Operation: 25-23=2, Resulting Numbers: [83, 2] Generated Node #0,3,2: 93:[83, 2] Operation: 25-23=2 Exploring Operation: 83-23=60, Resulting Numbers: [25, 60] Generated Node #0,3,3: 93:[25, 60] Operation: 83-23=60 Exploring Operation: 23+25=48, Resulting Numbers: [83, 48] Generated Node #0,3,4: 93:[83, 48] Operation: 23+25=48 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 93:[83, 2], Operations: ['44-19=25', '25-23=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 93:[25, 106], Operations: ['44-19=25', '83+23=106'] Exploring Operation: 25*106=2650, Resulting Numbers: [2650] 2650,93 unequal: No Solution Exploring Operation: 25+106=131, Resulting Numbers: [131] 131,93 unequal: No Solution Exploring Operation: 106-25=81, Resulting Numbers: [81] 81,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[23, 108], Operations: ['44-19=25', '83+25=108'] Exploring Operation: 23*108=2484, Resulting Numbers: [2484] 2484,93 unequal: No Solution Exploring Operation: 23+108=131, Resulting Numbers: [131] 131,93 unequal: No Solution Exploring Operation: 108-23=85, Resulting Numbers: [85] 85,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 93:[83, 48], Operations: ['44-19=25', '23+25=48'] Exploring Operation: 83-48=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 83+48=131, Resulting Numbers: [131] 131,93 unequal: No Solution Exploring Operation: 83*48=3984, Resulting Numbers: [3984] 3984,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 93:[25, 60], Operations: ['44-19=25', '83-23=60'] Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,93 unequal: No Solution Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,93 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: 93:[23, 19, 39], Operations: ['83-44=39'] Exploring Operation: 23-19=4, Resulting Numbers: [39, 4] Generated Node #0,0,0: 93:[39, 4] Operation: 23-19=4 Exploring Operation: 19+39=58, Resulting Numbers: [23, 58] Generated Node #0,0,1: 93:[23, 58] Operation: 19+39=58 Exploring Operation: 39-19=20, Resulting Numbers: [23, 20] Generated Node #0,0,2: 93:[23, 20] Operation: 39-19=20 Exploring Operation: 39-23=16, Resulting Numbers: [19, 16] Generated Node #0,0,3: 93:[19, 16] Operation: 39-23=16 Exploring Operation: 23+19=42, Resulting Numbers: [39, 42] Generated Node #0,0,4: 93:[39, 42] Operation: 23+19=42 Moving to Node #0,0,0 Current State: 93:[39, 4], Operations: ['83-44=39', '23-19=4'] Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,93 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,93 unequal: No Solution Moving to Node #0,0,4 Current State: 93:[39, 42], Operations: ['83-44=39', '23+19=42'] Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[23, 20], Operations: ['83-44=39', '39-19=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,93 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[19, 16], Operations: ['83-44=39', '39-23=16'] Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,93 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[23, 58], Operations: ['83-44=39', '19+39=58'] Exploring Operation: 23+58=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 23*58=1334, Resulting Numbers: [1334] 1334,93 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,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 Current State: 93:[23, 44, 102], Operations: ['83+19=102'] Exploring Operation: 23+44=67, Resulting Numbers: [102, 67] Generated Node #0,1,0: 93:[102, 67] Operation: 23+44=67 Exploring Operation: 44-23=21, Resulting Numbers: [102, 21] Generated Node #0,1,1: 93:[102, 21] Operation: 44-23=21 Exploring Operation: 102-23=79, Resulting Numbers: [44, 79] Generated Node #0,1,2: 93:[44, 79] Operation: 102-23=79 Exploring Operation: 102-44=58, Resulting Numbers: [23, 58] Generated Node #0,1,3: 93:[23, 58] Operation: 102-44=58 Exploring Operation: 23+102=125, Resulting Numbers: [44, 125] Generated Node #0,1,4: 93:[44, 125] Operation: 23+102=125 Moving to Node #0,1,1 Current State: 93:[102, 21], Operations: ['83+19=102', '44-23=21'] Exploring Operation: 102*21=2142, Resulting Numbers: [2142] 2142,93 unequal: No Solution Exploring Operation: 102+21=123, Resulting Numbers: [123] 123,93 unequal: No Solution Exploring Operation: 102-21=81, Resulting Numbers: [81] 81,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[44, 79], Operations: ['83+19=102', '102-23=79'] Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 44*79=3476, Resulting Numbers: [3476] 3476,93 unequal: No Solution Exploring Operation: 44+79=123, Resulting Numbers: [123] 123,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[102, 67], Operations: ['83+19=102', '23+44=67'] Exploring Operation: 102+67=169, Resulting Numbers: [169] 169,93 unequal: No Solution Exploring Operation: 102-67=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 102*67=6834, Resulting Numbers: [6834] 6834,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[23, 58], Operations: ['83+19=102', '102-44=58'] Exploring Operation: 23+58=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 23*58=1334, Resulting Numbers: [1334] 1334,93 unequal: No Solution Moving to Node #0,1,4 Current State: 93:[44, 125], Operations: ['83+19=102', '23+102=125'] Exploring Operation: 44+125=169, Resulting Numbers: [169] 169,93 unequal: No Solution Exploring Operation: 125-44=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 44*125=5500, Resulting Numbers: [5500] 5500,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,4 Current State: 93:[83, 19, 21], Operations: ['44-23=21'] Exploring Operation: 83+19=102, Resulting Numbers: [21, 102] Generated Node #0,4,0: 93:[21, 102] Operation: 83+19=102 Exploring Operation: 83+21=104, Resulting Numbers: [19, 104] Generated Node #0,4,1: 93:[19, 104] Operation: 83+21=104 Exploring Operation: 19+21=40, Resulting Numbers: [83, 40] Generated Node #0,4,2: 93:[83, 40] Operation: 19+21=40 Exploring Operation: 21-19=2, Resulting Numbers: [83, 2] Generated Node #0,4,3: 93:[83, 2] Operation: 21-19=2 Exploring Operation: 83-19=64, Resulting Numbers: [21, 64] Generated Node #0,4,4: 93:[21, 64] Operation: 83-19=64 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 93:[83, 2], Operations: ['44-23=21', '21-19=2'] Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,93 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 93:[21, 102], Operations: ['44-23=21', '83+19=102'] Exploring Operation: 21+102=123, Resulting Numbers: [123] 123,93 unequal: No Solution Exploring Operation: 102-21=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 21*102=2142, Resulting Numbers: [2142] 2142,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 93:[83, 40], Operations: ['44-23=21', '19+21=40'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,93 unequal: No Solution Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 93:[19, 104], Operations: ['44-23=21', '83+21=104'] Exploring Operation: 19+104=123, Resulting Numbers: [123] 123,93 unequal: No Solution Exploring Operation: 19*104=1976, Resulting Numbers: [1976] 1976,93 unequal: No Solution Exploring Operation: 104-19=85, Resulting Numbers: [85] 85,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 93:[21, 64], Operations: ['44-23=21', '83-19=64'] Exploring Operation: 21+64=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 21*64=1344, Resulting Numbers: [1344] 1344,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 22, 57, 53, 29 ]
94
[ "57-53=4", "29*4=116", "116-22=94" ]
Current State: 94:[22, 57, 53, 29], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [22, 29, 4] Generated Node #2: [22, 29, 4] from Operation: 57-53=4 Current State: 94:[22, 29, 4], Operations: ['57-53=4'] Exploring Operation: 29*4=116, Resulting Numbers: [22, 116] Generated Node #3: [22, 116] from Operation: 29*4=116 Current State: 94:[22, 116], Operations: ['57-53=4', '29*4=116'] Exploring Operation: 116-22=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[22, 57, 53, 29], Operations: [] Exploring Operation: 29-22=7, Resulting Numbers: [57, 53, 7] Generated Node #0,0: 94:[57, 53, 7] Operation: 29-22=7 Exploring Operation: 22+29=51, Resulting Numbers: [57, 53, 51] Generated Node #0,1: 94:[57, 53, 51] Operation: 22+29=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[57, 53, 51], Operations: ['22+29=51'] Exploring Operation: 57-51=6, Resulting Numbers: [53, 6] Generated Node #0,1,0: 94:[53, 6] Operation: 57-51=6 Exploring Operation: 57-53=4, Resulting Numbers: [51, 4] Generated Node #0,1,1: 94:[51, 4] Operation: 57-53=4 Moving to Node #0,1,1 Current State: 94:[51, 4], Operations: ['22+29=51', '57-53=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[53, 6], Operations: ['22+29=51', '57-51=6'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[57, 53, 7], Operations: ['29-22=7'] Exploring Operation: 57-7=50, Resulting Numbers: [53, 50] Generated Node #0,0,0: 94:[53, 50] Operation: 57-7=50 Exploring Operation: 57-53=4, Resulting Numbers: [7, 4] Generated Node #0,0,1: 94:[7, 4] Operation: 57-53=4 Moving to Node #0,0,1 Current State: 94:[7, 4], Operations: ['29-22=7', '57-53=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[53, 50], Operations: ['29-22=7', '57-7=50'] Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 53+50=103, Resulting Numbers: [103] 103,94 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
[ 17, 34, 76, 66 ]
41
[ "17+34=51", "76-66=10", "51-10=41" ]
Current State: 41:[17, 34, 76, 66], Operations: [] Exploring Operation: 17+34=51, Resulting Numbers: [76, 66, 51] Generated Node #2: [76, 66, 51] from Operation: 17+34=51 Current State: 41:[76, 66, 51], Operations: ['17+34=51'] Exploring Operation: 76-66=10, Resulting Numbers: [51, 10] Generated Node #3: [51, 10] from Operation: 76-66=10 Current State: 41:[51, 10], Operations: ['17+34=51', '76-66=10'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[17, 34, 76, 66], Operations: [] Exploring Operation: 66-17=49, Resulting Numbers: [34, 76, 49] Generated Node #0,0: 41:[34, 76, 49] Operation: 66-17=49 Exploring Operation: 76-17=59, Resulting Numbers: [34, 66, 59] Generated Node #0,1: 41:[34, 66, 59] Operation: 76-17=59 Moving to Node #0,0 Current State: 41:[34, 76, 49], Operations: ['66-17=49'] Exploring Operation: 76-49=27, Resulting Numbers: [34, 27] Generated Node #0,0,0: 41:[34, 27] Operation: 76-49=27 Exploring Operation: 76-34=42, Resulting Numbers: [49, 42] Generated Node #0,0,1: 41:[49, 42] Operation: 76-34=42 Moving to Node #0,1 Current State: 41:[34, 66, 59], Operations: ['76-17=59'] Exploring Operation: 66-34=32, Resulting Numbers: [59, 32] Generated Node #0,1,0: 41:[59, 32] Operation: 66-34=32 Exploring Operation: 59-34=25, Resulting Numbers: [66, 25] Generated Node #0,1,1: 41:[66, 25] Operation: 59-34=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[59, 32], Operations: ['76-17=59', '66-34=32'] Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 59+32=91, Resulting Numbers: [91] 91,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[66, 25], Operations: ['76-17=59', '59-34=25'] Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[17, 34, 76, 66], Operations: [] Exploring Operation: 76-17=59, Resulting Numbers: [34, 66, 59] Generated Node #0,1: 41:[34, 66, 59] Operation: 76-17=59 Moving to Node #0,1 Current State: 41:[34, 66, 59], Operations: ['76-17=59'] Exploring Operation: 59-34=25, Resulting Numbers: [66, 25] Generated Node #0,1,1: 41:[66, 25] Operation: 59-34=25 Moving to Node #0,1,1 Current State: 41:[66, 25], Operations: ['76-17=59', '59-34=25'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_2
mult_heuristic
[ 74, 12, 21, 88 ]
90
[ "74+88=162", "12*21=252", "252-162=90" ]
Current State: 90:[74, 12, 21, 88], Operations: [] Exploring Operation: 74+88=162, Resulting Numbers: [12, 21, 162] Generated Node #2: [12, 21, 162] from Operation: 74+88=162 Current State: 90:[12, 21, 162], Operations: ['74+88=162'] Exploring Operation: 12*21=252, Resulting Numbers: [162, 252] Generated Node #3: [162, 252] from Operation: 12*21=252 Current State: 90:[162, 252], Operations: ['74+88=162', '12*21=252'] Exploring Operation: 252-162=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[74, 12, 21, 88], Operations: [] Exploring Operation: 74-21=53, Resulting Numbers: [12, 88, 53] Generated Node #0,0: 90:[12, 88, 53] Operation: 74-21=53 Exploring Operation: 74+12=86, Resulting Numbers: [21, 88, 86] Generated Node #0,1: 90:[21, 88, 86] Operation: 74+12=86 Exploring Operation: 74+21=95, Resulting Numbers: [12, 88, 95] Generated Node #0,2: 90:[12, 88, 95] Operation: 74+21=95 Exploring Operation: 88-74=14, Resulting Numbers: [12, 21, 14] Generated Node #0,3: 90:[12, 21, 14] Operation: 88-74=14 Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[12, 21, 14], Operations: ['88-74=14'] Exploring Operation: 12+21=33, Resulting Numbers: [14, 33] Generated Node #0,3,0: 90:[14, 33] Operation: 12+21=33 Exploring Operation: 21-14=7, Resulting Numbers: [12, 7] Generated Node #0,3,1: 90:[12, 7] Operation: 21-14=7 Exploring Operation: 14-12=2, Resulting Numbers: [21, 2] Generated Node #0,3,2: 90:[21, 2] Operation: 14-12=2 Exploring Operation: 21-12=9, Resulting Numbers: [14, 9] Generated Node #0,3,3: 90:[14, 9] Operation: 21-12=9 Moving to Node #0,3,3 Current State: 90:[14, 9], Operations: ['88-74=14', '21-12=9'] Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,90 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[21, 2], Operations: ['88-74=14', '14-12=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[12, 7], Operations: ['88-74=14', '21-14=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,90 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[14, 33], Operations: ['88-74=14', '12+21=33'] Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,90 unequal: No Solution Exploring Operation: 14*33=462, Resulting Numbers: [462] 462,90 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[21, 88, 86], Operations: ['74+12=86'] Exploring Operation: 86-21=65, Resulting Numbers: [88, 65] Generated Node #0,1,0: 90:[88, 65] Operation: 86-21=65 Exploring Operation: 88-86=2, Resulting Numbers: [21, 2] Generated Node #0,1,1: 90:[21, 2] Operation: 88-86=2 Exploring Operation: 21+88=109, Resulting Numbers: [86, 109] Generated Node #0,1,2: 90:[86, 109] Operation: 21+88=109 Exploring Operation: 21+86=107, Resulting Numbers: [88, 107] Generated Node #0,1,3: 90:[88, 107] Operation: 21+86=107 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[21, 2], Operations: ['74+12=86', '88-86=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,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,1,3 Current State: 90:[88, 107], Operations: ['74+12=86', '21+86=107'] Exploring Operation: 88*107=9416, Resulting Numbers: [9416] 9416,90 unequal: No Solution Exploring Operation: 107-88=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 88+107=195, Resulting Numbers: [195] 195,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,1,0 Current State: 90:[88, 65], Operations: ['74+12=86', '86-21=65'] Exploring Operation: 88+65=153, Resulting Numbers: [153] 153,90 unequal: No Solution Exploring Operation: 88-65=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 88*65=5720, Resulting Numbers: [5720] 5720,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,1,2 Current State: 90:[86, 109], Operations: ['74+12=86', '21+88=109'] Exploring Operation: 86+109=195, Resulting Numbers: [195] 195,90 unequal: No Solution Exploring Operation: 109-86=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 86*109=9374, Resulting Numbers: [9374] 9374,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[12, 88, 95], Operations: ['74+21=95'] Exploring Operation: 95-88=7, Resulting Numbers: [12, 7] Generated Node #0,2,0: 90:[12, 7] Operation: 95-88=7 Exploring Operation: 12+88=100, Resulting Numbers: [95, 100] Generated Node #0,2,1: 90:[95, 100] Operation: 12+88=100 Exploring Operation: 95-12=83, Resulting Numbers: [88, 83] Generated Node #0,2,2: 90:[88, 83] Operation: 95-12=83 Exploring Operation: 88-12=76, Resulting Numbers: [95, 76] Generated Node #0,2,3: 90:[95, 76] Operation: 88-12=76 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 90:[12, 7], Operations: ['74+21=95', '95-88=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,90 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,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,2 Current State: 90:[88, 83], Operations: ['74+21=95', '95-12=83'] Exploring Operation: 88-83=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 88*83=7304, Resulting Numbers: [7304] 7304,90 unequal: No Solution Exploring Operation: 88+83=171, Resulting Numbers: [171] 171,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,1 Current State: 90:[95, 100], Operations: ['74+21=95', '12+88=100'] Exploring Operation: 100-95=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 95*100=9500, Resulting Numbers: [9500] 9500,90 unequal: No Solution Exploring Operation: 95+100=195, Resulting Numbers: [195] 195,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:[95, 76], Operations: ['74+21=95', '88-12=76'] Exploring Operation: 95*76=7220, Resulting Numbers: [7220] 7220,90 unequal: No Solution Exploring Operation: 95-76=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 95+76=171, Resulting Numbers: [171] 171,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[12, 88, 53], Operations: ['74-21=53'] Exploring Operation: 88-53=35, Resulting Numbers: [12, 35] Generated Node #0,0,0: 90:[12, 35] Operation: 88-53=35 Exploring Operation: 12+88=100, Resulting Numbers: [53, 100] Generated Node #0,0,1: 90:[53, 100] Operation: 12+88=100 Exploring Operation: 53-12=41, Resulting Numbers: [88, 41] Generated Node #0,0,2: 90:[88, 41] Operation: 53-12=41 Exploring Operation: 88-12=76, Resulting Numbers: [53, 76] Generated Node #0,0,3: 90:[53, 76] Operation: 88-12=76 Moving to Node #0,0,2 Current State: 90:[88, 41], Operations: ['74-21=53', '53-12=41'] Exploring Operation: 88*41=3608, Resulting Numbers: [3608] 3608,90 unequal: No Solution Exploring Operation: 88+41=129, Resulting Numbers: [129] 129,90 unequal: No Solution Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[12, 35], Operations: ['74-21=53', '88-53=35'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 12+35=47, Resulting Numbers: [47] 47,90 unequal: No Solution Exploring Operation: 12*35=420, Resulting Numbers: [420] 420,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[53, 100], Operations: ['74-21=53', '12+88=100'] Exploring Operation: 53+100=153, Resulting Numbers: [153] 153,90 unequal: No Solution Exploring Operation: 53*100=5300, Resulting Numbers: [5300] 5300,90 unequal: No Solution Exploring Operation: 100-53=47, Resulting Numbers: [47] 47,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[53, 76], Operations: ['74-21=53', '88-12=76'] Exploring Operation: 53*76=4028, Resulting Numbers: [4028] 4028,90 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 53+76=129, Resulting Numbers: [129] 129,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 43, 5, 19, 51 ]
14
[ "43*5=215", "51+215=266", "266/19=14" ]
Current State: 14:[43, 5, 19, 51], Operations: [] Exploring Operation: 43*5=215, Resulting Numbers: [19, 51, 215] Generated Node #2: [19, 51, 215] from Operation: 43*5=215 Current State: 14:[19, 51, 215], Operations: ['43*5=215'] Exploring Operation: 51+215=266, Resulting Numbers: [19, 266] Generated Node #3: [19, 266] from Operation: 51+215=266 Current State: 14:[19, 266], Operations: ['43*5=215', '51+215=266'] Exploring Operation: 266/19=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[43, 5, 19, 51], Operations: [] Exploring Operation: 43-19=24, Resulting Numbers: [5, 51, 24] Generated Node #0,0: 14:[5, 51, 24] Operation: 43-19=24 Exploring Operation: 51-43=8, Resulting Numbers: [5, 19, 8] Generated Node #0,1: 14:[5, 19, 8] Operation: 51-43=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[5, 19, 8], Operations: ['51-43=8'] Exploring Operation: 19-8=11, Resulting Numbers: [5, 11] Generated Node #0,1,0: 14:[5, 11] Operation: 19-8=11 Exploring Operation: 19-5=14, Resulting Numbers: [8, 14] Generated Node #0,1,1: 14:[8, 14] Operation: 19-5=14 Moving to Node #0,1,1 Current State: 14:[8, 14], Operations: ['51-43=8', '19-5=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[5, 11], Operations: ['51-43=8', '19-8=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[5, 51, 24], Operations: ['43-19=24'] Exploring Operation: 51-5=46, Resulting Numbers: [24, 46] Generated Node #0,0,0: 14:[24, 46] Operation: 51-5=46 Exploring Operation: 51-24=27, Resulting Numbers: [5, 27] Generated Node #0,0,1: 14:[5, 27] Operation: 51-24=27 Moving to Node #0,0,1 Current State: 14:[5, 27], Operations: ['43-19=24', '51-24=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,14 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[24, 46], Operations: ['43-19=24', '51-5=46'] Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,14 unequal: No Solution Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,14 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
[ 26, 13, 78, 41 ]
47
[ "26-13=13", "78/13=6", "41+6=47" ]
Current State: 47:[26, 13, 78, 41], Operations: [] Exploring Operation: 26-13=13, Resulting Numbers: [78, 41, 13] Generated Node #2: [78, 41, 13] from Operation: 26-13=13 Current State: 47:[78, 41, 13], Operations: ['26-13=13'] Exploring Operation: 78/13=6, Resulting Numbers: [41, 6] Generated Node #3: [41, 6] from Operation: 78/13=6 Current State: 47:[41, 6], Operations: ['26-13=13', '78/13=6'] Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[26, 13, 78, 41], Operations: [] Exploring Operation: 26+13=39, Resulting Numbers: [78, 41, 39] Generated Node #0,0: 47:[78, 41, 39] Operation: 26+13=39 Exploring Operation: 78-26=52, Resulting Numbers: [13, 41, 52] Generated Node #0,1: 47:[13, 41, 52] Operation: 78-26=52 Exploring Operation: 78-13=65, Resulting Numbers: [26, 41, 65] Generated Node #0,2: 47:[26, 41, 65] Operation: 78-13=65 Moving to Node #0,0 Current State: 47:[78, 41, 39], Operations: ['26+13=39'] Exploring Operation: 78-39=39, Resulting Numbers: [41, 39] Generated Node #0,0,0: 47:[41, 39] Operation: 78-39=39 Exploring Operation: 78-41=37, Resulting Numbers: [39, 37] Generated Node #0,0,1: 47:[39, 37] Operation: 78-41=37 Exploring Operation: 78/39=2, Resulting Numbers: [41, 2] Generated Node #0,0,2: 47:[41, 2] Operation: 78/39=2 Moving to Node #0,1 Current State: 47:[13, 41, 52], Operations: ['78-26=52'] Exploring Operation: 13+41=54, Resulting Numbers: [52, 54] Generated Node #0,1,0: 47:[52, 54] Operation: 13+41=54 Exploring Operation: 41-13=28, Resulting Numbers: [52, 28] Generated Node #0,1,1: 47:[52, 28] Operation: 41-13=28 Exploring Operation: 52-13=39, Resulting Numbers: [41, 39] Generated Node #0,1,2: 47:[41, 39] Operation: 52-13=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[52, 54], Operations: ['78-26=52', '13+41=54'] Exploring Operation: 52*54=2808, Resulting Numbers: [2808] 2808,47 unequal: No Solution Exploring Operation: 52+54=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 54-52=2, Resulting Numbers: [2] 2,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[41, 39], Operations: ['78-26=52', '52-13=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,47 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[52, 28], Operations: ['78-26=52', '41-13=28'] Exploring Operation: 52*28=1456, Resulting Numbers: [1456] 1456,47 unequal: No Solution Exploring Operation: 52+28=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,47 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: 47:[26, 41, 65], Operations: ['78-13=65'] Exploring Operation: 65-41=24, Resulting Numbers: [26, 24] Generated Node #0,2,0: 47:[26, 24] Operation: 65-41=24 Exploring Operation: 26+41=67, Resulting Numbers: [65, 67] Generated Node #0,2,1: 47:[65, 67] Operation: 26+41=67 Exploring Operation: 65-26=39, Resulting Numbers: [41, 39] Generated Node #0,2,2: 47:[41, 39] Operation: 65-26=39 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[41, 39], Operations: ['78-13=65', '65-26=39'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,47 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,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,1 Current State: 47:[65, 67], Operations: ['78-13=65', '26+41=67'] Exploring Operation: 65+67=132, Resulting Numbers: [132] 132,47 unequal: No Solution Exploring Operation: 67-65=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 65*67=4355, Resulting Numbers: [4355] 4355,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,0 Current State: 47:[26, 24], Operations: ['78-13=65', '65-41=24'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,47 unequal: No Solution Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,47 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: 47:[41, 39], Operations: ['26+13=39', '78-39=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[39, 37], Operations: ['26+13=39', '78-41=37'] Exploring Operation: 39*37=1443, Resulting Numbers: [1443] 1443,47 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[41, 2], Operations: ['26+13=39', '78/39=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,47 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,47 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 67, 35, 30, 64 ]
55
[ "67-64=3", "30*3=90", "90-35=55" ]
Current State: 55:[67, 35, 30, 64], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [35, 30, 3] Generated Node #2: [35, 30, 3] from Operation: 67-64=3 Current State: 55:[35, 30, 3], Operations: ['67-64=3'] Exploring Operation: 30*3=90, Resulting Numbers: [35, 90] Generated Node #3: [35, 90] from Operation: 30*3=90 Current State: 55:[35, 90], Operations: ['67-64=3', '30*3=90'] Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[67, 35, 30, 64], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [35, 30, 3] Generated Node #0,0: 55:[35, 30, 3] Operation: 67-64=3 Exploring Operation: 35-30=5, Resulting Numbers: [67, 64, 5] Generated Node #0,1: 55:[67, 64, 5] Operation: 35-30=5 Exploring Operation: 35+30=65, Resulting Numbers: [67, 64, 65] Generated Node #0,2: 55:[67, 64, 65] Operation: 35+30=65 Exploring Operation: 67-30=37, Resulting Numbers: [35, 64, 37] Generated Node #0,3: 55:[35, 64, 37] Operation: 67-30=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[67, 64, 5], Operations: ['35-30=5'] Exploring Operation: 67-5=62, Resulting Numbers: [64, 62] Generated Node #0,1,0: 55:[64, 62] Operation: 67-5=62 Exploring Operation: 67+5=72, Resulting Numbers: [64, 72] Generated Node #0,1,1: 55:[64, 72] Operation: 67+5=72 Exploring Operation: 64-5=59, Resulting Numbers: [67, 59] Generated Node #0,1,2: 55:[67, 59] Operation: 64-5=59 Exploring Operation: 67-64=3, Resulting Numbers: [5, 3] Generated Node #0,1,3: 55:[5, 3] Operation: 67-64=3 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 55:[5, 3], Operations: ['35-30=5', '67-64=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[64, 62], Operations: ['35-30=5', '67-5=62'] Exploring Operation: 64+62=126, Resulting Numbers: [126] 126,55 unequal: No Solution Exploring Operation: 64*62=3968, Resulting Numbers: [3968] 3968,55 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[67, 59], Operations: ['35-30=5', '64-5=59'] Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,55 unequal: No Solution Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[64, 72], Operations: ['35-30=5', '67+5=72'] Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 64*72=4608, Resulting Numbers: [4608] 4608,55 unequal: No Solution Exploring Operation: 64+72=136, Resulting Numbers: [136] 136,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[67, 64, 65], Operations: ['35+30=65'] Exploring Operation: 67-64=3, Resulting Numbers: [65, 3] Generated Node #0,2,0: 55:[65, 3] Operation: 67-64=3 Exploring Operation: 67+64=131, Resulting Numbers: [65, 131] Generated Node #0,2,1: 55:[65, 131] Operation: 67+64=131 Exploring Operation: 65-64=1, Resulting Numbers: [67, 1] Generated Node #0,2,2: 55:[67, 1] Operation: 65-64=1 Exploring Operation: 67-65=2, Resulting Numbers: [64, 2] Generated Node #0,2,3: 55:[64, 2] Operation: 67-65=2 Moving to Node #0,2,0 Current State: 55:[65, 3], Operations: ['35+30=65', '67-64=3'] Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,55 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[64, 2], Operations: ['35+30=65', '67-65=2'] Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,55 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,55 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,55 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[67, 1], Operations: ['35+30=65', '65-64=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,55 unequal: No Solution Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,55 unequal: No Solution Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[65, 131], Operations: ['35+30=65', '67+64=131'] Exploring Operation: 131-65=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 65*131=8515, Resulting Numbers: [8515] 8515,55 unequal: No Solution Exploring Operation: 65+131=196, Resulting Numbers: [196] 196,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,0 Current State: 55:[35, 30, 3], Operations: ['67-64=3'] Exploring Operation: 35-30=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 55:[3, 5] Operation: 35-30=5 Exploring Operation: 35+3=38, Resulting Numbers: [30, 38] Generated Node #0,0,1: 55:[30, 38] Operation: 35+3=38 Exploring Operation: 35+30=65, Resulting Numbers: [3, 65] Generated Node #0,0,2: 55:[3, 65] Operation: 35+30=65 Exploring Operation: 30/3=10, Resulting Numbers: [35, 10] Generated Node #0,0,3: 55:[35, 10] Operation: 30/3=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[3, 5], Operations: ['67-64=3', '35-30=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[3, 65], Operations: ['67-64=3', '35+30=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,55 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 55:[35, 10], Operations: ['67-64=3', '30/3=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,55 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[30, 38], Operations: ['67-64=3', '35+3=38'] Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 30*38=1140, Resulting Numbers: [1140] 1140,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[35, 64, 37], Operations: ['67-30=37'] Exploring Operation: 37-35=2, Resulting Numbers: [64, 2] Generated Node #0,3,0: 55:[64, 2] Operation: 37-35=2 Exploring Operation: 64-37=27, Resulting Numbers: [35, 27] Generated Node #0,3,1: 55:[35, 27] Operation: 64-37=27 Exploring Operation: 35+37=72, Resulting Numbers: [64, 72] Generated Node #0,3,2: 55:[64, 72] Operation: 35+37=72 Exploring Operation: 64-35=29, Resulting Numbers: [37, 29] Generated Node #0,3,3: 55:[37, 29] Operation: 64-35=29 Moving to Node #0,3,0 Current State: 55:[64, 2], Operations: ['67-30=37', '37-35=2'] Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,55 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,55 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[64, 72], Operations: ['67-30=37', '35+37=72'] Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 64+72=136, Resulting Numbers: [136] 136,55 unequal: No Solution Exploring Operation: 64*72=4608, Resulting Numbers: [4608] 4608,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[37, 29], Operations: ['67-30=37', '64-35=29'] Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,55 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[35, 27], Operations: ['67-30=37', '64-37=27'] Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,55 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 34, 17, 58, 73 ]
88
[ "34/17=2", "73*2=146", "146-58=88" ]
Current State: 88:[34, 17, 58, 73], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [58, 73, 2] Generated Node #2: [58, 73, 2] from Operation: 34/17=2 Current State: 88:[58, 73, 2], Operations: ['34/17=2'] Exploring Operation: 73*2=146, Resulting Numbers: [58, 146] Generated Node #3: [58, 146] from Operation: 73*2=146 Current State: 88:[58, 146], Operations: ['34/17=2', '73*2=146'] Exploring Operation: 146-58=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[34, 17, 58, 73], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [34, 17, 15] Generated Node #0,0: 88:[34, 17, 15] Operation: 73-58=15 Exploring Operation: 58-34=24, Resulting Numbers: [17, 73, 24] Generated Node #0,1: 88:[17, 73, 24] Operation: 58-34=24 Exploring Operation: 34+58=92, Resulting Numbers: [17, 73, 92] Generated Node #0,2: 88:[17, 73, 92] Operation: 34+58=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[34, 17, 15], Operations: ['73-58=15'] Exploring Operation: 34/17=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 88:[15, 2] Operation: 34/17=2 Exploring Operation: 34-17=17, Resulting Numbers: [15, 17] Generated Node #0,0,1: 88:[15, 17] Operation: 34-17=17 Exploring Operation: 34-15=19, Resulting Numbers: [17, 19] Generated Node #0,0,2: 88:[17, 19] Operation: 34-15=19 Moving to Node #0,0,0 Current State: 88:[15, 2], Operations: ['73-58=15', '34/17=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[17, 19], Operations: ['73-58=15', '34-15=19'] Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,88 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[15, 17], Operations: ['73-58=15', '34-17=17'] Exploring Operation: 15*17=255, Resulting Numbers: [255] 255,88 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 15+17=32, Resulting Numbers: [32] 32,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[17, 73, 24], Operations: ['58-34=24'] Exploring Operation: 73-17=56, Resulting Numbers: [24, 56] Generated Node #0,1,0: 88:[24, 56] Operation: 73-17=56 Exploring Operation: 17+73=90, Resulting Numbers: [24, 90] Generated Node #0,1,1: 88:[24, 90] Operation: 17+73=90 Exploring Operation: 73-24=49, Resulting Numbers: [17, 49] Generated Node #0,1,2: 88:[17, 49] Operation: 73-24=49 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[24, 90], Operations: ['58-34=24', '17+73=90'] Exploring Operation: 24+90=114, Resulting Numbers: [114] 114,88 unequal: No Solution Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,88 unequal: No Solution Exploring Operation: 24*90=2160, Resulting Numbers: [2160] 2160,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 88:[17, 49], Operations: ['58-34=24', '73-24=49'] Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,88 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,88 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,88 unequal: No Solution No 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: 88:[24, 56], Operations: ['58-34=24', '73-17=56'] Exploring Operation: 24+56=80, Resulting Numbers: [80] 80,88 unequal: No Solution Exploring Operation: 24*56=1344, Resulting Numbers: [1344] 1344,88 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,88 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: 88:[17, 73, 92], Operations: ['34+58=92'] Exploring Operation: 17+73=90, Resulting Numbers: [92, 90] Generated Node #0,2,0: 88:[92, 90] Operation: 17+73=90 Exploring Operation: 92-73=19, Resulting Numbers: [17, 19] Generated Node #0,2,1: 88:[17, 19] Operation: 92-73=19 Exploring Operation: 73-17=56, Resulting Numbers: [92, 56] Generated Node #0,2,2: 88:[92, 56] Operation: 73-17=56 Moving to Node #0,2,0 Current State: 88:[92, 90], Operations: ['34+58=92', '17+73=90'] Exploring Operation: 92+90=182, Resulting Numbers: [182] 182,88 unequal: No Solution Exploring Operation: 92*90=8280, Resulting Numbers: [8280] 8280,88 unequal: No Solution Exploring Operation: 92-90=2, Resulting Numbers: [2] 2,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[17, 19], Operations: ['34+58=92', '92-73=19'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,88 unequal: No Solution Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[92, 56], Operations: ['34+58=92', '73-17=56'] Exploring Operation: 92*56=5152, Resulting Numbers: [5152] 5152,88 unequal: No Solution Exploring Operation: 92+56=148, Resulting Numbers: [148] 148,88 unequal: No Solution Exploring Operation: 92-56=36, Resulting Numbers: [36] 36,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 93, 78, 3, 76 ]
45
[ "93-3=90", "78-76=2", "90/2=45" ]
Current State: 45:[93, 78, 3, 76], Operations: [] Exploring Operation: 93-3=90, Resulting Numbers: [78, 76, 90] Generated Node #2: [78, 76, 90] from Operation: 93-3=90 Current State: 45:[78, 76, 90], Operations: ['93-3=90'] Exploring Operation: 78-76=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 78-76=2 Current State: 45:[90, 2], Operations: ['93-3=90', '78-76=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[93, 78, 3, 76], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [93, 3, 2] Generated Node #0,0: 45:[93, 3, 2] Operation: 78-76=2 Exploring Operation: 93-76=17, Resulting Numbers: [78, 3, 17] Generated Node #0,1: 45:[78, 3, 17] Operation: 93-76=17 Exploring Operation: 93-78=15, Resulting Numbers: [3, 76, 15] Generated Node #0,2: 45:[3, 76, 15] Operation: 93-78=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[3, 76, 15], Operations: ['93-78=15'] Exploring Operation: 3*15=45, Resulting Numbers: [76, 45] Generated Node #0,2,0: 45:[76, 45] Operation: 3*15=45 Exploring Operation: 76-15=61, Resulting Numbers: [3, 61] Generated Node #0,2,1: 45:[3, 61] Operation: 76-15=61 Exploring Operation: 76-3=73, Resulting Numbers: [15, 73] Generated Node #0,2,2: 45:[15, 73] Operation: 76-3=73 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 45:[3, 61], Operations: ['93-78=15', '76-15=61'] Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 45:[15, 73], Operations: ['93-78=15', '76-3=73'] Exploring Operation: 15+73=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 15*73=1095, Resulting Numbers: [1095] 1095,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[76, 45], Operations: ['93-78=15', '3*15=45'] Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 76*45=3420, Resulting Numbers: [3420] 3420,45 unequal: No Solution Exploring Operation: 76+45=121, Resulting Numbers: [121] 121,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[78, 3, 17], Operations: ['93-76=17'] Exploring Operation: 78/3=26, Resulting Numbers: [17, 26] Generated Node #0,1,0: 45:[17, 26] Operation: 78/3=26 Exploring Operation: 78-3=75, Resulting Numbers: [17, 75] Generated Node #0,1,1: 45:[17, 75] Operation: 78-3=75 Exploring Operation: 78-17=61, Resulting Numbers: [3, 61] Generated Node #0,1,2: 45:[3, 61] Operation: 78-17=61 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[17, 26], Operations: ['93-76=17', '78/3=26'] Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,45 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,45 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 45:[3, 61], Operations: ['93-76=17', '78-17=61'] Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,45 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[17, 75], Operations: ['93-76=17', '78-3=75'] Exploring Operation: 17*75=1275, Resulting Numbers: [1275] 1275,45 unequal: No Solution Exploring Operation: 17+75=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[93, 3, 2], Operations: ['78-76=2'] Exploring Operation: 93-2=91, Resulting Numbers: [3, 91] Generated Node #0,0,0: 45:[3, 91] Operation: 93-2=91 Exploring Operation: 93/3=31, Resulting Numbers: [2, 31] Generated Node #0,0,1: 45:[2, 31] Operation: 93/3=31 Exploring Operation: 93-3=90, Resulting Numbers: [2, 90] Generated Node #0,0,2: 45:[2, 90] Operation: 93-3=90 Moving to Node #0,0,1 Current State: 45:[2, 31], Operations: ['78-76=2', '93/3=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,45 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[3, 91], Operations: ['78-76=2', '93-2=91'] Exploring Operation: 3*91=273, Resulting Numbers: [273] 273,45 unequal: No Solution Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,45 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[2, 90], Operations: ['78-76=2', '93-3=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[93, 78, 3, 76], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [93, 3, 2] Generated Node #0,0: 45:[93, 3, 2] Operation: 78-76=2 Moving to Node #0,0 Current State: 45:[93, 3, 2], Operations: ['78-76=2'] Exploring Operation: 93-3=90, Resulting Numbers: [2, 90] Generated Node #0,0,2: 45:[2, 90] Operation: 93-3=90 Moving to Node #0,0,2 Current State: 45:[2, 90], Operations: ['78-76=2', '93-3=90'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_3
mult_heuristic
[ 21, 84, 6, 24 ]
31
[ "21+24=45", "84/6=14", "45-14=31" ]
Current State: 31:[21, 84, 6, 24], Operations: [] Exploring Operation: 21+24=45, Resulting Numbers: [84, 6, 45] Generated Node #2: [84, 6, 45] from Operation: 21+24=45 Current State: 31:[84, 6, 45], Operations: ['21+24=45'] Exploring Operation: 84/6=14, Resulting Numbers: [45, 14] Generated Node #3: [45, 14] from Operation: 84/6=14 Current State: 31:[45, 14], Operations: ['21+24=45', '84/6=14'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[21, 84, 6, 24], Operations: [] Exploring Operation: 84/6=14, Resulting Numbers: [21, 24, 14] Generated Node #0,0: 31:[21, 24, 14] Operation: 84/6=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[21, 24, 14], Operations: ['84/6=14'] Exploring Operation: 21+14=35, Resulting Numbers: [24, 35] Generated Node #0,0,0: 31:[24, 35] Operation: 21+14=35 Moving to Node #0,0,0 Current State: 31:[24, 35], Operations: ['84/6=14', '21+14=35'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 11, 7, 83, 20 ]
51
[ "7*83=581", "581-20=561", "561/11=51" ]
Current State: 51:[11, 7, 83, 20], Operations: [] Exploring Operation: 7*83=581, Resulting Numbers: [11, 20, 581] Generated Node #2: [11, 20, 581] from Operation: 7*83=581 Current State: 51:[11, 20, 581], Operations: ['7*83=581'] Exploring Operation: 581-20=561, Resulting Numbers: [11, 561] Generated Node #3: [11, 561] from Operation: 581-20=561 Current State: 51:[11, 561], Operations: ['7*83=581', '581-20=561'] Exploring Operation: 561/11=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[11, 7, 83, 20], Operations: [] Exploring Operation: 83-20=63, Resulting Numbers: [11, 7, 63] Generated Node #0,0: 51:[11, 7, 63] Operation: 83-20=63 Exploring Operation: 11+7=18, Resulting Numbers: [83, 20, 18] Generated Node #0,1: 51:[83, 20, 18] Operation: 11+7=18 Exploring Operation: 83-11=72, Resulting Numbers: [7, 20, 72] Generated Node #0,2: 51:[7, 20, 72] Operation: 83-11=72 Exploring Operation: 83-7=76, Resulting Numbers: [11, 20, 76] Generated Node #0,3: 51:[11, 20, 76] Operation: 83-7=76 Exploring Operation: 11-7=4, Resulting Numbers: [83, 20, 4] Generated Node #0,4: 51:[83, 20, 4] Operation: 11-7=4 Moving to Node #0,0 Current State: 51:[11, 7, 63], Operations: ['83-20=63'] Exploring Operation: 11+7=18, Resulting Numbers: [63, 18] Generated Node #0,0,0: 51:[63, 18] Operation: 11+7=18 Exploring Operation: 11-7=4, Resulting Numbers: [63, 4] Generated Node #0,0,1: 51:[63, 4] Operation: 11-7=4 Exploring Operation: 63-11=52, Resulting Numbers: [7, 52] Generated Node #0,0,2: 51:[7, 52] Operation: 63-11=52 Exploring Operation: 63/7=9, Resulting Numbers: [11, 9] Generated Node #0,0,3: 51:[11, 9] Operation: 63/7=9 Exploring Operation: 63-7=56, Resulting Numbers: [11, 56] Generated Node #0,0,4: 51:[11, 56] Operation: 63-7=56 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[7, 52], Operations: ['83-20=63', '63-11=52'] Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 51:[11, 56], Operations: ['83-20=63', '63-7=56'] Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,51 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 51:[11, 9], Operations: ['83-20=63', '63/7=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,51 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[63, 18], Operations: ['83-20=63', '11+7=18'] Exploring Operation: 63*18=1134, Resulting Numbers: [1134] 1134,51 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[63, 4], Operations: ['83-20=63', '11-7=4'] Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,51 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,51 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: 51:[7, 20, 72], Operations: ['83-11=72'] Exploring Operation: 20-7=13, Resulting Numbers: [72, 13] Generated Node #0,2,0: 51:[72, 13] Operation: 20-7=13 Exploring Operation: 7+72=79, Resulting Numbers: [20, 79] Generated Node #0,2,1: 51:[20, 79] Operation: 7+72=79 Exploring Operation: 7+20=27, Resulting Numbers: [72, 27] Generated Node #0,2,2: 51:[72, 27] Operation: 7+20=27 Exploring Operation: 72-7=65, Resulting Numbers: [20, 65] Generated Node #0,2,3: 51:[20, 65] Operation: 72-7=65 Exploring Operation: 72-20=52, Resulting Numbers: [7, 52] Generated Node #0,2,4: 51:[7, 52] Operation: 72-20=52 Moving to Node #0,3 Current State: 51:[11, 20, 76], Operations: ['83-7=76'] Exploring Operation: 11+20=31, Resulting Numbers: [76, 31] Generated Node #0,3,0: 51:[76, 31] Operation: 11+20=31 Exploring Operation: 76-20=56, Resulting Numbers: [11, 56] Generated Node #0,3,1: 51:[11, 56] Operation: 76-20=56 Exploring Operation: 76-11=65, Resulting Numbers: [20, 65] Generated Node #0,3,2: 51:[20, 65] Operation: 76-11=65 Exploring Operation: 11+76=87, Resulting Numbers: [20, 87] Generated Node #0,3,3: 51:[20, 87] Operation: 11+76=87 Exploring Operation: 20-11=9, Resulting Numbers: [76, 9] Generated Node #0,3,4: 51:[76, 9] Operation: 20-11=9 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 51:[11, 56], Operations: ['83-7=76', '76-20=56'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 51:[20, 65], Operations: ['83-7=76', '76-11=65'] Exploring Operation: 20+65=85, Resulting Numbers: [85] 85,51 unequal: No Solution Exploring Operation: 20*65=1300, Resulting Numbers: [1300] 1300,51 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 51:[76, 9], Operations: ['83-7=76', '20-11=9'] Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 76*9=684, Resulting Numbers: [684] 684,51 unequal: No Solution Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[76, 31], Operations: ['83-7=76', '11+20=31'] Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,51 unequal: No Solution Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 51:[20, 87], Operations: ['83-7=76', '11+76=87'] Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 20+87=107, Resulting Numbers: [107] 107,51 unequal: No Solution Exploring Operation: 20*87=1740, Resulting Numbers: [1740] 1740,51 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: 51:[83, 20, 18], Operations: ['11+7=18'] Exploring Operation: 83-20=63, Resulting Numbers: [18, 63] Generated Node #0,1,0: 51:[18, 63] Operation: 83-20=63 Exploring Operation: 20-18=2, Resulting Numbers: [83, 2] Generated Node #0,1,1: 51:[83, 2] Operation: 20-18=2 Exploring Operation: 83-18=65, Resulting Numbers: [20, 65] Generated Node #0,1,2: 51:[20, 65] Operation: 83-18=65 Exploring Operation: 20+18=38, Resulting Numbers: [83, 38] Generated Node #0,1,3: 51:[83, 38] Operation: 20+18=38 Exploring Operation: 83+20=103, Resulting Numbers: [18, 103] Generated Node #0,1,4: 51:[18, 103] Operation: 83+20=103 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[18, 63], Operations: ['11+7=18', '83-20=63'] Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 18*63=1134, Resulting Numbers: [1134] 1134,51 unequal: No Solution Exploring Operation: 18+63=81, Resulting Numbers: [81] 81,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 51:[20, 65], Operations: ['11+7=18', '83-18=65'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 20*65=1300, Resulting Numbers: [1300] 1300,51 unequal: No Solution Exploring Operation: 20+65=85, Resulting Numbers: [85] 85,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[83, 2], Operations: ['11+7=18', '20-18=2'] Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,51 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,51 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 51:[83, 38], Operations: ['11+7=18', '20+18=38'] Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 83+38=121, Resulting Numbers: [121] 121,51 unequal: No Solution Exploring Operation: 83*38=3154, Resulting Numbers: [3154] 3154,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 51:[18, 103], Operations: ['11+7=18', '83+20=103'] Exploring Operation: 18*103=1854, Resulting Numbers: [1854] 1854,51 unequal: No Solution Exploring Operation: 18+103=121, Resulting Numbers: [121] 121,51 unequal: No Solution Exploring Operation: 103-18=85, Resulting Numbers: [85] 85,51 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: 51:[83, 20, 4], Operations: ['11-7=4'] Exploring Operation: 83-20=63, Resulting Numbers: [4, 63] Generated Node #0,4,0: 51:[4, 63] Operation: 83-20=63 Exploring Operation: 83+4=87, Resulting Numbers: [20, 87] Generated Node #0,4,1: 51:[20, 87] Operation: 83+4=87 Exploring Operation: 20/4=5, Resulting Numbers: [83, 5] Generated Node #0,4,2: 51:[83, 5] Operation: 20/4=5 Exploring Operation: 83-4=79, Resulting Numbers: [20, 79] Generated Node #0,4,3: 51:[20, 79] Operation: 83-4=79 Exploring Operation: 20-4=16, Resulting Numbers: [83, 16] Generated Node #0,4,4: 51:[83, 16] Operation: 20-4=16 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 51:[4, 63], Operations: ['11-7=4', '83-20=63'] Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,51 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 51:[20, 79], Operations: ['11-7=4', '83-4=79'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,51 unequal: No Solution Exploring Operation: 20*79=1580, Resulting Numbers: [1580] 1580,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 51:[83, 16], Operations: ['11-7=4', '20-4=16'] Exploring Operation: 83*16=1328, Resulting Numbers: [1328] 1328,51 unequal: No Solution Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 51:[83, 5], Operations: ['11-7=4', '20/4=5'] Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,51 unequal: No Solution Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 51:[20, 87], Operations: ['11-7=4', '83+4=87'] Exploring Operation: 20*87=1740, Resulting Numbers: [1740] 1740,51 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 20+87=107, Resulting Numbers: [107] 107,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 51:[7, 52], Operations: ['83-11=72', '72-20=52'] Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,51 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[20, 65], Operations: ['83-11=72', '72-7=65'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 20+65=85, Resulting Numbers: [85] 85,51 unequal: No Solution Exploring Operation: 20*65=1300, Resulting Numbers: [1300] 1300,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[72, 13], Operations: ['83-11=72', '20-7=13'] Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,51 unequal: No Solution Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[20, 79], Operations: ['83-11=72', '7+72=79'] Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,51 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 20*79=1580, Resulting Numbers: [1580] 1580,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[72, 27], Operations: ['83-11=72', '7+20=27'] Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,51 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,51 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 44, 22, 58 ]
31
[ "58/2=29", "44/22=2", "29+2=31" ]
Current State: 31:[2, 44, 22, 58], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [44, 22, 29] Generated Node #2: [44, 22, 29] from Operation: 58/2=29 Current State: 31:[44, 22, 29], Operations: ['58/2=29'] Exploring Operation: 44/22=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 44/22=2 Current State: 31:[29, 2], Operations: ['58/2=29', '44/22=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[2, 44, 22, 58], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [44, 22, 29] Generated Node #0,0: 31:[44, 22, 29] Operation: 58/2=29 Exploring Operation: 44/2=22, Resulting Numbers: [22, 58, 22] Generated Node #0,1: 31:[22, 58, 22] Operation: 44/2=22 Exploring Operation: 44-2=42, Resulting Numbers: [22, 58, 42] Generated Node #0,2: 31:[22, 58, 42] Operation: 44-2=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[44, 22, 29], Operations: ['58/2=29'] Exploring Operation: 44-22=22, Resulting Numbers: [29, 22] Generated Node #0,0,0: 31:[29, 22] Operation: 44-22=22 Exploring Operation: 44-29=15, Resulting Numbers: [22, 15] Generated Node #0,0,1: 31:[22, 15] Operation: 44-29=15 Exploring Operation: 44/22=2, Resulting Numbers: [29, 2] Generated Node #0,0,2: 31:[29, 2] Operation: 44/22=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[29, 22], Operations: ['58/2=29', '44-22=22'] Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,31 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[22, 15], Operations: ['58/2=29', '44-29=15'] Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,31 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[29, 2], Operations: ['58/2=29', '44/22=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,31 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,31 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[2, 44, 22, 58], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [44, 22, 29] Generated Node #0,0: 31:[44, 22, 29] Operation: 58/2=29 Moving to Node #0,0 Current State: 31:[44, 22, 29], Operations: ['58/2=29'] Exploring Operation: 44/22=2, Resulting Numbers: [29, 2] Generated Node #0,0,2: 31:[29, 2] Operation: 44/22=2 Moving to Node #0,0,2 Current State: 31:[29, 2], Operations: ['58/2=29', '44/22=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 85, 89, 76, 12 ]
31
[ "89-85=4", "76/4=19", "12+19=31" ]
Current State: 31:[85, 89, 76, 12], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [76, 12, 4] Generated Node #2: [76, 12, 4] from Operation: 89-85=4 Current State: 31:[76, 12, 4], Operations: ['89-85=4'] Exploring Operation: 76/4=19, Resulting Numbers: [12, 19] Generated Node #3: [12, 19] from Operation: 76/4=19 Current State: 31:[12, 19], Operations: ['89-85=4', '76/4=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[85, 89, 76, 12], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [76, 12, 4] Generated Node #0,0: 31:[76, 12, 4] Operation: 89-85=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[76, 12, 4], Operations: ['89-85=4'] Exploring Operation: 76/4=19, Resulting Numbers: [12, 19] Generated Node #0,0,0: 31:[12, 19] Operation: 76/4=19 Moving to Node #0,0,0 Current State: 31:[12, 19], Operations: ['89-85=4', '76/4=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[85, 89, 76, 12], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [76, 12, 4] Generated Node #0,0: 31:[76, 12, 4] Operation: 89-85=4 Moving to Node #0,0 Current State: 31:[76, 12, 4], Operations: ['89-85=4'] Exploring Operation: 76/4=19, Resulting Numbers: [12, 19] Generated Node #0,0,0: 31:[12, 19] Operation: 76/4=19 Moving to Node #0,0,0 Current State: 31:[12, 19], Operations: ['89-85=4', '76/4=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 23, 73, 5, 80 ]
11
[ "23+73=96", "5+80=85", "96-85=11" ]
Current State: 11:[23, 73, 5, 80], Operations: [] Exploring Operation: 23+73=96, Resulting Numbers: [5, 80, 96] Generated Node #2: [5, 80, 96] from Operation: 23+73=96 Current State: 11:[5, 80, 96], Operations: ['23+73=96'] Exploring Operation: 5+80=85, Resulting Numbers: [96, 85] Generated Node #3: [96, 85] from Operation: 5+80=85 Current State: 11:[96, 85], Operations: ['23+73=96', '5+80=85'] Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[23, 73, 5, 80], Operations: [] Exploring Operation: 80-73=7, Resulting Numbers: [23, 5, 7] Generated Node #0,0: 11:[23, 5, 7] Operation: 80-73=7 Exploring Operation: 73-23=50, Resulting Numbers: [5, 80, 50] Generated Node #0,1: 11:[5, 80, 50] Operation: 73-23=50 Exploring Operation: 80-23=57, Resulting Numbers: [73, 5, 57] Generated Node #0,2: 11:[73, 5, 57] Operation: 80-23=57 Exploring Operation: 80/5=16, Resulting Numbers: [23, 73, 16] Generated Node #0,3: 11:[23, 73, 16] Operation: 80/5=16 Exploring Operation: 23-5=18, Resulting Numbers: [73, 80, 18] Generated Node #0,4: 11:[73, 80, 18] Operation: 23-5=18 Moving to Node #0,0 Current State: 11:[23, 5, 7], Operations: ['80-73=7'] Exploring Operation: 23-5=18, Resulting Numbers: [7, 18] Generated Node #0,0,0: 11:[7, 18] Operation: 23-5=18 Exploring Operation: 23+5=28, Resulting Numbers: [7, 28] Generated Node #0,0,1: 11:[7, 28] Operation: 23+5=28 Exploring Operation: 7-5=2, Resulting Numbers: [23, 2] Generated Node #0,0,2: 11:[23, 2] Operation: 7-5=2 Exploring Operation: 5+7=12, Resulting Numbers: [23, 12] Generated Node #0,0,3: 11:[23, 12] Operation: 5+7=12 Exploring Operation: 23-7=16, Resulting Numbers: [5, 16] Generated Node #0,0,4: 11:[5, 16] Operation: 23-7=16 Moving to Node #0,3 Current State: 11:[23, 73, 16], Operations: ['80/5=16'] Exploring Operation: 23+16=39, Resulting Numbers: [73, 39] Generated Node #0,3,0: 11:[73, 39] Operation: 23+16=39 Exploring Operation: 73-23=50, Resulting Numbers: [16, 50] Generated Node #0,3,1: 11:[16, 50] Operation: 73-23=50 Exploring Operation: 23-16=7, Resulting Numbers: [73, 7] Generated Node #0,3,2: 11:[73, 7] Operation: 23-16=7 Exploring Operation: 23+73=96, Resulting Numbers: [16, 96] Generated Node #0,3,3: 11:[16, 96] Operation: 23+73=96 Exploring Operation: 73-16=57, Resulting Numbers: [23, 57] Generated Node #0,3,4: 11:[23, 57] Operation: 73-16=57 Moving to Node #0,1 Current State: 11:[5, 80, 50], Operations: ['73-23=50'] Exploring Operation: 50/5=10, Resulting Numbers: [80, 10] Generated Node #0,1,0: 11:[80, 10] Operation: 50/5=10 Exploring Operation: 80-50=30, Resulting Numbers: [5, 30] Generated Node #0,1,1: 11:[5, 30] Operation: 80-50=30 Exploring Operation: 80/5=16, Resulting Numbers: [50, 16] Generated Node #0,1,2: 11:[50, 16] Operation: 80/5=16 Exploring Operation: 50-5=45, Resulting Numbers: [80, 45] Generated Node #0,1,3: 11:[80, 45] Operation: 50-5=45 Exploring Operation: 80-5=75, Resulting Numbers: [50, 75] Generated Node #0,1,4: 11:[50, 75] Operation: 80-5=75 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[5, 30], Operations: ['73-23=50', '80-50=30'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[50, 16], Operations: ['73-23=50', '80/5=16'] Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,11 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[80, 10], Operations: ['73-23=50', '50/5=10'] Exploring Operation: 80*10=800, Resulting Numbers: [800] 800,11 unequal: No Solution Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,11 unequal: No Solution Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 11:[80, 45], Operations: ['73-23=50', '50-5=45'] Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,11 unequal: No Solution Exploring Operation: 80*45=3600, Resulting Numbers: [3600] 3600,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 11:[50, 75], Operations: ['73-23=50', '80-5=75'] Exploring Operation: 75-50=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 50+75=125, Resulting Numbers: [125] 125,11 unequal: No Solution Exploring Operation: 50*75=3750, Resulting Numbers: [3750] 3750,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 11:[73, 5, 57], Operations: ['80-23=57'] Exploring Operation: 73-57=16, Resulting Numbers: [5, 16] Generated Node #0,2,0: 11:[5, 16] Operation: 73-57=16 Exploring Operation: 5+57=62, Resulting Numbers: [73, 62] Generated Node #0,2,1: 11:[73, 62] Operation: 5+57=62 Exploring Operation: 73+5=78, Resulting Numbers: [57, 78] Generated Node #0,2,2: 11:[57, 78] Operation: 73+5=78 Exploring Operation: 57-5=52, Resulting Numbers: [73, 52] Generated Node #0,2,3: 11:[73, 52] Operation: 57-5=52 Exploring Operation: 73-5=68, Resulting Numbers: [57, 68] Generated Node #0,2,4: 11:[57, 68] Operation: 73-5=68 Moving to Node #0,4 Current State: 11:[73, 80, 18], Operations: ['23-5=18'] Exploring Operation: 73+18=91, Resulting Numbers: [80, 91] Generated Node #0,4,0: 11:[80, 91] Operation: 73+18=91 Exploring Operation: 80-73=7, Resulting Numbers: [18, 7] Generated Node #0,4,1: 11:[18, 7] Operation: 80-73=7 Exploring Operation: 73-18=55, Resulting Numbers: [80, 55] Generated Node #0,4,2: 11:[80, 55] Operation: 73-18=55 Exploring Operation: 80-18=62, Resulting Numbers: [73, 62] Generated Node #0,4,3: 11:[73, 62] Operation: 80-18=62 Exploring Operation: 73+80=153, Resulting Numbers: [18, 153] Generated Node #0,4,4: 11:[18, 153] Operation: 73+80=153 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 11:[18, 7], Operations: ['23-5=18', '80-73=7'] Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,11 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[23, 73, 5, 80], Operations: [] Exploring Operation: 23-5=18, Resulting Numbers: [73, 80, 18] Generated Node #0,4: 11:[73, 80, 18] Operation: 23-5=18 Moving to Node #0,4 Current State: 11:[73, 80, 18], Operations: ['23-5=18'] Exploring Operation: 80-73=7, Resulting Numbers: [18, 7] Generated Node #0,4,1: 11:[18, 7] Operation: 80-73=7 Moving to Node #0,4,1 Current State: 11:[18, 7], Operations: ['23-5=18', '80-73=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.953125
hs_5
mult_heuristic
[ 6, 94, 17, 6 ]
75
[ "6*6=36", "94+17=111", "111-36=75" ]
Current State: 75:[6, 94, 17, 6], Operations: [] Exploring Operation: 6*6=36, Resulting Numbers: [94, 17, 36] Generated Node #2: [94, 17, 36] from Operation: 6*6=36 Current State: 75:[94, 17, 36], Operations: ['6*6=36'] Exploring Operation: 94+17=111, Resulting Numbers: [36, 111] Generated Node #3: [36, 111] from Operation: 94+17=111 Current State: 75:[36, 111], Operations: ['6*6=36', '94+17=111'] Exploring Operation: 111-36=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[6, 94, 17, 6], Operations: [] Exploring Operation: 94-6=88, Resulting Numbers: [17, 6, 88] Generated Node #0,0: 75:[17, 6, 88] Operation: 94-6=88 Exploring Operation: 17+6=23, Resulting Numbers: [6, 94, 23] Generated Node #0,1: 75:[6, 94, 23] Operation: 17+6=23 Exploring Operation: 94-17=77, Resulting Numbers: [6, 6, 77] Generated Node #0,2: 75:[6, 6, 77] Operation: 94-17=77 Exploring Operation: 94-6=88, Resulting Numbers: [6, 17, 88] Generated Node #0,3: 75:[6, 17, 88] Operation: 94-6=88 Exploring Operation: 6+17=23, Resulting Numbers: [94, 6, 23] Generated Node #0,4: 75:[94, 6, 23] Operation: 6+17=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[6, 6, 77], Operations: ['94-17=77'] Exploring Operation: 77-6=71, Resulting Numbers: [6, 71] Generated Node #0,2,0: 75:[6, 71] Operation: 77-6=71 Exploring Operation: 77-6=71, Resulting Numbers: [6, 71] Generated Node #0,2,1: 75:[6, 71] Operation: 77-6=71 Exploring Operation: 6-6=0, Resulting Numbers: [77, 0] Generated Node #0,2,2: 75:[77, 0] Operation: 6-6=0 Exploring Operation: 6/6=1, Resulting Numbers: [77, 1] Generated Node #0,2,3: 75:[77, 1] Operation: 6/6=1 Exploring Operation: 6+6=12, Resulting Numbers: [77, 12] Generated Node #0,2,4: 75:[77, 12] Operation: 6+6=12 Moving to Node #0,2,3 Current State: 75:[77, 1], Operations: ['94-17=77', '6/6=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[6, 71], Operations: ['94-17=77', '77-6=71'] Exploring Operation: 6*71=426, Resulting Numbers: [426] 426,75 unequal: No Solution Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[77, 12], Operations: ['94-17=77', '6+6=12'] Exploring Operation: 77*12=924, Resulting Numbers: [924] 924,75 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[6, 71], Operations: ['94-17=77', '77-6=71'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 6*71=426, Resulting Numbers: [426] 426,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[77, 0], Operations: ['94-17=77', '6-6=0'] Exploring Operation: 77-0=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 77+0=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 77*0=0, Resulting Numbers: [0] 0,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[17, 6, 88], Operations: ['94-6=88'] Exploring Operation: 6+88=94, Resulting Numbers: [17, 94] Generated Node #0,0,0: 75:[17, 94] Operation: 6+88=94 Exploring Operation: 17+6=23, Resulting Numbers: [88, 23] Generated Node #0,0,1: 75:[88, 23] Operation: 17+6=23 Exploring Operation: 88-6=82, Resulting Numbers: [17, 82] Generated Node #0,0,2: 75:[17, 82] Operation: 88-6=82 Exploring Operation: 17-6=11, Resulting Numbers: [88, 11] Generated Node #0,0,3: 75:[88, 11] Operation: 17-6=11 Exploring Operation: 88-17=71, Resulting Numbers: [6, 71] Generated Node #0,0,4: 75:[6, 71] Operation: 88-17=71 Moving to Node #0,0,4 Current State: 75:[6, 71], Operations: ['94-6=88', '88-17=71'] Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 6*71=426, Resulting Numbers: [426] 426,75 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[17, 82], Operations: ['94-6=88', '88-6=82'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 17+82=99, Resulting Numbers: [99] 99,75 unequal: No Solution Exploring Operation: 17*82=1394, Resulting Numbers: [1394] 1394,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[88, 23], Operations: ['94-6=88', '17+6=23'] Exploring Operation: 88+23=111, Resulting Numbers: [111] 111,75 unequal: No Solution Exploring Operation: 88*23=2024, Resulting Numbers: [2024] 2024,75 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[88, 11], Operations: ['94-6=88', '17-6=11'] Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 88/11=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 88+11=99, Resulting Numbers: [99] 99,75 unequal: No Solution Exploring Operation: 88*11=968, Resulting Numbers: [968] 968,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[17, 94], Operations: ['94-6=88', '6+88=94'] Exploring Operation: 17*94=1598, Resulting Numbers: [1598] 1598,75 unequal: No Solution Exploring Operation: 17+94=111, Resulting Numbers: [111] 111,75 unequal: No Solution Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[6, 17, 88], Operations: ['94-6=88'] Exploring Operation: 88-17=71, Resulting Numbers: [6, 71] Generated Node #0,3,0: 75:[6, 71] Operation: 88-17=71 Exploring Operation: 6+17=23, Resulting Numbers: [88, 23] Generated Node #0,3,1: 75:[88, 23] Operation: 6+17=23 Exploring Operation: 17-6=11, Resulting Numbers: [88, 11] Generated Node #0,3,2: 75:[88, 11] Operation: 17-6=11 Exploring Operation: 6+88=94, Resulting Numbers: [17, 94] Generated Node #0,3,3: 75:[17, 94] Operation: 6+88=94 Exploring Operation: 88-6=82, Resulting Numbers: [17, 82] Generated Node #0,3,4: 75:[17, 82] Operation: 88-6=82 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 75:[6, 71], Operations: ['94-6=88', '88-17=71'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 6*71=426, Resulting Numbers: [426] 426,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 75:[17, 82], Operations: ['94-6=88', '88-6=82'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 17+82=99, Resulting Numbers: [99] 99,75 unequal: No Solution Exploring Operation: 17*82=1394, Resulting Numbers: [1394] 1394,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 75:[88, 23], Operations: ['94-6=88', '6+17=23'] Exploring Operation: 88+23=111, Resulting Numbers: [111] 111,75 unequal: No Solution Exploring Operation: 88*23=2024, Resulting Numbers: [2024] 2024,75 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 75:[88, 11], Operations: ['94-6=88', '17-6=11'] Exploring Operation: 88*11=968, Resulting Numbers: [968] 968,75 unequal: No Solution Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 88+11=99, Resulting Numbers: [99] 99,75 unequal: No Solution Exploring Operation: 88/11=8, Resulting Numbers: [8] 8,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 75:[17, 94], Operations: ['94-6=88', '6+88=94'] Exploring Operation: 17*94=1598, Resulting Numbers: [1598] 1598,75 unequal: No Solution Exploring Operation: 17+94=111, Resulting Numbers: [111] 111,75 unequal: No Solution Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[6, 94, 23], Operations: ['17+6=23'] Exploring Operation: 94-23=71, Resulting Numbers: [6, 71] Generated Node #0,1,0: 75:[6, 71] Operation: 94-23=71 Exploring Operation: 23-6=17, Resulting Numbers: [94, 17] Generated Node #0,1,1: 75:[94, 17] Operation: 23-6=17 Exploring Operation: 6+23=29, Resulting Numbers: [94, 29] Generated Node #0,1,2: 75:[94, 29] Operation: 6+23=29 Exploring Operation: 6+94=100, Resulting Numbers: [23, 100] Generated Node #0,1,3: 75:[23, 100] Operation: 6+94=100 Exploring Operation: 94-6=88, Resulting Numbers: [23, 88] Generated Node #0,1,4: 75:[23, 88] Operation: 94-6=88 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[6, 71], Operations: ['17+6=23', '94-23=71'] Exploring Operation: 6*71=426, Resulting Numbers: [426] 426,75 unequal: No Solution Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 75:[23, 88], Operations: ['17+6=23', '94-6=88'] Exploring Operation: 23+88=111, Resulting Numbers: [111] 111,75 unequal: No Solution Exploring Operation: 23*88=2024, Resulting Numbers: [2024] 2024,75 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[94, 17], Operations: ['17+6=23', '23-6=17'] Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 94*17=1598, Resulting Numbers: [1598] 1598,75 unequal: No Solution Exploring Operation: 94+17=111, Resulting Numbers: [111] 111,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[94, 29], Operations: ['17+6=23', '6+23=29'] Exploring Operation: 94+29=123, Resulting Numbers: [123] 123,75 unequal: No Solution Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 94*29=2726, Resulting Numbers: [2726] 2726,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 75:[23, 100], Operations: ['17+6=23', '6+94=100'] Exploring Operation: 100-23=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 23*100=2300, Resulting Numbers: [2300] 2300,75 unequal: No Solution Exploring Operation: 23+100=123, Resulting Numbers: [123] 123,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 75:[94, 6, 23], Operations: ['6+17=23'] Exploring Operation: 94-23=71, Resulting Numbers: [6, 71] Generated Node #0,4,0: 75:[6, 71] Operation: 94-23=71 Exploring Operation: 6+23=29, Resulting Numbers: [94, 29] Generated Node #0,4,1: 75:[94, 29] Operation: 6+23=29 Exploring Operation: 94+6=100, Resulting Numbers: [23, 100] Generated Node #0,4,2: 75:[23, 100] Operation: 94+6=100 Exploring Operation: 23-6=17, Resulting Numbers: [94, 17] Generated Node #0,4,3: 75:[94, 17] Operation: 23-6=17 Exploring Operation: 94-6=88, Resulting Numbers: [23, 88] Generated Node #0,4,4: 75:[23, 88] Operation: 94-6=88 Moving to Node #0,4,0 Current State: 75:[6, 71], Operations: ['6+17=23', '94-23=71'] Exploring Operation: 6*71=426, Resulting Numbers: [426] 426,75 unequal: No Solution Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,75 unequal: No Solution Moving to Node #0,4,4 Current State: 75:[23, 88], Operations: ['6+17=23', '94-6=88'] Exploring Operation: 23*88=2024, Resulting Numbers: [2024] 2024,75 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 23+88=111, Resulting Numbers: [111] 111,75 unequal: No Solution Moving to Node #0,4,3 Current State: 75:[94, 17], Operations: ['6+17=23', '23-6=17'] Exploring Operation: 94+17=111, Resulting Numbers: [111] 111,75 unequal: No Solution Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 94*17=1598, Resulting Numbers: [1598] 1598,75 unequal: No Solution Moving to Node #0,4,1 Current State: 75:[94, 29], Operations: ['6+17=23', '6+23=29'] Exploring Operation: 94+29=123, Resulting Numbers: [123] 123,75 unequal: No Solution Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 94*29=2726, Resulting Numbers: [2726] 2726,75 unequal: No Solution Moving to Node #0,4,2 Current State: 75:[23, 100], Operations: ['6+17=23', '94+6=100'] Exploring Operation: 23*100=2300, Resulting Numbers: [2300] 2300,75 unequal: No Solution Exploring Operation: 23+100=123, Resulting Numbers: [123] 123,75 unequal: No Solution Exploring Operation: 100-23=77, Resulting Numbers: [77] 77,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 2, 2, 55, 52 ]
58
[ "52/2=26", "55-26=29", "2*29=58" ]
Current State: 58:[2, 2, 55, 52], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [55, 26] Generated Node #2: [55, 26] from Operation: 52/2=26 Current State: 58:[55, 26], Operations: ['52/2=26'] Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,58 equal: Goal Reached Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[2, 2, 55, 52], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [2, 55, 26] Generated Node #0,0: 58:[2, 55, 26] Operation: 52/2=26 Exploring Operation: 2+55=57, Resulting Numbers: [2, 52, 57] Generated Node #0,1: 58:[2, 52, 57] Operation: 2+55=57 Exploring Operation: 52/2=26, Resulting Numbers: [2, 55, 26] Generated Node #0,2: 58:[2, 55, 26] Operation: 52/2=26 Exploring Operation: 55-52=3, Resulting Numbers: [2, 2, 3] Generated Node #0,3: 58:[2, 2, 3] Operation: 55-52=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 58:[2, 2, 3], Operations: ['55-52=3'] Exploring Operation: 3-2=1, Resulting Numbers: [2, 1] Generated Node #0,3,0: 58:[2, 1] Operation: 3-2=1 Exploring Operation: 2+2=4, Resulting Numbers: [3, 4] Generated Node #0,3,1: 58:[3, 4] Operation: 2+2=4 Exploring Operation: 3-2=1, Resulting Numbers: [2, 1] Generated Node #0,3,2: 58:[2, 1] Operation: 3-2=1 Exploring Operation: 2/2=1, Resulting Numbers: [3, 1] Generated Node #0,3,3: 58:[3, 1] Operation: 2/2=1 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 58:[2, 1], Operations: ['55-52=3', '3-2=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 58:[2, 1], Operations: ['55-52=3', '3-2=1'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 58:[3, 1], Operations: ['55-52=3', '2/2=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 58:[3, 4], Operations: ['55-52=3', '2+2=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[2, 55, 26], Operations: ['52/2=26'] Exploring Operation: 2+55=57, Resulting Numbers: [26, 57] Generated Node #0,0,0: 58:[26, 57] Operation: 2+55=57 Exploring Operation: 55-26=29, Resulting Numbers: [2, 29] Generated Node #0,0,1: 58:[2, 29] Operation: 55-26=29 Exploring Operation: 55-2=53, Resulting Numbers: [26, 53] Generated Node #0,0,2: 58:[26, 53] Operation: 55-2=53 Exploring Operation: 2+26=28, Resulting Numbers: [55, 28] Generated Node #0,0,3: 58:[55, 28] Operation: 2+26=28 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[2, 29], Operations: ['52/2=26', '55-26=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[2, 2, 55, 52], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [2, 55, 26] Generated Node #0,0: 58:[2, 55, 26] Operation: 52/2=26 Moving to Node #0,0 Current State: 58:[2, 55, 26], Operations: ['52/2=26'] Exploring Operation: 55-26=29, Resulting Numbers: [2, 29] Generated Node #0,0,1: 58:[2, 29] Operation: 55-26=29 Moving to Node #0,0,1 Current State: 58:[2, 29], Operations: ['52/2=26', '55-26=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic