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
[ 8, 4, 17, 31 ]
37
[ "8-4=4", "17*4=68", "68-31=37" ]
Current State: 37:[8, 4, 17, 31], Operations: [] Exploring Operation: 8-4=4, Resulting Numbers: [17, 31, 4] Generated Node #2: [17, 31, 4] from Operation: 8-4=4 Current State: 37:[17, 31, 4], Operations: ['8-4=4'] Exploring Operation: 17*4=68, Resulting Numbers: [31, 68] Generated Node #3: [31, 68] from Operation: 17*4=68 Current State: 37:[31, 68], Operations: ['8-4=4', '17*4=68'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[8, 4, 17, 31], Operations: [] Exploring Operation: 8+4=12, Resulting Numbers: [17, 31, 12] Generated Node #0,0: 37:[17, 31, 12] Operation: 8+4=12 Exploring Operation: 8*4=32, Resulting Numbers: [17, 31, 32] Generated Node #0,1: 37:[17, 31, 32] Operation: 8*4=32 Moving to Node #0,1 Current State: 37:[17, 31, 32], Operations: ['8*4=32'] Exploring Operation: 17+32=49, Resulting Numbers: [31, 49] Generated Node #0,1,0: 37:[31, 49] Operation: 17+32=49 Exploring Operation: 17+31=48, Resulting Numbers: [32, 48] Generated Node #0,1,1: 37:[32, 48] Operation: 17+31=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[32, 48], Operations: ['8*4=32', '17+31=48'] Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[31, 49], Operations: ['8*4=32', '17+32=49'] Exploring Operation: 31+49=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,37 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: 37:[17, 31, 12], Operations: ['8+4=12'] Exploring Operation: 31+12=43, Resulting Numbers: [17, 43] Generated Node #0,0,0: 37:[17, 43] Operation: 31+12=43 Exploring Operation: 17+12=29, Resulting Numbers: [31, 29] Generated Node #0,0,1: 37:[31, 29] Operation: 17+12=29 Moving to Node #0,0,1 Current State: 37:[31, 29], Operations: ['8+4=12', '17+12=29'] Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[17, 43], Operations: ['8+4=12', '31+12=43'] Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,37 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 18, 67, 27, 38 ]
38
[ "67-18=49", "38-27=11", "49-11=38" ]
Current State: 38:[18, 67, 27, 38], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [27, 38, 49] Generated Node #2: [27, 38, 49] from Operation: 67-18=49 Current State: 38:[27, 38, 49], Operations: ['67-18=49'] Exploring Operation: 38-27=11, Resulting Numbers: [49, 11] Generated Node #3: [49, 11] from Operation: 38-27=11 Current State: 38:[49, 11], Operations: ['67-18=49', '38-27=11'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[18, 67, 27, 38], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [27, 38, 49] Generated Node #0,0: 38:[27, 38, 49] Operation: 67-18=49 Exploring Operation: 67-38=29, Resulting Numbers: [18, 27, 29] Generated Node #0,1: 38:[18, 27, 29] Operation: 67-38=29 Exploring Operation: 27-18=9, Resulting Numbers: [67, 38, 9] Generated Node #0,2: 38:[67, 38, 9] Operation: 27-18=9 Exploring Operation: 18+27=45, Resulting Numbers: [67, 38, 45] Generated Node #0,3: 38:[67, 38, 45] Operation: 18+27=45 Exploring Operation: 67-27=40, Resulting Numbers: [18, 38, 40] Generated Node #0,4: 38:[18, 38, 40] Operation: 67-27=40 Start Sub Search at level 1: Moving to Node #0,4 Current State: 38:[18, 38, 40], Operations: ['67-27=40'] Exploring Operation: 40-18=22, Resulting Numbers: [38, 22] Generated Node #0,4,0: 38:[38, 22] Operation: 40-18=22 Exploring Operation: 18+40=58, Resulting Numbers: [38, 58] Generated Node #0,4,1: 38:[38, 58] Operation: 18+40=58 Exploring Operation: 38-18=20, Resulting Numbers: [40, 20] Generated Node #0,4,2: 38:[40, 20] Operation: 38-18=20 Exploring Operation: 40-38=2, Resulting Numbers: [18, 2] Generated Node #0,4,3: 38:[18, 2] Operation: 40-38=2 Exploring Operation: 18+38=56, Resulting Numbers: [40, 56] Generated Node #0,4,4: 38:[40, 56] Operation: 18+38=56 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 38:[18, 2], Operations: ['67-27=40', '40-38=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,38 unequal: No Solution No 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: 38:[38, 22], Operations: ['67-27=40', '40-18=22'] Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,38 unequal: No Solution Exploring Operation: 38*22=836, Resulting Numbers: [836] 836,38 unequal: No Solution Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,38 unequal: No Solution No 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: 38:[40, 20], Operations: ['67-27=40', '38-18=20'] Exploring Operation: 40*20=800, Resulting Numbers: [800] 800,38 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,38 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,38 unequal: No Solution No 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: 38:[38, 58], Operations: ['67-27=40', '18+40=58'] Exploring Operation: 38*58=2204, Resulting Numbers: [2204] 2204,38 unequal: No Solution Exploring Operation: 38+58=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,38 unequal: No Solution No 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: 38:[40, 56], Operations: ['67-27=40', '18+38=56'] Exploring Operation: 40+56=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 40*56=2240, Resulting Numbers: [2240] 2240,38 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: 38:[18, 27, 29], Operations: ['67-38=29'] Exploring Operation: 27-18=9, Resulting Numbers: [29, 9] Generated Node #0,1,0: 38:[29, 9] Operation: 27-18=9 Exploring Operation: 18+27=45, Resulting Numbers: [29, 45] Generated Node #0,1,1: 38:[29, 45] Operation: 18+27=45 Exploring Operation: 18+29=47, Resulting Numbers: [27, 47] Generated Node #0,1,2: 38:[27, 47] Operation: 18+29=47 Exploring Operation: 29-27=2, Resulting Numbers: [18, 2] Generated Node #0,1,3: 38:[18, 2] Operation: 29-27=2 Exploring Operation: 29-18=11, Resulting Numbers: [27, 11] Generated Node #0,1,4: 38:[27, 11] Operation: 29-18=11 Moving to Node #0,1,3 Current State: 38:[18, 2], Operations: ['67-38=29', '29-27=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[29, 45], Operations: ['67-38=29', '18+27=45'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 29*45=1305, Resulting Numbers: [1305] 1305,38 unequal: No Solution Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[29, 9], Operations: ['67-38=29', '27-18=9'] Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[18, 67, 27, 38], Operations: [] Exploring Operation: 67-38=29, Resulting Numbers: [18, 27, 29] Generated Node #0,1: 38:[18, 27, 29] Operation: 67-38=29 Moving to Node #0,1 Current State: 38:[18, 27, 29], Operations: ['67-38=29'] Exploring Operation: 27-18=9, Resulting Numbers: [29, 9] Generated Node #0,1,0: 38:[29, 9] Operation: 27-18=9 Moving to Node #0,1,0 Current State: 38:[29, 9], Operations: ['67-38=29', '27-18=9'] Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
sum_heuristic
[ 51, 56, 23, 17 ]
19
[ "51-23=28", "56/28=2", "17+2=19" ]
Current State: 19:[51, 56, 23, 17], Operations: [] Exploring Operation: 51-23=28, Resulting Numbers: [56, 17, 28] Generated Node #2: [56, 17, 28] from Operation: 51-23=28 Current State: 19:[56, 17, 28], Operations: ['51-23=28'] Exploring Operation: 56/28=2, Resulting Numbers: [17, 2] Generated Node #3: [17, 2] from Operation: 56/28=2 Current State: 19:[17, 2], Operations: ['51-23=28', '56/28=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[51, 56, 23, 17], Operations: [] Exploring Operation: 51-17=34, Resulting Numbers: [56, 23, 34] Generated Node #0,0: 19:[56, 23, 34] Operation: 51-17=34 Exploring Operation: 56-51=5, Resulting Numbers: [23, 17, 5] Generated Node #0,1: 19:[23, 17, 5] Operation: 56-51=5 Exploring Operation: 56-23=33, Resulting Numbers: [51, 17, 33] Generated Node #0,2: 19:[51, 17, 33] Operation: 56-23=33 Exploring Operation: 51-23=28, Resulting Numbers: [56, 17, 28] Generated Node #0,3: 19:[56, 17, 28] Operation: 51-23=28 Exploring Operation: 56-17=39, Resulting Numbers: [51, 23, 39] Generated Node #0,4: 19:[51, 23, 39] Operation: 56-17=39 Moving to Node #0,1 Current State: 19:[23, 17, 5], Operations: ['56-51=5'] Exploring Operation: 23-17=6, Resulting Numbers: [5, 6] Generated Node #0,1,0: 19:[5, 6] Operation: 23-17=6 Exploring Operation: 23+5=28, Resulting Numbers: [17, 28] Generated Node #0,1,1: 19:[17, 28] Operation: 23+5=28 Exploring Operation: 17-5=12, Resulting Numbers: [23, 12] Generated Node #0,1,2: 19:[23, 12] Operation: 17-5=12 Exploring Operation: 17+5=22, Resulting Numbers: [23, 22] Generated Node #0,1,3: 19:[23, 22] Operation: 17+5=22 Exploring Operation: 23-5=18, Resulting Numbers: [17, 18] Generated Node #0,1,4: 19:[17, 18] Operation: 23-5=18 Moving to Node #0,3 Current State: 19:[56, 17, 28], Operations: ['51-23=28'] Exploring Operation: 56/28=2, Resulting Numbers: [17, 2] Generated Node #0,3,0: 19:[17, 2] Operation: 56/28=2 Exploring Operation: 56-17=39, Resulting Numbers: [28, 39] Generated Node #0,3,1: 19:[28, 39] Operation: 56-17=39 Exploring Operation: 28-17=11, Resulting Numbers: [56, 11] Generated Node #0,3,2: 19:[56, 11] Operation: 28-17=11 Exploring Operation: 56-28=28, Resulting Numbers: [17, 28] Generated Node #0,3,3: 19:[17, 28] Operation: 56-28=28 Exploring Operation: 56+17=73, Resulting Numbers: [28, 73] Generated Node #0,3,4: 19:[28, 73] Operation: 56+17=73 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 19:[17, 28], Operations: ['51-23=28', '56-28=28'] Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,19 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 19:[17, 2], Operations: ['51-23=28', '56/28=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[51, 56, 23, 17], Operations: [] Exploring Operation: 51-23=28, Resulting Numbers: [56, 17, 28] Generated Node #0,3: 19:[56, 17, 28] Operation: 51-23=28 Moving to Node #0,3 Current State: 19:[56, 17, 28], Operations: ['51-23=28'] Exploring Operation: 56/28=2, Resulting Numbers: [17, 2] Generated Node #0,3,0: 19:[17, 2] Operation: 56/28=2 Moving to Node #0,3,0 Current State: 19:[17, 2], Operations: ['51-23=28', '56/28=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 21, 69, 6, 45 ]
40
[ "69+45=114", "114/6=19", "21+19=40" ]
Current State: 40:[21, 69, 6, 45], Operations: [] Exploring Operation: 69+45=114, Resulting Numbers: [21, 6, 114] Generated Node #2: [21, 6, 114] from Operation: 69+45=114 Current State: 40:[21, 6, 114], Operations: ['69+45=114'] Exploring Operation: 114/6=19, Resulting Numbers: [21, 19] Generated Node #3: [21, 19] from Operation: 114/6=19 Current State: 40:[21, 19], Operations: ['69+45=114', '114/6=19'] Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[21, 69, 6, 45], Operations: [] Exploring Operation: 69-45=24, Resulting Numbers: [21, 6, 24] Generated Node #0,0: 40:[21, 6, 24] Operation: 69-45=24 Exploring Operation: 69-21=48, Resulting Numbers: [6, 45, 48] Generated Node #0,1: 40:[6, 45, 48] Operation: 69-21=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[21, 6, 24], Operations: ['69-45=24'] Exploring Operation: 24-21=3, Resulting Numbers: [6, 3] Generated Node #0,0,0: 40:[6, 3] Operation: 24-21=3 Exploring Operation: 24/6=4, Resulting Numbers: [21, 4] Generated Node #0,0,1: 40:[21, 4] Operation: 24/6=4 Moving to Node #0,0,1 Current State: 40:[21, 4], Operations: ['69-45=24', '24/6=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[6, 3], Operations: ['69-45=24', '24-21=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[6, 45, 48], Operations: ['69-21=48'] Exploring Operation: 48-45=3, Resulting Numbers: [6, 3] Generated Node #0,1,0: 40:[6, 3] Operation: 48-45=3 Exploring Operation: 48/6=8, Resulting Numbers: [45, 8] Generated Node #0,1,1: 40:[45, 8] Operation: 48/6=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[6, 3], Operations: ['69-21=48', '48-45=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[45, 8], Operations: ['69-21=48', '48/6=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 68, 73, 28, 11 ]
22
[ "73-68=5", "28-11=17", "5+17=22" ]
Current State: 22:[68, 73, 28, 11], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [28, 11, 5] Generated Node #2: [28, 11, 5] from Operation: 73-68=5 Current State: 22:[28, 11, 5], Operations: ['73-68=5'] Exploring Operation: 28-11=17, Resulting Numbers: [5, 17] Generated Node #3: [5, 17] from Operation: 28-11=17 Current State: 22:[5, 17], Operations: ['73-68=5', '28-11=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[68, 73, 28, 11], Operations: [] Exploring Operation: 73-28=45, Resulting Numbers: [68, 11, 45] Generated Node #0,0: 22:[68, 11, 45] Operation: 73-28=45 Exploring Operation: 73-68=5, Resulting Numbers: [28, 11, 5] Generated Node #0,1: 22:[28, 11, 5] Operation: 73-68=5 Exploring Operation: 68-11=57, Resulting Numbers: [73, 28, 57] Generated Node #0,2: 22:[73, 28, 57] Operation: 68-11=57 Exploring Operation: 73-11=62, Resulting Numbers: [68, 28, 62] Generated Node #0,3: 22:[68, 28, 62] Operation: 73-11=62 Exploring Operation: 68-28=40, Resulting Numbers: [73, 11, 40] Generated Node #0,4: 22:[73, 11, 40] Operation: 68-28=40 Moving to Node #0,1 Current State: 22:[28, 11, 5], Operations: ['73-68=5'] Exploring Operation: 28-11=17, Resulting Numbers: [5, 17] Generated Node #0,1,0: 22:[5, 17] Operation: 28-11=17 Exploring Operation: 28+5=33, Resulting Numbers: [11, 33] Generated Node #0,1,1: 22:[11, 33] Operation: 28+5=33 Exploring Operation: 11-5=6, Resulting Numbers: [28, 6] Generated Node #0,1,2: 22:[28, 6] Operation: 11-5=6 Exploring Operation: 11+5=16, Resulting Numbers: [28, 16] Generated Node #0,1,3: 22:[28, 16] Operation: 11+5=16 Exploring Operation: 28-5=23, Resulting Numbers: [11, 23] Generated Node #0,1,4: 22:[11, 23] Operation: 28-5=23 Moving to Node #0,4 Current State: 22:[73, 11, 40], Operations: ['68-28=40'] Exploring Operation: 73+11=84, Resulting Numbers: [40, 84] Generated Node #0,4,0: 22:[40, 84] Operation: 73+11=84 Exploring Operation: 73-40=33, Resulting Numbers: [11, 33] Generated Node #0,4,1: 22:[11, 33] Operation: 73-40=33 Exploring Operation: 11+40=51, Resulting Numbers: [73, 51] Generated Node #0,4,2: 22:[73, 51] Operation: 11+40=51 Exploring Operation: 73-11=62, Resulting Numbers: [40, 62] Generated Node #0,4,3: 22:[40, 62] Operation: 73-11=62 Exploring Operation: 40-11=29, Resulting Numbers: [73, 29] Generated Node #0,4,4: 22:[73, 29] Operation: 40-11=29 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 22:[11, 33], Operations: ['68-28=40', '73-40=33'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[68, 73, 28, 11], Operations: [] Exploring Operation: 68-28=40, Resulting Numbers: [73, 11, 40] Generated Node #0,4: 22:[73, 11, 40] Operation: 68-28=40 Moving to Node #0,4 Current State: 22:[73, 11, 40], Operations: ['68-28=40'] Exploring Operation: 73-40=33, Resulting Numbers: [11, 33] Generated Node #0,4,1: 22:[11, 33] Operation: 73-40=33 Moving to Node #0,4,1 Current State: 22:[11, 33], Operations: ['68-28=40', '73-40=33'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 22, 31, 8, 51 ]
96
[ "22+31=53", "51-8=43", "53+43=96" ]
Current State: 96:[22, 31, 8, 51], Operations: [] Exploring Operation: 22+31=53, Resulting Numbers: [8, 51, 53] Generated Node #2: [8, 51, 53] from Operation: 22+31=53 Current State: 96:[8, 51, 53], Operations: ['22+31=53'] Exploring Operation: 51-8=43, Resulting Numbers: [53, 43] Generated Node #3: [53, 43] from Operation: 51-8=43 Current State: 96:[53, 43], Operations: ['22+31=53', '51-8=43'] Exploring Operation: 53+43=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[22, 31, 8, 51], Operations: [] Exploring Operation: 31-22=9, Resulting Numbers: [8, 51, 9] Generated Node #0,0: 96:[8, 51, 9] Operation: 31-22=9 Exploring Operation: 22+8=30, Resulting Numbers: [31, 51, 30] Generated Node #0,1: 96:[31, 51, 30] Operation: 22+8=30 Exploring Operation: 22-8=14, Resulting Numbers: [31, 51, 14] Generated Node #0,2: 96:[31, 51, 14] Operation: 22-8=14 Exploring Operation: 51-22=29, Resulting Numbers: [31, 8, 29] Generated Node #0,3: 96:[31, 8, 29] Operation: 51-22=29 Exploring Operation: 31-8=23, Resulting Numbers: [22, 51, 23] Generated Node #0,4: 96:[22, 51, 23] Operation: 31-8=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[8, 51, 9], Operations: ['31-22=9'] Exploring Operation: 8+9=17, Resulting Numbers: [51, 17] Generated Node #0,0,0: 96:[51, 17] Operation: 8+9=17 Exploring Operation: 51-9=42, Resulting Numbers: [8, 42] Generated Node #0,0,1: 96:[8, 42] Operation: 51-9=42 Exploring Operation: 9-8=1, Resulting Numbers: [51, 1] Generated Node #0,0,2: 96:[51, 1] Operation: 9-8=1 Exploring Operation: 51-8=43, Resulting Numbers: [9, 43] Generated Node #0,0,3: 96:[9, 43] Operation: 51-8=43 Exploring Operation: 8+51=59, Resulting Numbers: [9, 59] Generated Node #0,0,4: 96:[9, 59] Operation: 8+51=59 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[51, 17], Operations: ['31-22=9', '8+9=17'] Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 51*17=867, Resulting Numbers: [867] 867,96 unequal: No Solution Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 96:[51, 1], Operations: ['31-22=9', '9-8=1'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 51+1=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[8, 42], Operations: ['31-22=9', '51-9=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,96 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 96:[9, 43], Operations: ['31-22=9', '51-8=43'] Exploring Operation: 9+43=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 9*43=387, Resulting Numbers: [387] 387,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 96:[9, 59], Operations: ['31-22=9', '8+51=59'] Exploring Operation: 9+59=68, Resulting Numbers: [68] 68,96 unequal: No Solution Exploring Operation: 9*59=531, Resulting Numbers: [531] 531,96 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[31, 8, 29], Operations: ['51-22=29'] Exploring Operation: 31+8=39, Resulting Numbers: [29, 39] Generated Node #0,3,0: 96:[29, 39] Operation: 31+8=39 Exploring Operation: 29-8=21, Resulting Numbers: [31, 21] Generated Node #0,3,1: 96:[31, 21] Operation: 29-8=21 Exploring Operation: 31-8=23, Resulting Numbers: [29, 23] Generated Node #0,3,2: 96:[29, 23] Operation: 31-8=23 Exploring Operation: 31-29=2, Resulting Numbers: [8, 2] Generated Node #0,3,3: 96:[8, 2] Operation: 31-29=2 Exploring Operation: 8+29=37, Resulting Numbers: [31, 37] Generated Node #0,3,4: 96:[31, 37] Operation: 8+29=37 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 96:[8, 2], Operations: ['51-22=29', '31-29=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 96:[31, 21], Operations: ['51-22=29', '29-8=21'] Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 96:[29, 23], Operations: ['51-22=29', '31-8=23'] Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,96 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 96:[31, 37], Operations: ['51-22=29', '8+29=37'] Exploring Operation: 31*37=1147, Resulting Numbers: [1147] 1147,96 unequal: No Solution Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,96 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 96:[29, 39], Operations: ['51-22=29', '31+8=39'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,96 unequal: No Solution Exploring Operation: 29*39=1131, Resulting Numbers: [1131] 1131,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[31, 51, 30], Operations: ['22+8=30'] Exploring Operation: 51-31=20, Resulting Numbers: [30, 20] Generated Node #0,1,0: 96:[30, 20] Operation: 51-31=20 Exploring Operation: 31-30=1, Resulting Numbers: [51, 1] Generated Node #0,1,1: 96:[51, 1] Operation: 31-30=1 Exploring Operation: 31+30=61, Resulting Numbers: [51, 61] Generated Node #0,1,2: 96:[51, 61] Operation: 31+30=61 Exploring Operation: 51-30=21, Resulting Numbers: [31, 21] Generated Node #0,1,3: 96:[31, 21] Operation: 51-30=21 Exploring Operation: 31+51=82, Resulting Numbers: [30, 82] Generated Node #0,1,4: 96:[30, 82] Operation: 31+51=82 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[51, 1], Operations: ['22+8=30', '31-30=1'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 51+1=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 96:[31, 21], Operations: ['22+8=30', '51-30=21'] Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,96 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[30, 20], Operations: ['22+8=30', '51-31=20'] Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,96 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 96:[51, 61], Operations: ['22+8=30', '31+30=61'] Exploring Operation: 51+61=112, Resulting Numbers: [112] 112,96 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 51*61=3111, Resulting Numbers: [3111] 3111,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 96:[30, 82], Operations: ['22+8=30', '31+51=82'] Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 30*82=2460, Resulting Numbers: [2460] 2460,96 unequal: No Solution Exploring Operation: 30+82=112, Resulting Numbers: [112] 112,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[31, 51, 14], Operations: ['22-8=14'] Exploring Operation: 31-14=17, Resulting Numbers: [51, 17] Generated Node #0,2,0: 96:[51, 17] Operation: 31-14=17 Exploring Operation: 31+14=45, Resulting Numbers: [51, 45] Generated Node #0,2,1: 96:[51, 45] Operation: 31+14=45 Exploring Operation: 51-14=37, Resulting Numbers: [31, 37] Generated Node #0,2,2: 96:[31, 37] Operation: 51-14=37 Exploring Operation: 31+51=82, Resulting Numbers: [14, 82] Generated Node #0,2,3: 96:[14, 82] Operation: 31+51=82 Exploring Operation: 51-31=20, Resulting Numbers: [14, 20] Generated Node #0,2,4: 96:[14, 20] Operation: 51-31=20 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[51, 17], Operations: ['22-8=14', '31-14=17'] Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,96 unequal: No Solution Exploring Operation: 51*17=867, Resulting Numbers: [867] 867,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 96:[51, 45], Operations: ['22-8=14', '31+14=45'] Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[22, 31, 8, 51], Operations: [] Exploring Operation: 22-8=14, Resulting Numbers: [31, 51, 14] Generated Node #0,2: 96:[31, 51, 14] Operation: 22-8=14 Moving to Node #0,2 Current State: 96:[31, 51, 14], Operations: ['22-8=14'] Exploring Operation: 31+14=45, Resulting Numbers: [51, 45] Generated Node #0,2,1: 96:[51, 45] Operation: 31+14=45 Moving to Node #0,2,1 Current State: 96:[51, 45], Operations: ['22-8=14', '31+14=45'] Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.927083
hs_5
sum_heuristic
[ 76, 9, 52, 1 ]
34
[ "76+9=85", "52-1=51", "85-51=34" ]
Current State: 34:[76, 9, 52, 1], Operations: [] Exploring Operation: 76+9=85, Resulting Numbers: [52, 1, 85] Generated Node #2: [52, 1, 85] from Operation: 76+9=85 Current State: 34:[52, 1, 85], Operations: ['76+9=85'] Exploring Operation: 52-1=51, Resulting Numbers: [85, 51] Generated Node #3: [85, 51] from Operation: 52-1=51 Current State: 34:[85, 51], Operations: ['76+9=85', '52-1=51'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[76, 9, 52, 1], Operations: [] Exploring Operation: 76-9=67, Resulting Numbers: [52, 1, 67] Generated Node #0,0: 34:[52, 1, 67] Operation: 76-9=67 Exploring Operation: 52-9=43, Resulting Numbers: [76, 1, 43] Generated Node #0,1: 34:[76, 1, 43] Operation: 52-9=43 Exploring Operation: 76-1=75, Resulting Numbers: [9, 52, 75] Generated Node #0,2: 34:[9, 52, 75] Operation: 76-1=75 Exploring Operation: 9-1=8, Resulting Numbers: [76, 52, 8] Generated Node #0,3: 34:[76, 52, 8] Operation: 9-1=8 Exploring Operation: 76-52=24, Resulting Numbers: [9, 1, 24] Generated Node #0,4: 34:[9, 1, 24] Operation: 76-52=24 Moving to Node #0,4 Current State: 34:[9, 1, 24], Operations: ['76-52=24'] Exploring Operation: 24-1=23, Resulting Numbers: [9, 23] Generated Node #0,4,0: 34:[9, 23] Operation: 24-1=23 Exploring Operation: 9-1=8, Resulting Numbers: [24, 8] Generated Node #0,4,1: 34:[24, 8] Operation: 9-1=8 Exploring Operation: 9+24=33, Resulting Numbers: [1, 33] Generated Node #0,4,2: 34:[1, 33] Operation: 9+24=33 Exploring Operation: 24-9=15, Resulting Numbers: [1, 15] Generated Node #0,4,3: 34:[1, 15] Operation: 24-9=15 Exploring Operation: 9+1=10, Resulting Numbers: [24, 10] Generated Node #0,4,4: 34:[24, 10] Operation: 9+1=10 Moving to Node #0,1 Current State: 34:[76, 1, 43], Operations: ['52-9=43'] Exploring Operation: 76/1=76, Resulting Numbers: [43, 76] Generated Node #0,1,0: 34:[43, 76] Operation: 76/1=76 Exploring Operation: 76*1=76, Resulting Numbers: [43, 76] Generated Node #0,1,1: 34:[43, 76] Operation: 76*1=76 Exploring Operation: 43-1=42, Resulting Numbers: [76, 42] Generated Node #0,1,2: 34:[76, 42] Operation: 43-1=42 Exploring Operation: 76-43=33, Resulting Numbers: [1, 33] Generated Node #0,1,3: 34:[1, 33] Operation: 76-43=33 Exploring Operation: 76-1=75, Resulting Numbers: [43, 75] Generated Node #0,1,4: 34:[43, 75] Operation: 76-1=75 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 34:[1, 33], Operations: ['52-9=43', '76-43=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[76, 9, 52, 1], Operations: [] Exploring Operation: 52-9=43, Resulting Numbers: [76, 1, 43] Generated Node #0,1: 34:[76, 1, 43] Operation: 52-9=43 Moving to Node #0,1 Current State: 34:[76, 1, 43], Operations: ['52-9=43'] Exploring Operation: 76-43=33, Resulting Numbers: [1, 33] Generated Node #0,1,3: 34:[1, 33] Operation: 76-43=33 Moving to Node #0,1,3 Current State: 34:[1, 33], Operations: ['52-9=43', '76-43=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 4, 13, 28, 45 ]
23
[ "13-4=9", "45/9=5", "28-5=23" ]
Current State: 23:[4, 13, 28, 45], Operations: [] Exploring Operation: 13-4=9, Resulting Numbers: [28, 45, 9] Generated Node #2: [28, 45, 9] from Operation: 13-4=9 Current State: 23:[28, 45, 9], Operations: ['13-4=9'] Exploring Operation: 45/9=5, Resulting Numbers: [28, 5] Generated Node #3: [28, 5] from Operation: 45/9=5 Current State: 23:[28, 5], Operations: ['13-4=9', '45/9=5'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[4, 13, 28, 45], Operations: [] Exploring Operation: 4+13=17, Resulting Numbers: [28, 45, 17] Generated Node #0,0: 23:[28, 45, 17] Operation: 4+13=17 Exploring Operation: 28-4=24, Resulting Numbers: [13, 45, 24] Generated Node #0,1: 23:[13, 45, 24] Operation: 28-4=24 Moving to Node #0,0 Current State: 23:[28, 45, 17], Operations: ['4+13=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28, 28] Generated Node #0,0,0: 23:[28, 28] Operation: 45-17=28 Exploring Operation: 45-28=17, Resulting Numbers: [17, 17] Generated Node #0,0,1: 23:[17, 17] Operation: 45-28=17 Moving to Node #0,1 Current State: 23:[13, 45, 24], Operations: ['28-4=24'] Exploring Operation: 45-13=32, Resulting Numbers: [24, 32] Generated Node #0,1,0: 23:[24, 32] Operation: 45-13=32 Exploring Operation: 45-24=21, Resulting Numbers: [13, 21] Generated Node #0,1,1: 23:[13, 21] Operation: 45-24=21 Moving to Node #0,0,0 Current State: 23:[28, 28], Operations: ['4+13=17', '45-17=28'] Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[24, 32], Operations: ['28-4=24', '45-13=32'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[17, 17], Operations: ['4+13=17', '45-28=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[13, 21], Operations: ['28-4=24', '45-24=21'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,23 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 67, 64, 65, 98 ]
98
[ "67+64=131", "98-65=33", "131-33=98" ]
Current State: 98:[67, 64, 65, 98], Operations: [] Exploring Operation: 67+64=131, Resulting Numbers: [65, 98, 131] Generated Node #2: [65, 98, 131] from Operation: 67+64=131 Current State: 98:[65, 98, 131], Operations: ['67+64=131'] Exploring Operation: 98-65=33, Resulting Numbers: [131, 33] Generated Node #3: [131, 33] from Operation: 98-65=33 Current State: 98:[131, 33], Operations: ['67+64=131', '98-65=33'] Exploring Operation: 131-33=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[67, 64, 65, 98], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [65, 98, 3] Generated Node #0,0: 98:[65, 98, 3] Operation: 67-64=3 Exploring Operation: 67-65=2, Resulting Numbers: [64, 98, 2] Generated Node #0,1: 98:[64, 98, 2] Operation: 67-65=2 Moving to Node #0,1 Current State: 98:[64, 98, 2], Operations: ['67-65=2'] Exploring Operation: 64-2=62, Resulting Numbers: [98, 62] Generated Node #0,1,0: 98:[98, 62] Operation: 64-2=62 Exploring Operation: 98-64=34, Resulting Numbers: [2, 34] Generated Node #0,1,1: 98:[2, 34] Operation: 98-64=34 Moving to Node #0,0 Current State: 98:[65, 98, 3], Operations: ['67-64=3'] Exploring Operation: 98-65=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 98:[3, 33] Operation: 98-65=33 Exploring Operation: 65-3=62, Resulting Numbers: [98, 62] Generated Node #0,0,1: 98:[98, 62] Operation: 65-3=62 Moving to Node #0,1,0 Current State: 98:[98, 62], Operations: ['67-65=2', '64-2=62'] Exploring Operation: 98-62=36, Resulting Numbers: [36] 36,98 unequal: No Solution Exploring Operation: 98+62=160, Resulting Numbers: [160] 160,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[98, 62], Operations: ['67-64=3', '65-3=62'] Exploring Operation: 98-62=36, Resulting Numbers: [36] 36,98 unequal: No Solution Exploring Operation: 98+62=160, Resulting Numbers: [160] 160,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[2, 34], Operations: ['67-65=2', '98-64=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[3, 33], Operations: ['67-64=3', '98-65=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,98 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,98 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 25, 77, 35, 51 ]
33
[ "25+77=102", "102/51=2", "35-2=33" ]
Current State: 33:[25, 77, 35, 51], Operations: [] Exploring Operation: 25+77=102, Resulting Numbers: [35, 51, 102] Generated Node #2: [35, 51, 102] from Operation: 25+77=102 Current State: 33:[35, 51, 102], Operations: ['25+77=102'] Exploring Operation: 102/51=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 102/51=2 Current State: 33:[35, 2], Operations: ['25+77=102', '102/51=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[25, 77, 35, 51], Operations: [] Exploring Operation: 77-51=26, Resulting Numbers: [25, 35, 26] Generated Node #0,0: 33:[25, 35, 26] Operation: 77-51=26 Moving to Node #0,0 Current State: 33:[25, 35, 26], Operations: ['77-51=26'] Exploring Operation: 26-25=1, Resulting Numbers: [35, 1] Generated Node #0,0,0: 33:[35, 1] Operation: 26-25=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[35, 1], Operations: ['77-51=26', '26-25=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,33 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
[ 17, 27, 51, 44 ]
35
[ "17*27=459", "459/51=9", "44-9=35" ]
Current State: 35:[17, 27, 51, 44], Operations: [] Exploring Operation: 17*27=459, Resulting Numbers: [51, 44, 459] Generated Node #2: [51, 44, 459] from Operation: 17*27=459 Current State: 35:[51, 44, 459], Operations: ['17*27=459'] Exploring Operation: 459/51=9, Resulting Numbers: [44, 9] Generated Node #3: [44, 9] from Operation: 459/51=9 Current State: 35:[44, 9], Operations: ['17*27=459', '459/51=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[17, 27, 51, 44], Operations: [] Exploring Operation: 51-17=34, Resulting Numbers: [27, 44, 34] Generated Node #0,0: 35:[27, 44, 34] Operation: 51-17=34 Exploring Operation: 51-44=7, Resulting Numbers: [17, 27, 7] Generated Node #0,1: 35:[17, 27, 7] Operation: 51-44=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[27, 44, 34], Operations: ['51-17=34'] Exploring Operation: 34-27=7, Resulting Numbers: [44, 7] Generated Node #0,0,0: 35:[44, 7] Operation: 34-27=7 Exploring Operation: 44-27=17, Resulting Numbers: [34, 17] Generated Node #0,0,1: 35:[34, 17] Operation: 44-27=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[44, 7], Operations: ['51-17=34', '34-27=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,35 unequal: No Solution No 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: 35:[34, 17], Operations: ['51-17=34', '44-27=17'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,35 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: 35:[17, 27, 7], Operations: ['51-44=7'] Exploring Operation: 27-17=10, Resulting Numbers: [7, 10] Generated Node #0,1,0: 35:[7, 10] Operation: 27-17=10 Exploring Operation: 17+27=44, Resulting Numbers: [7, 44] Generated Node #0,1,1: 35:[7, 44] Operation: 17+27=44 Moving to Node #0,1,0 Current State: 35:[7, 10], Operations: ['51-44=7', '27-17=10'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[7, 44], Operations: ['51-44=7', '17+27=44'] Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,35 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,35 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
[ 22, 20, 7, 65 ]
59
[ "22+20=42", "42/7=6", "65-6=59" ]
Current State: 59:[22, 20, 7, 65], Operations: [] Exploring Operation: 22+20=42, Resulting Numbers: [7, 65, 42] Generated Node #2: [7, 65, 42] from Operation: 22+20=42 Current State: 59:[7, 65, 42], Operations: ['22+20=42'] Exploring Operation: 42/7=6, Resulting Numbers: [65, 6] Generated Node #3: [65, 6] from Operation: 42/7=6 Current State: 59:[65, 6], Operations: ['22+20=42', '42/7=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[22, 20, 7, 65], Operations: [] Exploring Operation: 22+20=42, Resulting Numbers: [7, 65, 42] Generated Node #0,0: 59:[7, 65, 42] Operation: 22+20=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[7, 65, 42], Operations: ['22+20=42'] Exploring Operation: 7+42=49, Resulting Numbers: [65, 49] Generated Node #0,0,0: 59:[65, 49] Operation: 7+42=49 Moving to Node #0,0,0 Current State: 59:[65, 49], Operations: ['22+20=42', '7+42=49'] Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,59 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
[ 32, 78, 21, 47 ]
96
[ "32*78=2496", "47-21=26", "2496/26=96" ]
Current State: 96:[32, 78, 21, 47], Operations: [] Exploring Operation: 32*78=2496, Resulting Numbers: [21, 47, 2496] Generated Node #2: [21, 47, 2496] from Operation: 32*78=2496 Current State: 96:[21, 47, 2496], Operations: ['32*78=2496'] Exploring Operation: 47-21=26, Resulting Numbers: [2496, 26] Generated Node #3: [2496, 26] from Operation: 47-21=26 Current State: 96:[2496, 26], Operations: ['32*78=2496', '47-21=26'] Exploring Operation: 2496/26=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[32, 78, 21, 47], Operations: [] Exploring Operation: 78-47=31, Resulting Numbers: [32, 21, 31] Generated Node #0,0: 96:[32, 21, 31] Operation: 78-47=31 Exploring Operation: 78+21=99, Resulting Numbers: [32, 47, 99] Generated Node #0,1: 96:[32, 47, 99] Operation: 78+21=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[32, 21, 31], Operations: ['78-47=31'] Exploring Operation: 31-21=10, Resulting Numbers: [32, 10] Generated Node #0,0,0: 96:[32, 10] Operation: 31-21=10 Exploring Operation: 32-21=11, Resulting Numbers: [31, 11] Generated Node #0,0,1: 96:[31, 11] Operation: 32-21=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[32, 10], Operations: ['78-47=31', '31-21=10'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[31, 11], Operations: ['78-47=31', '32-21=11'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,96 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[32, 47, 99], Operations: ['78+21=99'] Exploring Operation: 47-32=15, Resulting Numbers: [99, 15] Generated Node #0,1,0: 96:[99, 15] Operation: 47-32=15 Exploring Operation: 99-47=52, Resulting Numbers: [32, 52] Generated Node #0,1,1: 96:[32, 52] Operation: 99-47=52 Moving to Node #0,1,0 Current State: 96:[99, 15], Operations: ['78+21=99', '47-32=15'] Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,96 unequal: No Solution Exploring Operation: 99+15=114, Resulting Numbers: [114] 114,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[32, 52], Operations: ['78+21=99', '99-47=52'] Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,96 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,96 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
[ 21, 38, 12, 48 ]
43
[ "38-21=17", "12+48=60", "60-17=43" ]
Current State: 43:[21, 38, 12, 48], Operations: [] Exploring Operation: 38-21=17, Resulting Numbers: [12, 48, 17] Generated Node #2: [12, 48, 17] from Operation: 38-21=17 Current State: 43:[12, 48, 17], Operations: ['38-21=17'] Exploring Operation: 12+48=60, Resulting Numbers: [17, 60] Generated Node #3: [17, 60] from Operation: 12+48=60 Current State: 43:[17, 60], Operations: ['38-21=17', '12+48=60'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[21, 38, 12, 48], Operations: [] Exploring Operation: 21+12=33, Resulting Numbers: [38, 48, 33] Generated Node #0,0: 43:[38, 48, 33] Operation: 21+12=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[38, 48, 33], Operations: ['21+12=33'] Exploring Operation: 38+33=71, Resulting Numbers: [48, 71] Generated Node #0,0,0: 43:[48, 71] Operation: 38+33=71 Moving to Node #0,0,0 Current State: 43:[48, 71], Operations: ['21+12=33', '38+33=71'] Exploring Operation: 71-48=23, Resulting Numbers: [23] 23,43 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
[ 82, 44, 23, 5 ]
65
[ "82+23=105", "105/5=21", "44+21=65" ]
Current State: 65:[82, 44, 23, 5], Operations: [] Exploring Operation: 82+23=105, Resulting Numbers: [44, 5, 105] Generated Node #2: [44, 5, 105] from Operation: 82+23=105 Current State: 65:[44, 5, 105], Operations: ['82+23=105'] Exploring Operation: 105/5=21, Resulting Numbers: [44, 21] Generated Node #3: [44, 21] from Operation: 105/5=21 Current State: 65:[44, 21], Operations: ['82+23=105', '105/5=21'] Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[82, 44, 23, 5], Operations: [] Exploring Operation: 44+23=67, Resulting Numbers: [82, 5, 67] Generated Node #0,0: 65:[82, 5, 67] Operation: 44+23=67 Exploring Operation: 44-23=21, Resulting Numbers: [82, 5, 21] Generated Node #0,1: 65:[82, 5, 21] Operation: 44-23=21 Exploring Operation: 82-23=59, Resulting Numbers: [44, 5, 59] Generated Node #0,2: 65:[44, 5, 59] Operation: 82-23=59 Exploring Operation: 82-44=38, Resulting Numbers: [23, 5, 38] Generated Node #0,3: 65:[23, 5, 38] Operation: 82-44=38 Moving to Node #0,0 Current State: 65:[82, 5, 67], Operations: ['44+23=67'] Exploring Operation: 82+5=87, Resulting Numbers: [67, 87] Generated Node #0,0,0: 65:[67, 87] Operation: 82+5=87 Exploring Operation: 67-5=62, Resulting Numbers: [82, 62] Generated Node #0,0,1: 65:[82, 62] Operation: 67-5=62 Exploring Operation: 82-5=77, Resulting Numbers: [67, 77] Generated Node #0,0,2: 65:[67, 77] Operation: 82-5=77 Exploring Operation: 82-67=15, Resulting Numbers: [5, 15] Generated Node #0,0,3: 65:[5, 15] Operation: 82-67=15 Moving to Node #0,1 Current State: 65:[82, 5, 21], Operations: ['44-23=21'] Exploring Operation: 21-5=16, Resulting Numbers: [82, 16] Generated Node #0,1,0: 65:[82, 16] Operation: 21-5=16 Exploring Operation: 82-21=61, Resulting Numbers: [5, 61] Generated Node #0,1,1: 65:[5, 61] Operation: 82-21=61 Exploring Operation: 82+5=87, Resulting Numbers: [21, 87] Generated Node #0,1,2: 65:[21, 87] Operation: 82+5=87 Exploring Operation: 82-5=77, Resulting Numbers: [21, 77] Generated Node #0,1,3: 65:[21, 77] Operation: 82-5=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[5, 61], Operations: ['44-23=21', '82-21=61'] Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,65 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[82, 16], Operations: ['44-23=21', '21-5=16'] Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,65 unequal: No Solution Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 65:[21, 77], Operations: ['44-23=21', '82-5=77'] Exploring Operation: 21*77=1617, Resulting Numbers: [1617] 1617,65 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 21+77=98, Resulting Numbers: [98] 98,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[21, 87], Operations: ['44-23=21', '82+5=87'] Exploring Operation: 21+87=108, Resulting Numbers: [108] 108,65 unequal: No Solution Exploring Operation: 21*87=1827, Resulting Numbers: [1827] 1827,65 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,65 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: 65:[44, 5, 59], Operations: ['82-23=59'] Exploring Operation: 5+59=64, Resulting Numbers: [44, 64] Generated Node #0,2,0: 65:[44, 64] Operation: 5+59=64 Exploring Operation: 44+5=49, Resulting Numbers: [59, 49] Generated Node #0,2,1: 65:[59, 49] Operation: 44+5=49 Exploring Operation: 59-44=15, Resulting Numbers: [5, 15] Generated Node #0,2,2: 65:[5, 15] Operation: 59-44=15 Exploring Operation: 44-5=39, Resulting Numbers: [59, 39] Generated Node #0,2,3: 65:[59, 39] Operation: 44-5=39 Moving to Node #0,3 Current State: 65:[23, 5, 38], Operations: ['82-44=38'] Exploring Operation: 23-5=18, Resulting Numbers: [38, 18] Generated Node #0,3,0: 65:[38, 18] Operation: 23-5=18 Exploring Operation: 23+38=61, Resulting Numbers: [5, 61] Generated Node #0,3,1: 65:[5, 61] Operation: 23+38=61 Exploring Operation: 38-5=33, Resulting Numbers: [23, 33] Generated Node #0,3,2: 65:[23, 33] Operation: 38-5=33 Exploring Operation: 38-23=15, Resulting Numbers: [5, 15] Generated Node #0,3,3: 65:[5, 15] Operation: 38-23=15 Moving to Node #0,0,3 Current State: 65:[5, 15], Operations: ['44+23=67', '82-67=15'] Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[5, 15], Operations: ['82-23=59', '59-44=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,65 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[5, 15], Operations: ['82-44=38', '38-23=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,65 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[5, 61], Operations: ['82-44=38', '23+38=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[67, 77], Operations: ['44+23=67', '82-5=77'] Exploring Operation: 67+77=144, Resulting Numbers: [144] 144,65 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 67*77=5159, Resulting Numbers: [5159] 5159,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[82, 62], Operations: ['44+23=67', '67-5=62'] Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 82*62=5084, Resulting Numbers: [5084] 5084,65 unequal: No Solution Exploring Operation: 82+62=144, Resulting Numbers: [144] 144,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[59, 49], Operations: ['82-23=59', '44+5=49'] Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,65 unequal: No Solution Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 59*49=2891, Resulting Numbers: [2891] 2891,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[44, 64], Operations: ['82-23=59', '5+59=64'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 44+64=108, Resulting Numbers: [108] 108,65 unequal: No Solution Exploring Operation: 44*64=2816, Resulting Numbers: [2816] 2816,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[67, 87], Operations: ['44+23=67', '82+5=87'] Exploring Operation: 87-67=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 67+87=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 67*87=5829, Resulting Numbers: [5829] 5829,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[23, 33], Operations: ['82-44=38', '38-5=33'] Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 23*33=759, Resulting Numbers: [759] 759,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[38, 18], Operations: ['82-44=38', '23-5=18'] Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,65 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[59, 39], Operations: ['82-23=59', '44-5=39'] Exploring Operation: 59*39=2301, Resulting Numbers: [2301] 2301,65 unequal: No Solution Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,65 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,65 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 7, 31, 21, 66 ]
50
[ "7*21=147", "31+66=97", "147-97=50" ]
Current State: 50:[7, 31, 21, 66], Operations: [] Exploring Operation: 7*21=147, Resulting Numbers: [31, 66, 147] Generated Node #2: [31, 66, 147] from Operation: 7*21=147 Current State: 50:[31, 66, 147], Operations: ['7*21=147'] Exploring Operation: 31+66=97, Resulting Numbers: [147, 97] Generated Node #3: [147, 97] from Operation: 31+66=97 Current State: 50:[147, 97], Operations: ['7*21=147', '31+66=97'] Exploring Operation: 147-97=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[7, 31, 21, 66], Operations: [] Exploring Operation: 66-21=45, Resulting Numbers: [7, 31, 45] Generated Node #0,0: 50:[7, 31, 45] Operation: 66-21=45 Exploring Operation: 66-31=35, Resulting Numbers: [7, 21, 35] Generated Node #0,1: 50:[7, 21, 35] Operation: 66-31=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[7, 31, 45], Operations: ['66-21=45'] Exploring Operation: 31-7=24, Resulting Numbers: [45, 24] Generated Node #0,0,0: 50:[45, 24] Operation: 31-7=24 Exploring Operation: 45-31=14, Resulting Numbers: [7, 14] Generated Node #0,0,1: 50:[7, 14] Operation: 45-31=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[45, 24], Operations: ['66-21=45', '31-7=24'] Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,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,0,1 Current State: 50:[7, 14], Operations: ['66-21=45', '45-31=14'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,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:[7, 21, 35], Operations: ['66-31=35'] Exploring Operation: 35/7=5, Resulting Numbers: [21, 5] Generated Node #0,1,0: 50:[21, 5] Operation: 35/7=5 Exploring Operation: 35-21=14, Resulting Numbers: [7, 14] Generated Node #0,1,1: 50:[7, 14] Operation: 35-21=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[21, 5], Operations: ['66-31=35', '35/7=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 21+5=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,1,1 Current State: 50:[7, 14], Operations: ['66-31=35', '35-21=14'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,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 No solution found.
0
hs_2
mult_heuristic
[ 55, 42, 71, 21 ]
39
[ "55*42=2310", "2310/21=110", "110-71=39" ]
Current State: 39:[55, 42, 71, 21], Operations: [] Exploring Operation: 55*42=2310, Resulting Numbers: [71, 21, 2310] Generated Node #2: [71, 21, 2310] from Operation: 55*42=2310 Current State: 39:[71, 21, 2310], Operations: ['55*42=2310'] Exploring Operation: 2310/21=110, Resulting Numbers: [71, 110] Generated Node #3: [71, 110] from Operation: 2310/21=110 Current State: 39:[71, 110], Operations: ['55*42=2310', '2310/21=110'] Exploring Operation: 110-71=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[55, 42, 71, 21], Operations: [] Exploring Operation: 55-21=34, Resulting Numbers: [42, 71, 34] Generated Node #0,0: 39:[42, 71, 34] Operation: 55-21=34 Exploring Operation: 71-21=50, Resulting Numbers: [55, 42, 50] Generated Node #0,1: 39:[55, 42, 50] Operation: 71-21=50 Exploring Operation: 55-42=13, Resulting Numbers: [71, 21, 13] Generated Node #0,2: 39:[71, 21, 13] Operation: 55-42=13 Exploring Operation: 71-55=16, Resulting Numbers: [42, 21, 16] Generated Node #0,3: 39:[42, 21, 16] Operation: 71-55=16 Exploring Operation: 71-42=29, Resulting Numbers: [55, 21, 29] Generated Node #0,4: 39:[55, 21, 29] Operation: 71-42=29 Moving to Node #0,3 Current State: 39:[42, 21, 16], Operations: ['71-55=16'] Exploring Operation: 42-21=21, Resulting Numbers: [16, 21] Generated Node #0,3,0: 39:[16, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [16, 2] Generated Node #0,3,1: 39:[16, 2] Operation: 42/21=2 Exploring Operation: 21-16=5, Resulting Numbers: [42, 5] Generated Node #0,3,2: 39:[42, 5] Operation: 21-16=5 Exploring Operation: 21+16=37, Resulting Numbers: [42, 37] Generated Node #0,3,3: 39:[42, 37] Operation: 21+16=37 Exploring Operation: 42-16=26, Resulting Numbers: [21, 26] Generated Node #0,3,4: 39:[21, 26] Operation: 42-16=26 Moving to Node #0,1 Current State: 39:[55, 42, 50], Operations: ['71-21=50'] Exploring Operation: 55-42=13, Resulting Numbers: [50, 13] Generated Node #0,1,0: 39:[50, 13] Operation: 55-42=13 Exploring Operation: 50-42=8, Resulting Numbers: [55, 8] Generated Node #0,1,1: 39:[55, 8] Operation: 50-42=8 Exploring Operation: 55-50=5, Resulting Numbers: [42, 5] Generated Node #0,1,2: 39:[42, 5] Operation: 55-50=5 Exploring Operation: 55+42=97, Resulting Numbers: [50, 97] Generated Node #0,1,3: 39:[50, 97] Operation: 55+42=97 Exploring Operation: 55+50=105, Resulting Numbers: [42, 105] Generated Node #0,1,4: 39:[42, 105] Operation: 55+50=105 Moving to Node #0,4 Current State: 39:[55, 21, 29], Operations: ['71-42=29'] Exploring Operation: 29-21=8, Resulting Numbers: [55, 8] Generated Node #0,4,0: 39:[55, 8] Operation: 29-21=8 Exploring Operation: 55-21=34, Resulting Numbers: [29, 34] Generated Node #0,4,1: 39:[29, 34] Operation: 55-21=34 Exploring Operation: 55-29=26, Resulting Numbers: [21, 26] Generated Node #0,4,2: 39:[21, 26] Operation: 55-29=26 Exploring Operation: 55+21=76, Resulting Numbers: [29, 76] Generated Node #0,4,3: 39:[29, 76] Operation: 55+21=76 Exploring Operation: 21+29=50, Resulting Numbers: [55, 50] Generated Node #0,4,4: 39:[55, 50] Operation: 21+29=50 Moving to Node #0,0 Current State: 39:[42, 71, 34], Operations: ['55-21=34'] Exploring Operation: 71-42=29, Resulting Numbers: [34, 29] Generated Node #0,0,0: 39:[34, 29] Operation: 71-42=29 Exploring Operation: 42+34=76, Resulting Numbers: [71, 76] Generated Node #0,0,1: 39:[71, 76] Operation: 42+34=76 Exploring Operation: 42-34=8, Resulting Numbers: [71, 8] Generated Node #0,0,2: 39:[71, 8] Operation: 42-34=8 Exploring Operation: 71+34=105, Resulting Numbers: [42, 105] Generated Node #0,0,3: 39:[42, 105] Operation: 71+34=105 Exploring Operation: 71-34=37, Resulting Numbers: [42, 37] Generated Node #0,0,4: 39:[42, 37] Operation: 71-34=37 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 39:[42, 37], Operations: ['55-21=34', '71-34=37'] Exploring Operation: 42*37=1554, Resulting Numbers: [1554] 1554,39 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 42+37=79, Resulting Numbers: [79] 79,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[34, 29], Operations: ['55-21=34', '71-42=29'] Exploring Operation: 34+29=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 34*29=986, Resulting Numbers: [986] 986,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[71, 8], Operations: ['55-21=34', '42-34=8'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,39 unequal: No Solution Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[71, 76], Operations: ['55-21=34', '42+34=76'] Exploring Operation: 71+76=147, Resulting Numbers: [147] 147,39 unequal: No Solution Exploring Operation: 71*76=5396, Resulting Numbers: [5396] 5396,39 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 39:[42, 105], Operations: ['55-21=34', '71+34=105'] Exploring Operation: 42*105=4410, Resulting Numbers: [4410] 4410,39 unequal: No Solution Exploring Operation: 42+105=147, Resulting Numbers: [147] 147,39 unequal: No Solution Exploring Operation: 105-42=63, Resulting Numbers: [63] 63,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 39:[71, 21, 13], Operations: ['55-42=13'] Exploring Operation: 21-13=8, Resulting Numbers: [71, 8] Generated Node #0,2,0: 39:[71, 8] Operation: 21-13=8 Exploring Operation: 71-13=58, Resulting Numbers: [21, 58] Generated Node #0,2,1: 39:[21, 58] Operation: 71-13=58 Exploring Operation: 21+13=34, Resulting Numbers: [71, 34] Generated Node #0,2,2: 39:[71, 34] Operation: 21+13=34 Exploring Operation: 71-21=50, Resulting Numbers: [13, 50] Generated Node #0,2,3: 39:[13, 50] Operation: 71-21=50 Exploring Operation: 71+21=92, Resulting Numbers: [13, 92] Generated Node #0,2,4: 39:[13, 92] Operation: 71+21=92 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 39:[13, 50], Operations: ['55-42=13', '71-21=50'] Exploring Operation: 13*50=650, Resulting Numbers: [650] 650,39 unequal: No Solution Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[21, 58], Operations: ['55-42=13', '71-13=58'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,39 unequal: No Solution Exploring Operation: 21*58=1218, Resulting Numbers: [1218] 1218,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[71, 8], Operations: ['55-42=13', '21-13=8'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,39 unequal: No Solution Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[71, 34], Operations: ['55-42=13', '21+13=34'] Exploring Operation: 71*34=2414, Resulting Numbers: [2414] 2414,39 unequal: No Solution Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,39 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 39:[13, 92], Operations: ['55-42=13', '71+21=92'] Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,39 unequal: No Solution Exploring Operation: 13+92=105, Resulting Numbers: [105] 105,39 unequal: No Solution Exploring Operation: 13*92=1196, Resulting Numbers: [1196] 1196,39 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: 39:[16, 2], Operations: ['71-55=16', '42/21=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[42, 37], Operations: ['71-55=16', '21+16=37'] Exploring Operation: 42*37=1554, Resulting Numbers: [1554] 1554,39 unequal: No Solution Exploring Operation: 42+37=79, Resulting Numbers: [79] 79,39 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[42, 5], Operations: ['71-21=50', '55-50=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,39 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[42, 5], Operations: ['71-55=16', '21-16=5'] Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,39 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[50, 13], Operations: ['71-21=50', '55-42=13'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,39 unequal: No Solution Moving to Node #0,3,0 Current State: 39:[16, 21], Operations: ['71-55=16', '42-21=21'] Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,39 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,39 unequal: No Solution Moving to Node #0,4,1 Current State: 39:[29, 34], Operations: ['71-42=29', '55-21=34'] Exploring Operation: 29*34=986, Resulting Numbers: [986] 986,39 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 29+34=63, Resulting Numbers: [63] 63,39 unequal: No Solution Moving to Node #0,4,2 Current State: 39:[21, 26], Operations: ['71-42=29', '55-29=26'] Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,39 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,39 unequal: No Solution Moving to Node #0,4,0 Current State: 39:[55, 8], Operations: ['71-42=29', '29-21=8'] Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,39 unequal: No Solution Moving to Node #0,3,4 Current State: 39:[21, 26], Operations: ['71-55=16', '42-16=26'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[55, 8], Operations: ['71-21=50', '50-42=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,39 unequal: No Solution Moving to Node #0,4,4 Current State: 39:[55, 50], Operations: ['71-42=29', '21+29=50'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 55*50=2750, Resulting Numbers: [2750] 2750,39 unequal: No Solution Exploring Operation: 55+50=105, Resulting Numbers: [105] 105,39 unequal: No Solution Moving to Node #0,4,3 Current State: 39:[29, 76], Operations: ['71-42=29', '55+21=76'] Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 29*76=2204, Resulting Numbers: [2204] 2204,39 unequal: No Solution Exploring Operation: 29+76=105, Resulting Numbers: [105] 105,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[50, 97], Operations: ['71-21=50', '55+42=97'] Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 50+97=147, Resulting Numbers: [147] 147,39 unequal: No Solution Exploring Operation: 50*97=4850, Resulting Numbers: [4850] 4850,39 unequal: No Solution Moving to Node #0,1,4 Current State: 39:[42, 105], Operations: ['71-21=50', '55+50=105'] Exploring Operation: 42*105=4410, Resulting Numbers: [4410] 4410,39 unequal: No Solution Exploring Operation: 42+105=147, Resulting Numbers: [147] 147,39 unequal: No Solution Exploring Operation: 105-42=63, Resulting Numbers: [63] 63,39 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 46, 33, 22, 3 ]
39
[ "46-22=24", "3*24=72", "72-33=39" ]
Current State: 39:[46, 33, 22, 3], Operations: [] Exploring Operation: 46-22=24, Resulting Numbers: [33, 3, 24] Generated Node #2: [33, 3, 24] from Operation: 46-22=24 Current State: 39:[33, 3, 24], Operations: ['46-22=24'] Exploring Operation: 3*24=72, Resulting Numbers: [33, 72] Generated Node #3: [33, 72] from Operation: 3*24=72 Current State: 39:[33, 72], Operations: ['46-22=24', '3*24=72'] Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[46, 33, 22, 3], Operations: [] Exploring Operation: 46-22=24, Resulting Numbers: [33, 3, 24] Generated Node #0,0: 39:[33, 3, 24] Operation: 46-22=24 Exploring Operation: 33-22=11, Resulting Numbers: [46, 3, 11] Generated Node #0,1: 39:[46, 3, 11] Operation: 33-22=11 Exploring Operation: 46-33=13, Resulting Numbers: [22, 3, 13] Generated Node #0,2: 39:[22, 3, 13] Operation: 46-33=13 Exploring Operation: 33/3=11, Resulting Numbers: [46, 22, 11] Generated Node #0,3: 39:[46, 22, 11] Operation: 33/3=11 Moving to Node #0,1 Current State: 39:[46, 3, 11], Operations: ['33-22=11'] Exploring Operation: 46+3=49, Resulting Numbers: [11, 49] Generated Node #0,1,0: 39:[11, 49] Operation: 46+3=49 Exploring Operation: 3+11=14, Resulting Numbers: [46, 14] Generated Node #0,1,1: 39:[46, 14] Operation: 3+11=14 Exploring Operation: 46-11=35, Resulting Numbers: [3, 35] Generated Node #0,1,2: 39:[3, 35] Operation: 46-11=35 Exploring Operation: 46-3=43, Resulting Numbers: [11, 43] Generated Node #0,1,3: 39:[11, 43] Operation: 46-3=43 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[3, 35], Operations: ['33-22=11', '46-11=35'] Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,39 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[11, 43], Operations: ['33-22=11', '46-3=43'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 11*43=473, Resulting Numbers: [473] 473,39 unequal: No Solution Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[46, 14], Operations: ['33-22=11', '3+11=14'] Exploring Operation: 46*14=644, Resulting Numbers: [644] 644,39 unequal: No Solution Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[11, 49], Operations: ['33-22=11', '46+3=49'] Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,39 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 39:[22, 3, 13], Operations: ['46-33=13'] Exploring Operation: 22-13=9, Resulting Numbers: [3, 9] Generated Node #0,2,0: 39:[3, 9] Operation: 22-13=9 Exploring Operation: 22+13=35, Resulting Numbers: [3, 35] Generated Node #0,2,1: 39:[3, 35] Operation: 22+13=35 Exploring Operation: 3*13=39, Resulting Numbers: [22, 39] Generated Node #0,2,2: 39:[22, 39] Operation: 3*13=39 Exploring Operation: 22-3=19, Resulting Numbers: [13, 19] Generated Node #0,2,3: 39:[13, 19] Operation: 22-3=19 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[3, 9], Operations: ['46-33=13', '22-13=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[3, 35], Operations: ['46-33=13', '22+13=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,39 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 39:[13, 19], Operations: ['46-33=13', '22-3=19'] Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,39 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[22, 39], Operations: ['46-33=13', '3*13=39'] Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,39 unequal: No Solution Exploring Operation: 22*39=858, Resulting Numbers: [858] 858,39 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,39 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: 39:[33, 3, 24], Operations: ['46-22=24'] Exploring Operation: 24/3=8, Resulting Numbers: [33, 8] Generated Node #0,0,0: 39:[33, 8] Operation: 24/3=8 Exploring Operation: 33-24=9, Resulting Numbers: [3, 9] Generated Node #0,0,1: 39:[3, 9] Operation: 33-24=9 Exploring Operation: 33+3=36, Resulting Numbers: [24, 36] Generated Node #0,0,2: 39:[24, 36] Operation: 33+3=36 Exploring Operation: 33/3=11, Resulting Numbers: [24, 11] Generated Node #0,0,3: 39:[24, 11] Operation: 33/3=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[3, 9], Operations: ['46-22=24', '33-24=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[33, 8], Operations: ['46-22=24', '24/3=8'] Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,39 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 39:[24, 11], Operations: ['46-22=24', '33/3=11'] Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,39 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[24, 36], Operations: ['46-22=24', '33+3=36'] Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,39 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,39 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: 39:[46, 22, 11], Operations: ['33/3=11'] Exploring Operation: 22/11=2, Resulting Numbers: [46, 2] Generated Node #0,3,0: 39:[46, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [46, 11] Generated Node #0,3,1: 39:[46, 11] Operation: 22-11=11 Exploring Operation: 46-22=24, Resulting Numbers: [11, 24] Generated Node #0,3,2: 39:[11, 24] Operation: 46-22=24 Exploring Operation: 46-11=35, Resulting Numbers: [22, 35] Generated Node #0,3,3: 39:[22, 35] Operation: 46-11=35 Moving to Node #0,3,0 Current State: 39:[46, 2], Operations: ['33/3=11', '22/11=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,39 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[46, 11], Operations: ['33/3=11', '22-11=11'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,39 unequal: No Solution Exploring Operation: 46*11=506, Resulting Numbers: [506] 506,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[22, 35], Operations: ['33/3=11', '46-11=35'] Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 22*35=770, Resulting Numbers: [770] 770,39 unequal: No Solution Exploring Operation: 22+35=57, Resulting Numbers: [57] 57,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[11, 24], Operations: ['33/3=11', '46-22=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,39 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 34, 23, 34, 40 ]
40
[ "34-34=0", "23*0=0", "40+0=40" ]
Current State: 40:[34, 23, 34, 40], Operations: [] Exploring Operation: 34-34=0, Resulting Numbers: [23, 40, 0] Generated Node #2: [23, 40, 0] from Operation: 34-34=0 Current State: 40:[23, 40, 0], Operations: ['34-34=0'] Exploring Operation: 23*0=0, Resulting Numbers: [40, 0] Generated Node #3: [40, 0] from Operation: 23*0=0 Current State: 40:[40, 0], Operations: ['34-34=0', '23*0=0'] Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[34, 23, 34, 40], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [34, 40, 11] Generated Node #0,0: 40:[34, 40, 11] Operation: 34-23=11 Exploring Operation: 34/34=1, Resulting Numbers: [23, 40, 1] Generated Node #0,1: 40:[23, 40, 1] Operation: 34/34=1 Exploring Operation: 34-34=0, Resulting Numbers: [23, 40, 0] Generated Node #0,2: 40:[23, 40, 0] Operation: 34-34=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[23, 40, 1], Operations: ['34/34=1'] Exploring Operation: 23*1=23, Resulting Numbers: [40, 23] Generated Node #0,1,0: 40:[40, 23] Operation: 23*1=23 Exploring Operation: 23/1=23, Resulting Numbers: [40, 23] Generated Node #0,1,1: 40:[40, 23] Operation: 23/1=23 Exploring Operation: 23-1=22, Resulting Numbers: [40, 22] Generated Node #0,1,2: 40:[40, 22] Operation: 23-1=22 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 40:[40, 22], Operations: ['34/34=1', '23-1=22'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,40 unequal: No Solution Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[40, 23], Operations: ['34/34=1', '23*1=23'] Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,40 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[40, 23], Operations: ['34/34=1', '23/1=23'] Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[23, 40, 0], Operations: ['34-34=0'] Exploring Operation: 23*0=0, Resulting Numbers: [40, 0] Generated Node #0,2,0: 40:[40, 0] Operation: 23*0=0 Exploring Operation: 23-0=23, Resulting Numbers: [40, 23] Generated Node #0,2,1: 40:[40, 23] Operation: 23-0=23 Exploring Operation: 23+0=23, Resulting Numbers: [40, 23] Generated Node #0,2,2: 40:[40, 23] Operation: 23+0=23 Moving to Node #0,2,0 Current State: 40:[40, 0], Operations: ['34-34=0', '23*0=0'] Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[34, 23, 34, 40], Operations: [] Exploring Operation: 34-34=0, Resulting Numbers: [23, 40, 0] Generated Node #0,2: 40:[23, 40, 0] Operation: 34-34=0 Moving to Node #0,2 Current State: 40:[23, 40, 0], Operations: ['34-34=0'] Exploring Operation: 23*0=0, Resulting Numbers: [40, 0] Generated Node #0,2,0: 40:[40, 0] Operation: 23*0=0 Moving to Node #0,2,0 Current State: 40:[40, 0], Operations: ['34-34=0', '23*0=0'] Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 15, 97, 67, 41 ]
82
[ "97-67=30", "30/15=2", "41*2=82" ]
Current State: 82:[15, 97, 67, 41], Operations: [] Exploring Operation: 97-67=30, Resulting Numbers: [15, 41, 30] Generated Node #2: [15, 41, 30] from Operation: 97-67=30 Current State: 82:[15, 41, 30], Operations: ['97-67=30'] Exploring Operation: 30/15=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 30/15=2 Current State: 82:[41, 2], Operations: ['97-67=30', '30/15=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[15, 97, 67, 41], Operations: [] Exploring Operation: 15+67=82, Resulting Numbers: [97, 41, 82] Generated Node #0,0: 82:[97, 41, 82] Operation: 15+67=82 Exploring Operation: 97-15=82, Resulting Numbers: [67, 41, 82] Generated Node #0,1: 82:[67, 41, 82] Operation: 97-15=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[97, 41, 82], Operations: ['15+67=82'] Exploring Operation: 97-41=56, Resulting Numbers: [82, 56] Generated Node #0,0,0: 82:[82, 56] Operation: 97-41=56 Exploring Operation: 97-82=15, Resulting Numbers: [41, 15] Generated Node #0,0,1: 82:[41, 15] Operation: 97-82=15 Moving to Node #0,0,1 Current State: 82:[41, 15], Operations: ['15+67=82', '97-82=15'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[82, 56], Operations: ['15+67=82', '97-41=56'] Exploring Operation: 82+56=138, Resulting Numbers: [138] 138,82 unequal: No Solution Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[67, 41, 82], Operations: ['97-15=82'] Exploring Operation: 82-67=15, Resulting Numbers: [41, 15] Generated Node #0,1,0: 82:[41, 15] Operation: 82-67=15 Exploring Operation: 67-41=26, Resulting Numbers: [82, 26] Generated Node #0,1,1: 82:[82, 26] Operation: 67-41=26 Moving to Node #0,1,0 Current State: 82:[41, 15], Operations: ['97-15=82', '82-67=15'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[82, 26], Operations: ['97-15=82', '67-41=26'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 82+26=108, Resulting Numbers: [108] 108,82 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
[ 1, 76, 52, 42 ]
66
[ "1*76=76", "52-42=10", "76-10=66" ]
Current State: 66:[1, 76, 52, 42], Operations: [] Exploring Operation: 1*76=76, Resulting Numbers: [52, 42, 76] Generated Node #2: [52, 42, 76] from Operation: 1*76=76 Current State: 66:[52, 42, 76], Operations: ['1*76=76'] Exploring Operation: 52-42=10, Resulting Numbers: [76, 10] Generated Node #3: [76, 10] from Operation: 52-42=10 Current State: 66:[76, 10], Operations: ['1*76=76', '52-42=10'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[1, 76, 52, 42], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [1, 42, 24] Generated Node #0,0: 66:[1, 42, 24] Operation: 76-52=24 Exploring Operation: 52-42=10, Resulting Numbers: [1, 76, 10] Generated Node #0,1: 66:[1, 76, 10] Operation: 52-42=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[1, 42, 24], Operations: ['76-52=24'] Exploring Operation: 42+24=66, Resulting Numbers: [1, 66] Generated Node #0,0,0: 66:[1, 66] Operation: 42+24=66 Exploring Operation: 42-24=18, Resulting Numbers: [1, 18] Generated Node #0,0,1: 66:[1, 18] Operation: 42-24=18 Moving to Node #0,0,0 Current State: 66:[1, 66], Operations: ['76-52=24', '42+24=66'] Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[1, 76, 52, 42], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [1, 42, 24] Generated Node #0,0: 66:[1, 42, 24] Operation: 76-52=24 Moving to Node #0,0 Current State: 66:[1, 42, 24], Operations: ['76-52=24'] Exploring Operation: 42+24=66, Resulting Numbers: [1, 66] Generated Node #0,0,0: 66:[1, 66] Operation: 42+24=66 Moving to Node #0,0,0 Current State: 66:[1, 66], Operations: ['76-52=24', '42+24=66'] Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 49, 53, 29, 54 ]
21
[ "53-49=4", "54-29=25", "25-4=21" ]
Current State: 21:[49, 53, 29, 54], Operations: [] Exploring Operation: 53-49=4, Resulting Numbers: [29, 54, 4] Generated Node #2: [29, 54, 4] from Operation: 53-49=4 Current State: 21:[29, 54, 4], Operations: ['53-49=4'] Exploring Operation: 54-29=25, Resulting Numbers: [4, 25] Generated Node #3: [4, 25] from Operation: 54-29=25 Current State: 21:[4, 25], Operations: ['53-49=4', '54-29=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[49, 53, 29, 54], Operations: [] Exploring Operation: 54-53=1, Resulting Numbers: [49, 29, 1] Generated Node #0,0: 21:[49, 29, 1] Operation: 54-53=1 Moving to Node #0,0 Current State: 21:[49, 29, 1], Operations: ['54-53=1'] Exploring Operation: 49-29=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 21:[1, 20] Operation: 49-29=20 Moving to Node #0,0,0 Current State: 21:[1, 20], Operations: ['54-53=1', '49-29=20'] Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[49, 53, 29, 54], Operations: [] Exploring Operation: 54-53=1, Resulting Numbers: [49, 29, 1] Generated Node #0,0: 21:[49, 29, 1] Operation: 54-53=1 Moving to Node #0,0 Current State: 21:[49, 29, 1], Operations: ['54-53=1'] Exploring Operation: 49-29=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 21:[1, 20] Operation: 49-29=20 Moving to Node #0,0,0 Current State: 21:[1, 20], Operations: ['54-53=1', '49-29=20'] Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 80, 20, 8, 6 ]
90
[ "8-6=2", "20/2=10", "80+10=90" ]
Current State: 90:[80, 20, 8, 6], Operations: [] Exploring Operation: 8-6=2, Resulting Numbers: [80, 20, 2] Generated Node #2: [80, 20, 2] from Operation: 8-6=2 Current State: 90:[80, 20, 2], Operations: ['8-6=2'] Exploring Operation: 20/2=10, Resulting Numbers: [80, 10] Generated Node #3: [80, 10] from Operation: 20/2=10 Current State: 90:[80, 10], Operations: ['8-6=2', '20/2=10'] Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[80, 20, 8, 6], Operations: [] Exploring Operation: 80/8=10, Resulting Numbers: [20, 6, 10] Generated Node #0,0: 90:[20, 6, 10] Operation: 80/8=10 Exploring Operation: 80/20=4, Resulting Numbers: [8, 6, 4] Generated Node #0,1: 90:[8, 6, 4] Operation: 80/20=4 Moving to Node #0,0 Current State: 90:[20, 6, 10], Operations: ['80/8=10'] Exploring Operation: 20+10=30, Resulting Numbers: [6, 30] Generated Node #0,0,0: 90:[6, 30] Operation: 20+10=30 Exploring Operation: 20-10=10, Resulting Numbers: [6, 10] Generated Node #0,0,1: 90:[6, 10] Operation: 20-10=10 Moving to Node #0,1 Current State: 90:[8, 6, 4], Operations: ['80/20=4'] Exploring Operation: 8-6=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 90:[4, 2] Operation: 8-6=2 Exploring Operation: 8/4=2, Resulting Numbers: [6, 2] Generated Node #0,1,1: 90:[6, 2] Operation: 8/4=2 Moving to Node #0,0,0 Current State: 90:[6, 30], Operations: ['80/8=10', '20+10=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[6, 2], Operations: ['80/20=4', '8/4=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[6, 10], Operations: ['80/8=10', '20-10=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[4, 2], Operations: ['80/20=4', '8-6=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,90 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 29, 23, 10, 66 ]
58
[ "29*66=1914", "23+10=33", "1914/33=58" ]
Current State: 58:[29, 23, 10, 66], Operations: [] Exploring Operation: 29*66=1914, Resulting Numbers: [23, 10, 1914] Generated Node #2: [23, 10, 1914] from Operation: 29*66=1914 Current State: 58:[23, 10, 1914], Operations: ['29*66=1914'] Exploring Operation: 23+10=33, Resulting Numbers: [1914, 33] Generated Node #3: [1914, 33] from Operation: 23+10=33 Current State: 58:[1914, 33], Operations: ['29*66=1914', '23+10=33'] Exploring Operation: 1914/33=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[29, 23, 10, 66], Operations: [] Exploring Operation: 66-10=56, Resulting Numbers: [29, 23, 56] Generated Node #0,0: 58:[29, 23, 56] Operation: 66-10=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[29, 23, 56], Operations: ['66-10=56'] Exploring Operation: 56-23=33, Resulting Numbers: [29, 33] Generated Node #0,0,0: 58:[29, 33] Operation: 56-23=33 Moving to Node #0,0,0 Current State: 58:[29, 33], Operations: ['66-10=56', '56-23=33'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,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
mult_heuristic
[ 6, 3, 51, 48 ]
36
[ "3+51=54", "54-48=6", "6*6=36" ]
Current State: 36:[6, 3, 51, 48], Operations: [] Exploring Operation: 3+51=54, Resulting Numbers: [6, 48, 54] Generated Node #2: [6, 48, 54] from Operation: 3+51=54 Current State: 36:[6, 48, 54], Operations: ['3+51=54'] Exploring Operation: 54-48=6, Resulting Numbers: [6, 6] Generated Node #3: [6, 6] from Operation: 54-48=6 Current State: 36:[6, 6], Operations: ['3+51=54', '54-48=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[6, 3, 51, 48], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [6, 48, 17] Generated Node #0,0: 36:[6, 48, 17] Operation: 51/3=17 Exploring Operation: 51-48=3, Resulting Numbers: [6, 3, 3] Generated Node #0,1: 36:[6, 3, 3] Operation: 51-48=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[6, 3, 3], Operations: ['51-48=3'] Exploring Operation: 6*3=18, Resulting Numbers: [3, 18] Generated Node #0,1,0: 36:[3, 18] Operation: 6*3=18 Exploring Operation: 6+3=9, Resulting Numbers: [3, 9] Generated Node #0,1,1: 36:[3, 9] Operation: 6+3=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[3, 18], Operations: ['51-48=3', '6*3=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,36 unequal: No Solution No 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: 36:[3, 9], Operations: ['51-48=3', '6+3=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,36 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: 36:[6, 48, 17], Operations: ['51/3=17'] Exploring Operation: 48/6=8, Resulting Numbers: [17, 8] Generated Node #0,0,0: 36:[17, 8] Operation: 48/6=8 Exploring Operation: 48-17=31, Resulting Numbers: [6, 31] Generated Node #0,0,1: 36:[6, 31] Operation: 48-17=31 Moving to Node #0,0,0 Current State: 36:[17, 8], Operations: ['51/3=17', '48/6=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,36 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[6, 31], Operations: ['51/3=17', '48-17=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,36 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,36 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
[ 14, 8, 54, 19 ]
39
[ "14*8=112", "54+19=73", "112-73=39" ]
Current State: 39:[14, 8, 54, 19], Operations: [] Exploring Operation: 14*8=112, Resulting Numbers: [54, 19, 112] Generated Node #2: [54, 19, 112] from Operation: 14*8=112 Current State: 39:[54, 19, 112], Operations: ['14*8=112'] Exploring Operation: 54+19=73, Resulting Numbers: [112, 73] Generated Node #3: [112, 73] from Operation: 54+19=73 Current State: 39:[112, 73], Operations: ['14*8=112', '54+19=73'] Exploring Operation: 112-73=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[14, 8, 54, 19], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [14, 8, 35] Generated Node #0,0: 39:[14, 8, 35] Operation: 54-19=35 Exploring Operation: 54-14=40, Resulting Numbers: [8, 19, 40] Generated Node #0,1: 39:[8, 19, 40] Operation: 54-14=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[14, 8, 35], Operations: ['54-19=35'] Exploring Operation: 8+35=43, Resulting Numbers: [14, 43] Generated Node #0,0,0: 39:[14, 43] Operation: 8+35=43 Exploring Operation: 14-8=6, Resulting Numbers: [35, 6] Generated Node #0,0,1: 39:[35, 6] Operation: 14-8=6 Moving to Node #0,0,0 Current State: 39:[14, 43], Operations: ['54-19=35', '8+35=43'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,39 unequal: No Solution Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[35, 6], Operations: ['54-19=35', '14-8=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,39 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[8, 19, 40], Operations: ['54-14=40'] Exploring Operation: 40/8=5, Resulting Numbers: [19, 5] Generated Node #0,1,0: 39:[19, 5] Operation: 40/8=5 Exploring Operation: 19-8=11, Resulting Numbers: [40, 11] Generated Node #0,1,1: 39:[40, 11] Operation: 19-8=11 Moving to Node #0,1,1 Current State: 39:[40, 11], Operations: ['54-14=40', '19-8=11'] Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[19, 5], Operations: ['54-14=40', '40/8=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,39 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
[ 69, 44, 70, 20 ]
23
[ "69+44=113", "70+20=90", "113-90=23" ]
Current State: 23:[69, 44, 70, 20], Operations: [] Exploring Operation: 69+44=113, Resulting Numbers: [70, 20, 113] Generated Node #2: [70, 20, 113] from Operation: 69+44=113 Current State: 23:[70, 20, 113], Operations: ['69+44=113'] Exploring Operation: 70+20=90, Resulting Numbers: [113, 90] Generated Node #3: [113, 90] from Operation: 70+20=90 Current State: 23:[113, 90], Operations: ['69+44=113', '70+20=90'] Exploring Operation: 113-90=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[69, 44, 70, 20], Operations: [] Exploring Operation: 44-20=24, Resulting Numbers: [69, 70, 24] Generated Node #0,0: 23:[69, 70, 24] Operation: 44-20=24 Exploring Operation: 70-44=26, Resulting Numbers: [69, 20, 26] Generated Node #0,1: 23:[69, 20, 26] Operation: 70-44=26 Exploring Operation: 69-20=49, Resulting Numbers: [44, 70, 49] Generated Node #0,2: 23:[44, 70, 49] Operation: 69-20=49 Exploring Operation: 70-69=1, Resulting Numbers: [44, 20, 1] Generated Node #0,3: 23:[44, 20, 1] Operation: 70-69=1 Exploring Operation: 69-44=25, Resulting Numbers: [70, 20, 25] Generated Node #0,4: 23:[70, 20, 25] Operation: 69-44=25 Moving to Node #0,3 Current State: 23:[44, 20, 1], Operations: ['70-69=1'] Exploring Operation: 44/1=44, Resulting Numbers: [20, 44] Generated Node #0,3,0: 23:[20, 44] Operation: 44/1=44 Exploring Operation: 20+1=21, Resulting Numbers: [44, 21] Generated Node #0,3,1: 23:[44, 21] Operation: 20+1=21 Exploring Operation: 44-20=24, Resulting Numbers: [1, 24] Generated Node #0,3,2: 23:[1, 24] Operation: 44-20=24 Exploring Operation: 44*1=44, Resulting Numbers: [20, 44] Generated Node #0,3,3: 23:[20, 44] Operation: 44*1=44 Exploring Operation: 44-1=43, Resulting Numbers: [20, 43] Generated Node #0,3,4: 23:[20, 43] Operation: 44-1=43 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 23:[44, 21], Operations: ['70-69=1', '20+1=21'] Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,23 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[69, 44, 70, 20], Operations: [] Exploring Operation: 70-69=1, Resulting Numbers: [44, 20, 1] Generated Node #0,3: 23:[44, 20, 1] Operation: 70-69=1 Moving to Node #0,3 Current State: 23:[44, 20, 1], Operations: ['70-69=1'] Exploring Operation: 20+1=21, Resulting Numbers: [44, 21] Generated Node #0,3,1: 23:[44, 21] Operation: 20+1=21 Moving to Node #0,3,1 Current State: 23:[44, 21], Operations: ['70-69=1', '20+1=21'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 53, 32, 67, 6 ]
59
[ "53-32=21", "6*21=126", "126-67=59" ]
Current State: 59:[53, 32, 67, 6], Operations: [] Exploring Operation: 53-32=21, Resulting Numbers: [67, 6, 21] Generated Node #2: [67, 6, 21] from Operation: 53-32=21 Current State: 59:[67, 6, 21], Operations: ['53-32=21'] Exploring Operation: 6*21=126, Resulting Numbers: [67, 126] Generated Node #3: [67, 126] from Operation: 6*21=126 Current State: 59:[67, 126], Operations: ['53-32=21', '6*21=126'] Exploring Operation: 126-67=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[53, 32, 67, 6], Operations: [] Exploring Operation: 67-6=61, Resulting Numbers: [53, 32, 61] Generated Node #0,0: 59:[53, 32, 61] Operation: 67-6=61 Exploring Operation: 53+6=59, Resulting Numbers: [32, 67, 59] Generated Node #0,1: 59:[32, 67, 59] Operation: 53+6=59 Exploring Operation: 53-6=47, Resulting Numbers: [32, 67, 47] Generated Node #0,2: 59:[32, 67, 47] Operation: 53-6=47 Exploring Operation: 32+6=38, Resulting Numbers: [53, 67, 38] Generated Node #0,3: 59:[53, 67, 38] Operation: 32+6=38 Moving to Node #0,0 Current State: 59:[53, 32, 61], Operations: ['67-6=61'] Exploring Operation: 53+32=85, Resulting Numbers: [61, 85] Generated Node #0,0,0: 59:[61, 85] Operation: 53+32=85 Exploring Operation: 32+61=93, Resulting Numbers: [53, 93] Generated Node #0,0,1: 59:[53, 93] Operation: 32+61=93 Exploring Operation: 61-32=29, Resulting Numbers: [53, 29] Generated Node #0,0,2: 59:[53, 29] Operation: 61-32=29 Exploring Operation: 53-32=21, Resulting Numbers: [61, 21] Generated Node #0,0,3: 59:[61, 21] Operation: 53-32=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[61, 85], Operations: ['67-6=61', '53+32=85'] Exploring Operation: 61+85=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 85-61=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 61*85=5185, Resulting Numbers: [5185] 5185,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[53, 29], Operations: ['67-6=61', '61-32=29'] Exploring Operation: 53*29=1537, Resulting Numbers: [1537] 1537,59 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[53, 93], Operations: ['67-6=61', '32+61=93'] Exploring Operation: 53*93=4929, Resulting Numbers: [4929] 4929,59 unequal: No Solution Exploring Operation: 93-53=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 53+93=146, Resulting Numbers: [146] 146,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[61, 21], Operations: ['67-6=61', '53-32=21'] Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 61+21=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 61*21=1281, Resulting Numbers: [1281] 1281,59 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: 59:[53, 67, 38], Operations: ['32+6=38'] Exploring Operation: 53+38=91, Resulting Numbers: [67, 91] Generated Node #0,3,0: 59:[67, 91] Operation: 53+38=91 Exploring Operation: 67+38=105, Resulting Numbers: [53, 105] Generated Node #0,3,1: 59:[53, 105] Operation: 67+38=105 Exploring Operation: 67-38=29, Resulting Numbers: [53, 29] Generated Node #0,3,2: 59:[53, 29] Operation: 67-38=29 Exploring Operation: 53-38=15, Resulting Numbers: [67, 15] Generated Node #0,3,3: 59:[67, 15] Operation: 53-38=15 Moving to Node #0,1 Current State: 59:[32, 67, 59], Operations: ['53+6=59'] Exploring Operation: 67-32=35, Resulting Numbers: [59, 35] Generated Node #0,1,0: 59:[59, 35] Operation: 67-32=35 Exploring Operation: 32+67=99, Resulting Numbers: [59, 99] Generated Node #0,1,1: 59:[59, 99] Operation: 32+67=99 Exploring Operation: 32+59=91, Resulting Numbers: [67, 91] Generated Node #0,1,2: 59:[67, 91] Operation: 32+59=91 Exploring Operation: 59-32=27, Resulting Numbers: [67, 27] Generated Node #0,1,3: 59:[67, 27] Operation: 59-32=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[59, 35], Operations: ['53+6=59', '67-32=35'] Exploring Operation: 59*35=2065, Resulting Numbers: [2065] 2065,59 unequal: No Solution Exploring Operation: 59+35=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[59, 99], Operations: ['53+6=59', '32+67=99'] Exploring Operation: 59+99=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 99-59=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 59*99=5841, Resulting Numbers: [5841] 5841,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[67, 91], Operations: ['53+6=59', '32+59=91'] Exploring Operation: 67*91=6097, Resulting Numbers: [6097] 6097,59 unequal: No Solution Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 67+91=158, Resulting Numbers: [158] 158,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[67, 27], Operations: ['53+6=59', '59-32=27'] Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 67*27=1809, Resulting Numbers: [1809] 1809,59 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: 59:[32, 67, 47], Operations: ['53-6=47'] Exploring Operation: 32+47=79, Resulting Numbers: [67, 79] Generated Node #0,2,0: 59:[67, 79] Operation: 32+47=79 Exploring Operation: 32+67=99, Resulting Numbers: [47, 99] Generated Node #0,2,1: 59:[47, 99] Operation: 32+67=99 Exploring Operation: 47-32=15, Resulting Numbers: [67, 15] Generated Node #0,2,2: 59:[67, 15] Operation: 47-32=15 Exploring Operation: 67-32=35, Resulting Numbers: [47, 35] Generated Node #0,2,3: 59:[47, 35] Operation: 67-32=35 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[67, 79], Operations: ['53-6=47', '32+47=79'] Exploring Operation: 67*79=5293, Resulting Numbers: [5293] 5293,59 unequal: No Solution Exploring Operation: 67+79=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 79-67=12, Resulting Numbers: [12] 12,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[47, 35], Operations: ['53-6=47', '67-32=35'] Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[47, 99], Operations: ['53-6=47', '32+67=99'] Exploring Operation: 47+99=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 47*99=4653, Resulting Numbers: [4653] 4653,59 unequal: No Solution Exploring Operation: 99-47=52, Resulting Numbers: [52] 52,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[67, 15], Operations: ['53-6=47', '47-32=15'] Exploring Operation: 67*15=1005, Resulting Numbers: [1005] 1005,59 unequal: No Solution Exploring Operation: 67+15=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 59:[53, 29], Operations: ['32+6=38', '67-38=29'] Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 53*29=1537, Resulting Numbers: [1537] 1537,59 unequal: No Solution Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[67, 91], Operations: ['32+6=38', '53+38=91'] Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 67+91=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 67*91=6097, Resulting Numbers: [6097] 6097,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[67, 15], Operations: ['32+6=38', '53-38=15'] Exploring Operation: 67*15=1005, Resulting Numbers: [1005] 1005,59 unequal: No Solution Exploring Operation: 67+15=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[53, 105], Operations: ['32+6=38', '67+38=105'] Exploring Operation: 53*105=5565, Resulting Numbers: [5565] 5565,59 unequal: No Solution Exploring Operation: 53+105=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 105-53=52, Resulting Numbers: [52] 52,59 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 69, 48, 17, 41 ]
37
[ "69-48=21", "17+41=58", "58-21=37" ]
Current State: 37:[69, 48, 17, 41], Operations: [] Exploring Operation: 69-48=21, Resulting Numbers: [17, 41, 21] Generated Node #2: [17, 41, 21] from Operation: 69-48=21 Current State: 37:[17, 41, 21], Operations: ['69-48=21'] Exploring Operation: 17+41=58, Resulting Numbers: [21, 58] Generated Node #3: [21, 58] from Operation: 17+41=58 Current State: 37:[21, 58], Operations: ['69-48=21', '17+41=58'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[69, 48, 17, 41], Operations: [] Exploring Operation: 69-41=28, Resulting Numbers: [48, 17, 28] Generated Node #0,0: 37:[48, 17, 28] Operation: 69-41=28 Exploring Operation: 69-17=52, Resulting Numbers: [48, 41, 52] Generated Node #0,1: 37:[48, 41, 52] Operation: 69-17=52 Exploring Operation: 48-17=31, Resulting Numbers: [69, 41, 31] Generated Node #0,2: 37:[69, 41, 31] Operation: 48-17=31 Exploring Operation: 69-48=21, Resulting Numbers: [17, 41, 21] Generated Node #0,3: 37:[17, 41, 21] Operation: 69-48=21 Exploring Operation: 41-17=24, Resulting Numbers: [69, 48, 24] Generated Node #0,4: 37:[69, 48, 24] Operation: 41-17=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[48, 41, 52], Operations: ['69-17=52'] Exploring Operation: 48+41=89, Resulting Numbers: [52, 89] Generated Node #0,1,0: 37:[52, 89] Operation: 48+41=89 Exploring Operation: 52-48=4, Resulting Numbers: [41, 4] Generated Node #0,1,1: 37:[41, 4] Operation: 52-48=4 Exploring Operation: 48+52=100, Resulting Numbers: [41, 100] Generated Node #0,1,2: 37:[41, 100] Operation: 48+52=100 Exploring Operation: 52-41=11, Resulting Numbers: [48, 11] Generated Node #0,1,3: 37:[48, 11] Operation: 52-41=11 Exploring Operation: 48-41=7, Resulting Numbers: [52, 7] Generated Node #0,1,4: 37:[52, 7] Operation: 48-41=7 Moving to Node #0,1,1 Current State: 37:[41, 4], Operations: ['69-17=52', '52-48=4'] Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,37 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[69, 48, 17, 41], Operations: [] Exploring Operation: 69-17=52, Resulting Numbers: [48, 41, 52] Generated Node #0,1: 37:[48, 41, 52] Operation: 69-17=52 Moving to Node #0,1 Current State: 37:[48, 41, 52], Operations: ['69-17=52'] Exploring Operation: 52-48=4, Resulting Numbers: [41, 4] Generated Node #0,1,1: 37:[41, 4] Operation: 52-48=4 Moving to Node #0,1,1 Current State: 37:[41, 4], Operations: ['69-17=52', '52-48=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 99, 48, 45, 9 ]
96
[ "99-9=90", "48*90=4320", "4320/45=96" ]
Current State: 96:[99, 48, 45, 9], Operations: [] Exploring Operation: 99-9=90, Resulting Numbers: [48, 45, 90] Generated Node #2: [48, 45, 90] from Operation: 99-9=90 Current State: 96:[48, 45, 90], Operations: ['99-9=90'] Exploring Operation: 48*90=4320, Resulting Numbers: [45, 4320] Generated Node #3: [45, 4320] from Operation: 48*90=4320 Current State: 96:[45, 4320], Operations: ['99-9=90', '48*90=4320'] Exploring Operation: 4320/45=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[99, 48, 45, 9], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [99, 9, 3] Generated Node #0,0: 96:[99, 9, 3] Operation: 48-45=3 Exploring Operation: 45/9=5, Resulting Numbers: [99, 48, 5] Generated Node #0,1: 96:[99, 48, 5] Operation: 45/9=5 Exploring Operation: 99/9=11, Resulting Numbers: [48, 45, 11] Generated Node #0,2: 96:[48, 45, 11] Operation: 99/9=11 Exploring Operation: 99-48=51, Resulting Numbers: [45, 9, 51] Generated Node #0,3: 96:[45, 9, 51] Operation: 99-48=51 Moving to Node #0,0 Current State: 96:[99, 9, 3], Operations: ['48-45=3'] Exploring Operation: 99/3=33, Resulting Numbers: [9, 33] Generated Node #0,0,0: 96:[9, 33] Operation: 99/3=33 Exploring Operation: 9+3=12, Resulting Numbers: [99, 12] Generated Node #0,0,1: 96:[99, 12] Operation: 9+3=12 Exploring Operation: 99/9=11, Resulting Numbers: [3, 11] Generated Node #0,0,2: 96:[3, 11] Operation: 99/9=11 Exploring Operation: 99-3=96, Resulting Numbers: [9, 96] Generated Node #0,0,3: 96:[9, 96] Operation: 99-3=96 Moving to Node #0,2 Current State: 96:[48, 45, 11], Operations: ['99/9=11'] Exploring Operation: 48-11=37, Resulting Numbers: [45, 37] Generated Node #0,2,0: 96:[45, 37] Operation: 48-11=37 Exploring Operation: 48-45=3, Resulting Numbers: [11, 3] Generated Node #0,2,1: 96:[11, 3] Operation: 48-45=3 Exploring Operation: 48+45=93, Resulting Numbers: [11, 93] Generated Node #0,2,2: 96:[11, 93] Operation: 48+45=93 Exploring Operation: 45-11=34, Resulting Numbers: [48, 34] Generated Node #0,2,3: 96:[48, 34] Operation: 45-11=34 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[11, 3], Operations: ['99/9=11', '48-45=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,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,2,3 Current State: 96:[48, 34], Operations: ['99/9=11', '45-11=34'] Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,96 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,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,2,2 Current State: 96:[11, 93], Operations: ['99/9=11', '48+45=93'] Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,96 unequal: No Solution Exploring Operation: 11+93=104, Resulting Numbers: [104] 104,96 unequal: No Solution Exploring Operation: 11*93=1023, Resulting Numbers: [1023] 1023,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,2,0 Current State: 96:[45, 37], Operations: ['99/9=11', '48-11=37'] Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 45*37=1665, Resulting Numbers: [1665] 1665,96 unequal: No Solution Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,96 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: 96:[99, 48, 5], Operations: ['45/9=5'] Exploring Operation: 99-5=94, Resulting Numbers: [48, 94] Generated Node #0,1,0: 96:[48, 94] Operation: 99-5=94 Exploring Operation: 99+5=104, Resulting Numbers: [48, 104] Generated Node #0,1,1: 96:[48, 104] Operation: 99+5=104 Exploring Operation: 99-48=51, Resulting Numbers: [5, 51] Generated Node #0,1,2: 96:[5, 51] Operation: 99-48=51 Exploring Operation: 48+5=53, Resulting Numbers: [99, 53] Generated Node #0,1,3: 96:[99, 53] Operation: 48+5=53 Moving to Node #0,3 Current State: 96:[45, 9, 51], Operations: ['99-48=51'] Exploring Operation: 45-9=36, Resulting Numbers: [51, 36] Generated Node #0,3,0: 96:[51, 36] Operation: 45-9=36 Exploring Operation: 45/9=5, Resulting Numbers: [51, 5] Generated Node #0,3,1: 96:[51, 5] Operation: 45/9=5 Exploring Operation: 45+51=96, Resulting Numbers: [9, 96] Generated Node #0,3,2: 96:[9, 96] Operation: 45+51=96 Exploring Operation: 51-45=6, Resulting Numbers: [9, 6] Generated Node #0,3,3: 96:[9, 6] Operation: 51-45=6 Moving to Node #0,0,2 Current State: 96:[3, 11], Operations: ['48-45=3', '99/9=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,96 unequal: No Solution Moving to Node #0,0,3 Current State: 96:[9, 96], Operations: ['48-45=3', '99-3=96'] Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 9*96=864, Resulting Numbers: [864] 864,96 unequal: No Solution Exploring Operation: 9+96=105, Resulting Numbers: [105] 105,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[9, 6], Operations: ['99-48=51', '51-45=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[9, 96], Operations: ['99-48=51', '45+51=96'] Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 9+96=105, Resulting Numbers: [105] 105,96 unequal: No Solution Exploring Operation: 9*96=864, Resulting Numbers: [864] 864,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[9, 33], Operations: ['48-45=3', '99/3=33'] Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,96 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[48, 94], Operations: ['45/9=5', '99-5=94'] Exploring Operation: 48*94=4512, Resulting Numbers: [4512] 4512,96 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 48+94=142, Resulting Numbers: [142] 142,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[99, 12], Operations: ['48-45=3', '9+3=12'] Exploring Operation: 99*12=1188, Resulting Numbers: [1188] 1188,96 unequal: No Solution Exploring Operation: 99+12=111, Resulting Numbers: [111] 111,96 unequal: No Solution Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[5, 51], Operations: ['45/9=5', '99-48=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,96 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[51, 5], Operations: ['99-48=51', '45/9=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[51, 36], Operations: ['99-48=51', '45-9=36'] Exploring Operation: 51*36=1836, Resulting Numbers: [1836] 1836,96 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[99, 53], Operations: ['45/9=5', '48+5=53'] Exploring Operation: 99-53=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 99+53=152, Resulting Numbers: [152] 152,96 unequal: No Solution Exploring Operation: 99*53=5247, Resulting Numbers: [5247] 5247,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[48, 104], Operations: ['45/9=5', '99+5=104'] Exploring Operation: 48*104=4992, Resulting Numbers: [4992] 4992,96 unequal: No Solution Exploring Operation: 104-48=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 48+104=152, Resulting Numbers: [152] 152,96 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 56, 80, 1, 62 ]
86
[ "80-56=24", "1*62=62", "24+62=86" ]
Current State: 86:[56, 80, 1, 62], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [1, 62, 24] Generated Node #2: [1, 62, 24] from Operation: 80-56=24 Current State: 86:[1, 62, 24], Operations: ['80-56=24'] Exploring Operation: 1*62=62, Resulting Numbers: [24, 62] Generated Node #3: [24, 62] from Operation: 1*62=62 Current State: 86:[24, 62], Operations: ['80-56=24', '1*62=62'] Exploring Operation: 24+62=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[56, 80, 1, 62], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [80, 1, 6] Generated Node #0,0: 86:[80, 1, 6] Operation: 62-56=6 Moving to Node #0,0 Current State: 86:[80, 1, 6], Operations: ['62-56=6'] Exploring Operation: 80+6=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 86:[1, 86] Operation: 80+6=86 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[1, 86], Operations: ['62-56=6', '80+6=86'] Exploring Operation: 1*86=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[56, 80, 1, 62], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [80, 1, 6] Generated Node #0,0: 86:[80, 1, 6] Operation: 62-56=6 Moving to Node #0,0 Current State: 86:[80, 1, 6], Operations: ['62-56=6'] Exploring Operation: 80+6=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 86:[1, 86] Operation: 80+6=86 Moving to Node #0,0,0 Current State: 86:[1, 86], Operations: ['62-56=6', '80+6=86'] Exploring Operation: 1*86=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 94, 17, 91, 81 ]
61
[ "94+17=111", "91+81=172", "172-111=61" ]
Current State: 61:[94, 17, 91, 81], Operations: [] Exploring Operation: 94+17=111, Resulting Numbers: [91, 81, 111] Generated Node #2: [91, 81, 111] from Operation: 94+17=111 Current State: 61:[91, 81, 111], Operations: ['94+17=111'] Exploring Operation: 91+81=172, Resulting Numbers: [111, 172] Generated Node #3: [111, 172] from Operation: 91+81=172 Current State: 61:[111, 172], Operations: ['94+17=111', '91+81=172'] Exploring Operation: 172-111=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[94, 17, 91, 81], Operations: [] Exploring Operation: 94-17=77, Resulting Numbers: [91, 81, 77] Generated Node #0,0: 61:[91, 81, 77] Operation: 94-17=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[91, 81, 77], Operations: ['94-17=77'] Exploring Operation: 91-81=10, Resulting Numbers: [77, 10] Generated Node #0,0,0: 61:[77, 10] Operation: 91-81=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[77, 10], Operations: ['94-17=77', '91-81=10'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,61 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
[ 14, 28, 56, 39 ]
11
[ "28/14=2", "56/2=28", "39-28=11" ]
Current State: 11:[14, 28, 56, 39], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [56, 39, 2] Generated Node #2: [56, 39, 2] from Operation: 28/14=2 Current State: 11:[56, 39, 2], Operations: ['28/14=2'] Exploring Operation: 56/2=28, Resulting Numbers: [39, 28] Generated Node #3: [39, 28] from Operation: 56/2=28 Current State: 11:[39, 28], Operations: ['28/14=2', '56/2=28'] Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[14, 28, 56, 39], Operations: [] Exploring Operation: 56-28=28, Resulting Numbers: [14, 39, 28] Generated Node #0,0: 11:[14, 39, 28] Operation: 56-28=28 Exploring Operation: 39-28=11, Resulting Numbers: [14, 56, 11] Generated Node #0,1: 11:[14, 56, 11] Operation: 39-28=11 Exploring Operation: 56-39=17, Resulting Numbers: [14, 28, 17] Generated Node #0,2: 11:[14, 28, 17] Operation: 56-39=17 Exploring Operation: 56/28=2, Resulting Numbers: [14, 39, 2] Generated Node #0,3: 11:[14, 39, 2] Operation: 56/28=2 Moving to Node #0,2 Current State: 11:[14, 28, 17], Operations: ['56-39=17'] Exploring Operation: 28-14=14, Resulting Numbers: [17, 14] Generated Node #0,2,0: 11:[17, 14] Operation: 28-14=14 Exploring Operation: 28-17=11, Resulting Numbers: [14, 11] Generated Node #0,2,1: 11:[14, 11] Operation: 28-17=11 Exploring Operation: 17-14=3, Resulting Numbers: [28, 3] Generated Node #0,2,2: 11:[28, 3] Operation: 17-14=3 Exploring Operation: 28/14=2, Resulting Numbers: [17, 2] Generated Node #0,2,3: 11:[17, 2] Operation: 28/14=2 Moving to Node #0,3 Current State: 11:[14, 39, 2], Operations: ['56/28=2'] Exploring Operation: 39-2=37, Resulting Numbers: [14, 37] Generated Node #0,3,0: 11:[14, 37] Operation: 39-2=37 Exploring Operation: 14-2=12, Resulting Numbers: [39, 12] Generated Node #0,3,1: 11:[39, 12] Operation: 14-2=12 Exploring Operation: 14/2=7, Resulting Numbers: [39, 7] Generated Node #0,3,2: 11:[39, 7] Operation: 14/2=7 Exploring Operation: 39-14=25, Resulting Numbers: [2, 25] Generated Node #0,3,3: 11:[2, 25] Operation: 39-14=25 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[2, 25], Operations: ['56/28=2', '39-14=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[14, 37], Operations: ['56/28=2', '39-2=37'] Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,11 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[39, 12], Operations: ['56/28=2', '14-2=12'] Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 39*12=468, Resulting Numbers: [468] 468,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[39, 7], Operations: ['56/28=2', '14/2=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,11 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 11:[14, 56, 11], Operations: ['39-28=11'] Exploring Operation: 56-14=42, Resulting Numbers: [11, 42] Generated Node #0,1,0: 11:[11, 42] Operation: 56-14=42 Exploring Operation: 56/14=4, Resulting Numbers: [11, 4] Generated Node #0,1,1: 11:[11, 4] Operation: 56/14=4 Exploring Operation: 14-11=3, Resulting Numbers: [56, 3] Generated Node #0,1,2: 11:[56, 3] Operation: 14-11=3 Exploring Operation: 56-11=45, Resulting Numbers: [14, 45] Generated Node #0,1,3: 11:[14, 45] Operation: 56-11=45 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[11, 4], Operations: ['39-28=11', '56/14=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,11 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,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:[11, 42], Operations: ['39-28=11', '56-14=42'] Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,11 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,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:[14, 45], Operations: ['39-28=11', '56-11=45'] Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,11 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,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:[56, 3], Operations: ['39-28=11', '14-11=3'] Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 11:[14, 39, 28], Operations: ['56-28=28'] Exploring Operation: 39-14=25, Resulting Numbers: [28, 25] Generated Node #0,0,0: 11:[28, 25] Operation: 39-14=25 Exploring Operation: 28/14=2, Resulting Numbers: [39, 2] Generated Node #0,0,1: 11:[39, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [39, 14] Generated Node #0,0,2: 11:[39, 14] Operation: 28-14=14 Exploring Operation: 39-28=11, Resulting Numbers: [14, 11] Generated Node #0,0,3: 11:[14, 11] Operation: 39-28=11 Moving to Node #0,2,1 Current State: 11:[14, 11], Operations: ['56-39=17', '28-17=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,11 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[14, 11], Operations: ['56-28=28', '39-28=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,11 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[17, 14], Operations: ['56-39=17', '28-14=14'] Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,11 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[17, 2], Operations: ['56-39=17', '28/14=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,11 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[28, 3], Operations: ['56-39=17', '17-14=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,11 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[28, 25], Operations: ['56-28=28', '39-14=25'] Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[39, 14], Operations: ['56-28=28', '28-14=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[39, 2], Operations: ['56-28=28', '28/14=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,11 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,11 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 31, 87, 49, 2 ]
77
[ "87-31=56", "56/2=28", "49+28=77" ]
Current State: 77:[31, 87, 49, 2], Operations: [] Exploring Operation: 87-31=56, Resulting Numbers: [49, 2, 56] Generated Node #2: [49, 2, 56] from Operation: 87-31=56 Current State: 77:[49, 2, 56], Operations: ['87-31=56'] Exploring Operation: 56/2=28, Resulting Numbers: [49, 28] Generated Node #3: [49, 28] from Operation: 56/2=28 Current State: 77:[49, 28], Operations: ['87-31=56', '56/2=28'] Exploring Operation: 49+28=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[31, 87, 49, 2], Operations: [] Exploring Operation: 49-31=18, Resulting Numbers: [87, 2, 18] Generated Node #0,0: 77:[87, 2, 18] Operation: 49-31=18 Exploring Operation: 49*2=98, Resulting Numbers: [31, 87, 98] Generated Node #0,1: 77:[31, 87, 98] Operation: 49*2=98 Exploring Operation: 31*2=62, Resulting Numbers: [87, 49, 62] Generated Node #0,2: 77:[87, 49, 62] Operation: 31*2=62 Exploring Operation: 31+49=80, Resulting Numbers: [87, 2, 80] Generated Node #0,3: 77:[87, 2, 80] Operation: 31+49=80 Exploring Operation: 87-49=38, Resulting Numbers: [31, 2, 38] Generated Node #0,4: 77:[31, 2, 38] Operation: 87-49=38 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[87, 2, 80], Operations: ['31+49=80'] Exploring Operation: 80-2=78, Resulting Numbers: [87, 78] Generated Node #0,3,0: 77:[87, 78] Operation: 80-2=78 Exploring Operation: 87+2=89, Resulting Numbers: [80, 89] Generated Node #0,3,1: 77:[80, 89] Operation: 87+2=89 Exploring Operation: 2+80=82, Resulting Numbers: [87, 82] Generated Node #0,3,2: 77:[87, 82] Operation: 2+80=82 Exploring Operation: 87-80=7, Resulting Numbers: [2, 7] Generated Node #0,3,3: 77:[2, 7] Operation: 87-80=7 Exploring Operation: 87-2=85, Resulting Numbers: [80, 85] Generated Node #0,3,4: 77:[80, 85] Operation: 87-2=85 Moving to Node #0,3,3 Current State: 77:[2, 7], Operations: ['31+49=80', '87-80=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[80, 85], Operations: ['31+49=80', '87-2=85'] Exploring Operation: 80*85=6800, Resulting Numbers: [6800] 6800,77 unequal: No Solution Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 80+85=165, Resulting Numbers: [165] 165,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[87, 78], Operations: ['31+49=80', '80-2=78'] Exploring Operation: 87+78=165, Resulting Numbers: [165] 165,77 unequal: No Solution Exploring Operation: 87*78=6786, Resulting Numbers: [6786] 6786,77 unequal: No Solution Exploring Operation: 87-78=9, Resulting Numbers: [9] 9,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[80, 89], Operations: ['31+49=80', '87+2=89'] Exploring Operation: 89-80=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 80+89=169, Resulting Numbers: [169] 169,77 unequal: No Solution Exploring Operation: 80*89=7120, Resulting Numbers: [7120] 7120,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[87, 82], Operations: ['31+49=80', '2+80=82'] Exploring Operation: 87*82=7134, Resulting Numbers: [7134] 7134,77 unequal: No Solution Exploring Operation: 87-82=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 87+82=169, Resulting Numbers: [169] 169,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[87, 2, 18], Operations: ['49-31=18'] Exploring Operation: 87-18=69, Resulting Numbers: [2, 69] Generated Node #0,0,0: 77:[2, 69] Operation: 87-18=69 Exploring Operation: 87-2=85, Resulting Numbers: [18, 85] Generated Node #0,0,1: 77:[18, 85] Operation: 87-2=85 Exploring Operation: 18-2=16, Resulting Numbers: [87, 16] Generated Node #0,0,2: 77:[87, 16] Operation: 18-2=16 Exploring Operation: 18/2=9, Resulting Numbers: [87, 9] Generated Node #0,0,3: 77:[87, 9] Operation: 18/2=9 Exploring Operation: 87+2=89, Resulting Numbers: [18, 89] Generated Node #0,0,4: 77:[18, 89] Operation: 87+2=89 Moving to Node #0,0,3 Current State: 77:[87, 9], Operations: ['49-31=18', '18/2=9'] Exploring Operation: 87+9=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 87*9=783, Resulting Numbers: [783] 783,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[2, 69], Operations: ['49-31=18', '87-18=69'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,77 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[18, 85], Operations: ['49-31=18', '87-2=85'] Exploring Operation: 18*85=1530, Resulting Numbers: [1530] 1530,77 unequal: No Solution Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 18+85=103, Resulting Numbers: [103] 103,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[87, 16], Operations: ['49-31=18', '18-2=16'] Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,77 unequal: No Solution Exploring Operation: 87+16=103, Resulting Numbers: [103] 103,77 unequal: No Solution Exploring Operation: 87*16=1392, Resulting Numbers: [1392] 1392,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[18, 89], Operations: ['49-31=18', '87+2=89'] Exploring Operation: 18*89=1602, Resulting Numbers: [1602] 1602,77 unequal: No Solution Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,77 unequal: No Solution Exploring Operation: 18+89=107, Resulting Numbers: [107] 107,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[31, 87, 98], Operations: ['49*2=98'] Exploring Operation: 31+87=118, Resulting Numbers: [98, 118] Generated Node #0,1,0: 77:[98, 118] Operation: 31+87=118 Exploring Operation: 31+98=129, Resulting Numbers: [87, 129] Generated Node #0,1,1: 77:[87, 129] Operation: 31+98=129 Exploring Operation: 98-31=67, Resulting Numbers: [87, 67] Generated Node #0,1,2: 77:[87, 67] Operation: 98-31=67 Exploring Operation: 98-87=11, Resulting Numbers: [31, 11] Generated Node #0,1,3: 77:[31, 11] Operation: 98-87=11 Exploring Operation: 87-31=56, Resulting Numbers: [98, 56] Generated Node #0,1,4: 77:[98, 56] Operation: 87-31=56 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 77:[87, 67], Operations: ['49*2=98', '98-31=67'] Exploring Operation: 87+67=154, Resulting Numbers: [154] 154,77 unequal: No Solution Exploring Operation: 87-67=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 87*67=5829, Resulting Numbers: [5829] 5829,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 77:[31, 11], Operations: ['49*2=98', '98-87=11'] Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,77 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 77:[98, 56], Operations: ['49*2=98', '87-31=56'] Exploring Operation: 98*56=5488, Resulting Numbers: [5488] 5488,77 unequal: No Solution Exploring Operation: 98-56=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 98+56=154, Resulting Numbers: [154] 154,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[98, 118], Operations: ['49*2=98', '31+87=118'] Exploring Operation: 98*118=11564, Resulting Numbers: [11564] 11564,77 unequal: No Solution Exploring Operation: 98+118=216, Resulting Numbers: [216] 216,77 unequal: No Solution Exploring Operation: 118-98=20, Resulting Numbers: [20] 20,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[87, 129], Operations: ['49*2=98', '31+98=129'] Exploring Operation: 87*129=11223, Resulting Numbers: [11223] 11223,77 unequal: No Solution Exploring Operation: 129-87=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 87+129=216, Resulting Numbers: [216] 216,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 77:[31, 2, 38], Operations: ['87-49=38'] Exploring Operation: 38/2=19, Resulting Numbers: [31, 19] Generated Node #0,4,0: 77:[31, 19] Operation: 38/2=19 Exploring Operation: 31*2=62, Resulting Numbers: [38, 62] Generated Node #0,4,1: 77:[38, 62] Operation: 31*2=62 Exploring Operation: 2*38=76, Resulting Numbers: [31, 76] Generated Node #0,4,2: 77:[31, 76] Operation: 2*38=76 Exploring Operation: 38-31=7, Resulting Numbers: [2, 7] Generated Node #0,4,3: 77:[2, 7] Operation: 38-31=7 Exploring Operation: 31+38=69, Resulting Numbers: [2, 69] Generated Node #0,4,4: 77:[2, 69] Operation: 31+38=69 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 77:[2, 7], Operations: ['87-49=38', '38-31=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 77:[2, 69], Operations: ['87-49=38', '31+38=69'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,77 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 77:[31, 76], Operations: ['87-49=38', '2*38=76'] Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,77 unequal: No Solution Exploring Operation: 31*76=2356, Resulting Numbers: [2356] 2356,77 unequal: No Solution Exploring Operation: 31+76=107, Resulting Numbers: [107] 107,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 77:[31, 19], Operations: ['87-49=38', '38/2=19'] Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,77 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 77:[38, 62], Operations: ['87-49=38', '31*2=62'] Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,77 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[87, 49, 62], Operations: ['31*2=62'] Exploring Operation: 87-49=38, Resulting Numbers: [62, 38] Generated Node #0,2,0: 77:[62, 38] Operation: 87-49=38 Exploring Operation: 87-62=25, Resulting Numbers: [49, 25] Generated Node #0,2,1: 77:[49, 25] Operation: 87-62=25 Exploring Operation: 87+49=136, Resulting Numbers: [62, 136] Generated Node #0,2,2: 77:[62, 136] Operation: 87+49=136 Exploring Operation: 62-49=13, Resulting Numbers: [87, 13] Generated Node #0,2,3: 77:[87, 13] Operation: 62-49=13 Exploring Operation: 49+62=111, Resulting Numbers: [87, 111] Generated Node #0,2,4: 77:[87, 111] Operation: 49+62=111 Moving to Node #0,2,3 Current State: 77:[87, 13], Operations: ['31*2=62', '62-49=13'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 87*13=1131, Resulting Numbers: [1131] 1131,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[49, 25], Operations: ['31*2=62', '87-62=25'] Exploring Operation: 49*25=1225, Resulting Numbers: [1225] 1225,77 unequal: No Solution Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[62, 38], Operations: ['31*2=62', '87-49=38'] Exploring Operation: 62+38=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 62*38=2356, Resulting Numbers: [2356] 2356,77 unequal: No Solution Moving to Node #0,2,4 Current State: 77:[87, 111], Operations: ['31*2=62', '49+62=111'] Exploring Operation: 87*111=9657, Resulting Numbers: [9657] 9657,77 unequal: No Solution Exploring Operation: 111-87=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 87+111=198, Resulting Numbers: [198] 198,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[62, 136], Operations: ['31*2=62', '87+49=136'] Exploring Operation: 62+136=198, Resulting Numbers: [198] 198,77 unequal: No Solution Exploring Operation: 136-62=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 62*136=8432, Resulting Numbers: [8432] 8432,77 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
[ 68, 30, 27, 38 ]
75
[ "68+27=95", "30*95=2850", "2850/38=75" ]
Current State: 75:[68, 30, 27, 38], Operations: [] Exploring Operation: 68+27=95, Resulting Numbers: [30, 38, 95] Generated Node #2: [30, 38, 95] from Operation: 68+27=95 Current State: 75:[30, 38, 95], Operations: ['68+27=95'] Exploring Operation: 30*95=2850, Resulting Numbers: [38, 2850] Generated Node #3: [38, 2850] from Operation: 30*95=2850 Current State: 75:[38, 2850], Operations: ['68+27=95', '30*95=2850'] Exploring Operation: 2850/38=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[68, 30, 27, 38], Operations: [] Exploring Operation: 38-30=8, Resulting Numbers: [68, 27, 8] Generated Node #0,0: 75:[68, 27, 8] Operation: 38-30=8 Exploring Operation: 68-38=30, Resulting Numbers: [30, 27, 30] Generated Node #0,1: 75:[30, 27, 30] Operation: 68-38=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[68, 27, 8], Operations: ['38-30=8'] Exploring Operation: 68+8=76, Resulting Numbers: [27, 76] Generated Node #0,0,0: 75:[27, 76] Operation: 68+8=76 Exploring Operation: 27-8=19, Resulting Numbers: [68, 19] Generated Node #0,0,1: 75:[68, 19] Operation: 27-8=19 Moving to Node #0,0,0 Current State: 75:[27, 76], Operations: ['38-30=8', '68+8=76'] Exploring Operation: 27+76=103, Resulting Numbers: [103] 103,75 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[68, 19], Operations: ['38-30=8', '27-8=19'] Exploring Operation: 68-19=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 68+19=87, Resulting Numbers: [87] 87,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:[30, 27, 30], Operations: ['68-38=30'] Exploring Operation: 30/30=1, Resulting Numbers: [27, 1] Generated Node #0,1,0: 75:[27, 1] Operation: 30/30=1 Exploring Operation: 30-27=3, Resulting Numbers: [30, 3] Generated Node #0,1,1: 75:[30, 3] Operation: 30-27=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[27, 1], Operations: ['68-38=30', '30/30=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,75 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,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:[30, 3], Operations: ['68-38=30', '30-27=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 38, 63, 78, 44 ]
67
[ "38+63=101", "78-44=34", "101-34=67" ]
Current State: 67:[38, 63, 78, 44], Operations: [] Exploring Operation: 38+63=101, Resulting Numbers: [78, 44, 101] Generated Node #2: [78, 44, 101] from Operation: 38+63=101 Current State: 67:[78, 44, 101], Operations: ['38+63=101'] Exploring Operation: 78-44=34, Resulting Numbers: [101, 34] Generated Node #3: [101, 34] from Operation: 78-44=34 Current State: 67:[101, 34], Operations: ['38+63=101', '78-44=34'] Exploring Operation: 101-34=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[38, 63, 78, 44], Operations: [] Exploring Operation: 78-38=40, Resulting Numbers: [63, 44, 40] Generated Node #0,0: 67:[63, 44, 40] Operation: 78-38=40 Exploring Operation: 38+44=82, Resulting Numbers: [63, 78, 82] Generated Node #0,1: 67:[63, 78, 82] Operation: 38+44=82 Exploring Operation: 78-44=34, Resulting Numbers: [38, 63, 34] Generated Node #0,2: 67:[38, 63, 34] Operation: 78-44=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[63, 78, 82], Operations: ['38+44=82'] Exploring Operation: 78-63=15, Resulting Numbers: [82, 15] Generated Node #0,1,0: 67:[82, 15] Operation: 78-63=15 Exploring Operation: 82-63=19, Resulting Numbers: [78, 19] Generated Node #0,1,1: 67:[78, 19] Operation: 82-63=19 Exploring Operation: 82-78=4, Resulting Numbers: [63, 4] Generated Node #0,1,2: 67:[63, 4] Operation: 82-78=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[78, 19], Operations: ['38+44=82', '82-63=19'] Exploring Operation: 78*19=1482, Resulting Numbers: [1482] 1482,67 unequal: No Solution Exploring Operation: 78+19=97, Resulting Numbers: [97] 97,67 unequal: No Solution Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,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,1,0 Current State: 67:[82, 15], Operations: ['38+44=82', '78-63=15'] Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,67 unequal: No Solution Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,67 unequal: No Solution Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[38, 63, 78, 44], Operations: [] Exploring Operation: 38+44=82, Resulting Numbers: [63, 78, 82] Generated Node #0,1: 67:[63, 78, 82] Operation: 38+44=82 Moving to Node #0,1 Current State: 67:[63, 78, 82], Operations: ['38+44=82'] Exploring Operation: 78-63=15, Resulting Numbers: [82, 15] Generated Node #0,1,0: 67:[82, 15] Operation: 78-63=15 Moving to Node #0,1,0 Current State: 67:[82, 15], Operations: ['38+44=82', '78-63=15'] Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 70, 31, 90, 90 ]
79
[ "70+31=101", "90+90=180", "180-101=79" ]
Current State: 79:[70, 31, 90, 90], Operations: [] Exploring Operation: 70+31=101, Resulting Numbers: [90, 90, 101] Generated Node #2: [90, 90, 101] from Operation: 70+31=101 Current State: 79:[90, 90, 101], Operations: ['70+31=101'] Exploring Operation: 90+90=180, Resulting Numbers: [101, 180] Generated Node #3: [101, 180] from Operation: 90+90=180 Current State: 79:[101, 180], Operations: ['70+31=101', '90+90=180'] Exploring Operation: 180-101=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[70, 31, 90, 90], Operations: [] Exploring Operation: 90-31=59, Resulting Numbers: [70, 90, 59] Generated Node #0,0: 79:[70, 90, 59] Operation: 90-31=59 Exploring Operation: 31+90=121, Resulting Numbers: [70, 90, 121] Generated Node #0,1: 79:[70, 90, 121] Operation: 31+90=121 Exploring Operation: 70-31=39, Resulting Numbers: [90, 90, 39] Generated Node #0,2: 79:[90, 90, 39] Operation: 70-31=39 Exploring Operation: 90-31=59, Resulting Numbers: [70, 90, 59] Generated Node #0,3: 79:[70, 90, 59] Operation: 90-31=59 Exploring Operation: 70+31=101, Resulting Numbers: [90, 90, 101] Generated Node #0,4: 79:[90, 90, 101] Operation: 70+31=101 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[70, 90, 59], Operations: ['90-31=59'] Exploring Operation: 70+59=129, Resulting Numbers: [90, 129] Generated Node #0,0,0: 79:[90, 129] Operation: 70+59=129 Exploring Operation: 90+59=149, Resulting Numbers: [70, 149] Generated Node #0,0,1: 79:[70, 149] Operation: 90+59=149 Exploring Operation: 90-59=31, Resulting Numbers: [70, 31] Generated Node #0,0,2: 79:[70, 31] Operation: 90-59=31 Exploring Operation: 90-70=20, Resulting Numbers: [59, 20] Generated Node #0,0,3: 79:[59, 20] Operation: 90-70=20 Exploring Operation: 70-59=11, Resulting Numbers: [90, 11] Generated Node #0,0,4: 79:[90, 11] Operation: 70-59=11 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[70, 31], Operations: ['90-31=59', '90-59=31'] Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,79 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 70*31=2170, Resulting Numbers: [2170] 2170,79 unequal: No Solution No 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: 79:[90, 129], Operations: ['90-31=59', '70+59=129'] Exploring Operation: 90+129=219, Resulting Numbers: [219] 219,79 unequal: No Solution Exploring Operation: 129-90=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 90*129=11610, Resulting Numbers: [11610] 11610,79 unequal: No Solution No 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: 79:[70, 149], Operations: ['90-31=59', '90+59=149'] Exploring Operation: 149-70=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[70, 31, 90, 90], Operations: [] Exploring Operation: 90-31=59, Resulting Numbers: [70, 90, 59] Generated Node #0,0: 79:[70, 90, 59] Operation: 90-31=59 Moving to Node #0,0 Current State: 79:[70, 90, 59], Operations: ['90-31=59'] Exploring Operation: 90+59=149, Resulting Numbers: [70, 149] Generated Node #0,0,1: 79:[70, 149] Operation: 90+59=149 Moving to Node #0,0,1 Current State: 79:[70, 149], Operations: ['90-31=59', '90+59=149'] Exploring Operation: 149-70=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 31, 88, 68, 43 ]
94
[ "31+88=119", "68-43=25", "119-25=94" ]
Current State: 94:[31, 88, 68, 43], Operations: [] Exploring Operation: 31+88=119, Resulting Numbers: [68, 43, 119] Generated Node #2: [68, 43, 119] from Operation: 31+88=119 Current State: 94:[68, 43, 119], Operations: ['31+88=119'] Exploring Operation: 68-43=25, Resulting Numbers: [119, 25] Generated Node #3: [119, 25] from Operation: 68-43=25 Current State: 94:[119, 25], Operations: ['31+88=119', '68-43=25'] Exploring Operation: 119-25=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[31, 88, 68, 43], Operations: [] Exploring Operation: 88-31=57, Resulting Numbers: [68, 43, 57] Generated Node #0,0: 94:[68, 43, 57] Operation: 88-31=57 Exploring Operation: 43-31=12, Resulting Numbers: [88, 68, 12] Generated Node #0,1: 94:[88, 68, 12] Operation: 43-31=12 Exploring Operation: 88-68=20, Resulting Numbers: [31, 43, 20] Generated Node #0,2: 94:[31, 43, 20] Operation: 88-68=20 Exploring Operation: 31+68=99, Resulting Numbers: [88, 43, 99] Generated Node #0,3: 94:[88, 43, 99] Operation: 31+68=99 Exploring Operation: 68-31=37, Resulting Numbers: [88, 43, 37] Generated Node #0,4: 94:[88, 43, 37] Operation: 68-31=37 Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[88, 43, 99], Operations: ['31+68=99'] Exploring Operation: 99-88=11, Resulting Numbers: [43, 11] Generated Node #0,3,0: 94:[43, 11] Operation: 99-88=11 Exploring Operation: 88-43=45, Resulting Numbers: [99, 45] Generated Node #0,3,1: 94:[99, 45] Operation: 88-43=45 Exploring Operation: 88+43=131, Resulting Numbers: [99, 131] Generated Node #0,3,2: 94:[99, 131] Operation: 88+43=131 Exploring Operation: 43+99=142, Resulting Numbers: [88, 142] Generated Node #0,3,3: 94:[88, 142] Operation: 43+99=142 Exploring Operation: 99-43=56, Resulting Numbers: [88, 56] Generated Node #0,3,4: 94:[88, 56] Operation: 99-43=56 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 94:[99, 45], Operations: ['31+68=99', '88-43=45'] Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 99*45=4455, Resulting Numbers: [4455] 4455,94 unequal: No Solution Exploring Operation: 99+45=144, Resulting Numbers: [144] 144,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 94:[43, 11], Operations: ['31+68=99', '99-88=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,94 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 94:[88, 56], Operations: ['31+68=99', '99-43=56'] Exploring Operation: 88*56=4928, Resulting Numbers: [4928] 4928,94 unequal: No Solution Exploring Operation: 88+56=144, Resulting Numbers: [144] 144,94 unequal: No Solution Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 94:[99, 131], Operations: ['31+68=99', '88+43=131'] Exploring Operation: 99*131=12969, Resulting Numbers: [12969] 12969,94 unequal: No Solution Exploring Operation: 99+131=230, Resulting Numbers: [230] 230,94 unequal: No Solution Exploring Operation: 131-99=32, Resulting Numbers: [32] 32,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 94:[88, 142], Operations: ['31+68=99', '43+99=142'] Exploring Operation: 88+142=230, Resulting Numbers: [230] 230,94 unequal: No Solution Exploring Operation: 142-88=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 88*142=12496, Resulting Numbers: [12496] 12496,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 94:[88, 43, 37], Operations: ['68-31=37'] Exploring Operation: 88-43=45, Resulting Numbers: [37, 45] Generated Node #0,4,0: 94:[37, 45] Operation: 88-43=45 Exploring Operation: 43-37=6, Resulting Numbers: [88, 6] Generated Node #0,4,1: 94:[88, 6] Operation: 43-37=6 Exploring Operation: 88-37=51, Resulting Numbers: [43, 51] Generated Node #0,4,2: 94:[43, 51] Operation: 88-37=51 Exploring Operation: 43+37=80, Resulting Numbers: [88, 80] Generated Node #0,4,3: 94:[88, 80] Operation: 43+37=80 Exploring Operation: 88+37=125, Resulting Numbers: [43, 125] Generated Node #0,4,4: 94:[43, 125] Operation: 88+37=125 Moving to Node #0,4,2 Current State: 94:[43, 51], Operations: ['68-31=37', '88-37=51'] Exploring Operation: 43*51=2193, Resulting Numbers: [2193] 2193,94 unequal: No Solution Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[31, 88, 68, 43], Operations: [] Exploring Operation: 68-31=37, Resulting Numbers: [88, 43, 37] Generated Node #0,4: 94:[88, 43, 37] Operation: 68-31=37 Moving to Node #0,4 Current State: 94:[88, 43, 37], Operations: ['68-31=37'] Exploring Operation: 88-37=51, Resulting Numbers: [43, 51] Generated Node #0,4,2: 94:[43, 51] Operation: 88-37=51 Moving to Node #0,4,2 Current State: 94:[43, 51], Operations: ['68-31=37', '88-37=51'] Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 5, 38, 23, 98 ]
78
[ "5+38=43", "23+98=121", "121-43=78" ]
Current State: 78:[5, 38, 23, 98], Operations: [] Exploring Operation: 5+38=43, Resulting Numbers: [23, 98, 43] Generated Node #2: [23, 98, 43] from Operation: 5+38=43 Current State: 78:[23, 98, 43], Operations: ['5+38=43'] Exploring Operation: 23+98=121, Resulting Numbers: [43, 121] Generated Node #3: [43, 121] from Operation: 23+98=121 Current State: 78:[43, 121], Operations: ['5+38=43', '23+98=121'] Exploring Operation: 121-43=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[5, 38, 23, 98], Operations: [] Exploring Operation: 98-23=75, Resulting Numbers: [5, 38, 75] Generated Node #0,0: 78:[5, 38, 75] Operation: 98-23=75 Exploring Operation: 98-5=93, Resulting Numbers: [38, 23, 93] Generated Node #0,1: 78:[38, 23, 93] Operation: 98-5=93 Exploring Operation: 98-38=60, Resulting Numbers: [5, 23, 60] Generated Node #0,2: 78:[5, 23, 60] Operation: 98-38=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[5, 38, 75], Operations: ['98-23=75'] Exploring Operation: 75-38=37, Resulting Numbers: [5, 37] Generated Node #0,0,0: 78:[5, 37] Operation: 75-38=37 Exploring Operation: 5+75=80, Resulting Numbers: [38, 80] Generated Node #0,0,1: 78:[38, 80] Operation: 5+75=80 Exploring Operation: 75/5=15, Resulting Numbers: [38, 15] Generated Node #0,0,2: 78:[38, 15] Operation: 75/5=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[5, 37], Operations: ['98-23=75', '75-38=37'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,78 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,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,0,1 Current State: 78:[38, 80], Operations: ['98-23=75', '5+75=80'] Exploring Operation: 38*80=3040, Resulting Numbers: [3040] 3040,78 unequal: No Solution Exploring Operation: 38+80=118, Resulting Numbers: [118] 118,78 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,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,0,2 Current State: 78:[38, 15], Operations: ['98-23=75', '75/5=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,78 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,78 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: 78:[38, 23, 93], Operations: ['98-5=93'] Exploring Operation: 38-23=15, Resulting Numbers: [93, 15] Generated Node #0,1,0: 78:[93, 15] Operation: 38-23=15 Exploring Operation: 93-38=55, Resulting Numbers: [23, 55] Generated Node #0,1,1: 78:[23, 55] Operation: 93-38=55 Exploring Operation: 93-23=70, Resulting Numbers: [38, 70] Generated Node #0,1,2: 78:[38, 70] Operation: 93-23=70 Moving to Node #0,1,2 Current State: 78:[38, 70], Operations: ['98-5=93', '93-23=70'] Exploring Operation: 38*70=2660, Resulting Numbers: [2660] 2660,78 unequal: No Solution Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 38+70=108, Resulting Numbers: [108] 108,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[93, 15], Operations: ['98-5=93', '38-23=15'] Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[5, 38, 23, 98], Operations: [] Exploring Operation: 98-5=93, Resulting Numbers: [38, 23, 93] Generated Node #0,1: 78:[38, 23, 93] Operation: 98-5=93 Moving to Node #0,1 Current State: 78:[38, 23, 93], Operations: ['98-5=93'] Exploring Operation: 38-23=15, Resulting Numbers: [93, 15] Generated Node #0,1,0: 78:[93, 15] Operation: 38-23=15 Moving to Node #0,1,0 Current State: 78:[93, 15], Operations: ['98-5=93', '38-23=15'] Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 57, 2, 13, 53 ]
60
[ "57-53=4", "2+13=15", "4*15=60" ]
Current State: 60:[57, 2, 13, 53], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [2, 13, 4] Generated Node #2: [2, 13, 4] from Operation: 57-53=4 Current State: 60:[2, 13, 4], Operations: ['57-53=4'] Exploring Operation: 2+13=15, Resulting Numbers: [4, 15] Generated Node #3: [4, 15] from Operation: 2+13=15 Current State: 60:[4, 15], Operations: ['57-53=4', '2+13=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[57, 2, 13, 53], Operations: [] Exploring Operation: 57+2=59, Resulting Numbers: [13, 53, 59] Generated Node #0,0: 60:[13, 53, 59] Operation: 57+2=59 Exploring Operation: 57-53=4, Resulting Numbers: [2, 13, 4] Generated Node #0,1: 60:[2, 13, 4] Operation: 57-53=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[2, 13, 4], Operations: ['57-53=4'] Exploring Operation: 13-2=11, Resulting Numbers: [4, 11] Generated Node #0,1,0: 60:[4, 11] Operation: 13-2=11 Exploring Operation: 2+13=15, Resulting Numbers: [4, 15] Generated Node #0,1,1: 60:[4, 15] Operation: 2+13=15 Moving to Node #0,1,1 Current State: 60:[4, 15], Operations: ['57-53=4', '2+13=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[57, 2, 13, 53], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [2, 13, 4] Generated Node #0,1: 60:[2, 13, 4] Operation: 57-53=4 Moving to Node #0,1 Current State: 60:[2, 13, 4], Operations: ['57-53=4'] Exploring Operation: 2+13=15, Resulting Numbers: [4, 15] Generated Node #0,1,1: 60:[4, 15] Operation: 2+13=15 Moving to Node #0,1,1 Current State: 60:[4, 15], Operations: ['57-53=4', '2+13=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 50, 46, 44, 84 ]
17
[ "84-50=34", "46-44=2", "34/2=17" ]
Current State: 17:[50, 46, 44, 84], Operations: [] Exploring Operation: 84-50=34, Resulting Numbers: [46, 44, 34] Generated Node #2: [46, 44, 34] from Operation: 84-50=34 Current State: 17:[46, 44, 34], Operations: ['84-50=34'] Exploring Operation: 46-44=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 46-44=2 Current State: 17:[34, 2], Operations: ['84-50=34', '46-44=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[50, 46, 44, 84], Operations: [] Exploring Operation: 84-50=34, Resulting Numbers: [46, 44, 34] Generated Node #0,0: 17:[46, 44, 34] Operation: 84-50=34 Exploring Operation: 84-46=38, Resulting Numbers: [50, 44, 38] Generated Node #0,1: 17:[50, 44, 38] Operation: 84-46=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[46, 44, 34], Operations: ['84-50=34'] Exploring Operation: 46-44=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 17:[34, 2] Operation: 46-44=2 Exploring Operation: 46-34=12, Resulting Numbers: [44, 12] Generated Node #0,0,1: 17:[44, 12] Operation: 46-34=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[34, 2], Operations: ['84-50=34', '46-44=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[50, 46, 44, 84], Operations: [] Exploring Operation: 84-50=34, Resulting Numbers: [46, 44, 34] Generated Node #0,0: 17:[46, 44, 34] Operation: 84-50=34 Moving to Node #0,0 Current State: 17:[46, 44, 34], Operations: ['84-50=34'] Exploring Operation: 46-44=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 17:[34, 2] Operation: 46-44=2 Moving to Node #0,0,0 Current State: 17:[34, 2], Operations: ['84-50=34', '46-44=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 54, 45, 2, 52 ]
88
[ "54-52=2", "45*2=90", "90-2=88" ]
Current State: 88:[54, 45, 2, 52], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [45, 2, 2] Generated Node #2: [45, 2, 2] from Operation: 54-52=2 Current State: 88:[45, 2, 2], Operations: ['54-52=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,88 equal: Goal Reached Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[54, 45, 2, 52], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [45, 2, 2] Generated Node #0,0: 88:[45, 2, 2] Operation: 54-52=2 Exploring Operation: 54-45=9, Resulting Numbers: [2, 52, 9] Generated Node #0,1: 88:[2, 52, 9] Operation: 54-45=9 Moving to Node #0,0 Current State: 88:[45, 2, 2], Operations: ['54-52=2'] Exploring Operation: 45-2=43, Resulting Numbers: [2, 43] Generated Node #0,0,0: 88:[2, 43] Operation: 45-2=43 Exploring Operation: 45-2=43, Resulting Numbers: [2, 43] Generated Node #0,0,1: 88:[2, 43] Operation: 45-2=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[2, 43], Operations: ['54-52=2', '45-2=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,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:[2, 43], Operations: ['54-52=2', '45-2=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,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:[2, 52, 9], Operations: ['54-45=9'] Exploring Operation: 52-9=43, Resulting Numbers: [2, 43] Generated Node #0,1,0: 88:[2, 43] Operation: 52-9=43 Exploring Operation: 52/2=26, Resulting Numbers: [9, 26] Generated Node #0,1,1: 88:[9, 26] Operation: 52/2=26 Moving to Node #0,1,0 Current State: 88:[2, 43], Operations: ['54-45=9', '52-9=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[9, 26], Operations: ['54-45=9', '52/2=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,88 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 42, 32, 76, 39 ]
70
[ "39-32=7", "42/7=6", "76-6=70" ]
Current State: 70:[42, 32, 76, 39], Operations: [] Exploring Operation: 39-32=7, Resulting Numbers: [42, 76, 7] Generated Node #2: [42, 76, 7] from Operation: 39-32=7 Current State: 70:[42, 76, 7], Operations: ['39-32=7'] Exploring Operation: 42/7=6, Resulting Numbers: [76, 6] Generated Node #3: [76, 6] from Operation: 42/7=6 Current State: 70:[76, 6], Operations: ['39-32=7', '42/7=6'] Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[42, 32, 76, 39], Operations: [] Exploring Operation: 76-42=34, Resulting Numbers: [32, 39, 34] Generated Node #0,0: 70:[32, 39, 34] Operation: 76-42=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[32, 39, 34], Operations: ['76-42=34'] Exploring Operation: 39-32=7, Resulting Numbers: [34, 7] Generated Node #0,0,0: 70:[34, 7] Operation: 39-32=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[34, 7], Operations: ['76-42=34', '39-32=7'] Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 65, 73, 77, 86 ]
17
[ "73-65=8", "86-77=9", "8+9=17" ]
Current State: 17:[65, 73, 77, 86], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [77, 86, 8] Generated Node #2: [77, 86, 8] from Operation: 73-65=8 Current State: 17:[77, 86, 8], Operations: ['73-65=8'] Exploring Operation: 86-77=9, Resulting Numbers: [8, 9] Generated Node #3: [8, 9] from Operation: 86-77=9 Current State: 17:[8, 9], Operations: ['73-65=8', '86-77=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[65, 73, 77, 86], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [65, 77, 13] Generated Node #0,0: 17:[65, 77, 13] Operation: 86-73=13 Exploring Operation: 86-65=21, Resulting Numbers: [73, 77, 21] Generated Node #0,1: 17:[73, 77, 21] Operation: 86-65=21 Exploring Operation: 86-77=9, Resulting Numbers: [65, 73, 9] Generated Node #0,2: 17:[65, 73, 9] Operation: 86-77=9 Exploring Operation: 77-65=12, Resulting Numbers: [73, 86, 12] Generated Node #0,3: 17:[73, 86, 12] Operation: 77-65=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[65, 77, 13], Operations: ['86-73=13'] Exploring Operation: 65/13=5, Resulting Numbers: [77, 5] Generated Node #0,0,0: 17:[77, 5] Operation: 65/13=5 Exploring Operation: 65-13=52, Resulting Numbers: [77, 52] Generated Node #0,0,1: 17:[77, 52] Operation: 65-13=52 Exploring Operation: 77-13=64, Resulting Numbers: [65, 64] Generated Node #0,0,2: 17:[65, 64] Operation: 77-13=64 Exploring Operation: 77-65=12, Resulting Numbers: [13, 12] Generated Node #0,0,3: 17:[13, 12] Operation: 77-65=12 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 17:[13, 12], Operations: ['86-73=13', '77-65=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,17 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[77, 5], Operations: ['86-73=13', '65/13=5'] Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,17 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,17 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[77, 52], Operations: ['86-73=13', '65-13=52'] Exploring Operation: 77*52=4004, Resulting Numbers: [4004] 4004,17 unequal: No Solution Exploring Operation: 77+52=129, Resulting Numbers: [129] 129,17 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 17:[65, 64], Operations: ['86-73=13', '77-13=64'] Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,17 unequal: No Solution Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[65, 73, 9], Operations: ['86-77=9'] Exploring Operation: 73-9=64, Resulting Numbers: [65, 64] Generated Node #0,2,0: 17:[65, 64] Operation: 73-9=64 Exploring Operation: 65-9=56, Resulting Numbers: [73, 56] Generated Node #0,2,1: 17:[73, 56] Operation: 65-9=56 Exploring Operation: 73-65=8, Resulting Numbers: [9, 8] Generated Node #0,2,2: 17:[9, 8] Operation: 73-65=8 Exploring Operation: 65+9=74, Resulting Numbers: [73, 74] Generated Node #0,2,3: 17:[73, 74] Operation: 65+9=74 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 17:[9, 8], Operations: ['86-77=9', '73-65=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[65, 73, 77, 86], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [65, 73, 9] Generated Node #0,2: 17:[65, 73, 9] Operation: 86-77=9 Moving to Node #0,2 Current State: 17:[65, 73, 9], Operations: ['86-77=9'] Exploring Operation: 73-65=8, Resulting Numbers: [9, 8] Generated Node #0,2,2: 17:[9, 8] Operation: 73-65=8 Moving to Node #0,2,2 Current State: 17:[9, 8], Operations: ['86-77=9', '73-65=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 38, 51, 6, 3 ]
70
[ "38*3=114", "114/6=19", "51+19=70" ]
Current State: 70:[38, 51, 6, 3], Operations: [] Exploring Operation: 38*3=114, Resulting Numbers: [51, 6, 114] Generated Node #2: [51, 6, 114] from Operation: 38*3=114 Current State: 70:[51, 6, 114], Operations: ['38*3=114'] Exploring Operation: 114/6=19, Resulting Numbers: [51, 19] Generated Node #3: [51, 19] from Operation: 114/6=19 Current State: 70:[51, 19], Operations: ['38*3=114', '114/6=19'] Exploring Operation: 51+19=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[38, 51, 6, 3], Operations: [] Exploring Operation: 38-3=35, Resulting Numbers: [51, 6, 35] Generated Node #0,0: 70:[51, 6, 35] Operation: 38-3=35 Exploring Operation: 51-6=45, Resulting Numbers: [38, 3, 45] Generated Node #0,1: 70:[38, 3, 45] Operation: 51-6=45 Exploring Operation: 51-38=13, Resulting Numbers: [6, 3, 13] Generated Node #0,2: 70:[6, 3, 13] Operation: 51-38=13 Exploring Operation: 51+6=57, Resulting Numbers: [38, 3, 57] Generated Node #0,3: 70:[38, 3, 57] Operation: 51+6=57 Exploring Operation: 51/3=17, Resulting Numbers: [38, 6, 17] Generated Node #0,4: 70:[38, 6, 17] Operation: 51/3=17 Moving to Node #0,2 Current State: 70:[6, 3, 13], Operations: ['51-38=13'] Exploring Operation: 6-3=3, Resulting Numbers: [13, 3] Generated Node #0,2,0: 70:[13, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [13, 2] Generated Node #0,2,1: 70:[13, 2] Operation: 6/3=2 Exploring Operation: 13-6=7, Resulting Numbers: [3, 7] Generated Node #0,2,2: 70:[3, 7] Operation: 13-6=7 Exploring Operation: 6+3=9, Resulting Numbers: [13, 9] Generated Node #0,2,3: 70:[13, 9] Operation: 6+3=9 Exploring Operation: 13-3=10, Resulting Numbers: [6, 10] Generated Node #0,2,4: 70:[6, 10] Operation: 13-3=10 Moving to Node #0,4 Current State: 70:[38, 6, 17], Operations: ['51/3=17'] Exploring Operation: 38+6=44, Resulting Numbers: [17, 44] Generated Node #0,4,0: 70:[17, 44] Operation: 38+6=44 Exploring Operation: 38-17=21, Resulting Numbers: [6, 21] Generated Node #0,4,1: 70:[6, 21] Operation: 38-17=21 Exploring Operation: 38-6=32, Resulting Numbers: [17, 32] Generated Node #0,4,2: 70:[17, 32] Operation: 38-6=32 Exploring Operation: 6+17=23, Resulting Numbers: [38, 23] Generated Node #0,4,3: 70:[38, 23] Operation: 6+17=23 Exploring Operation: 17-6=11, Resulting Numbers: [38, 11] Generated Node #0,4,4: 70:[38, 11] Operation: 17-6=11 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 70:[38, 11], Operations: ['51/3=17', '17-6=11'] Exploring Operation: 38+11=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 38*11=418, Resulting Numbers: [418] 418,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 70:[17, 32], Operations: ['51/3=17', '38-6=32'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,70 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 70:[6, 21], Operations: ['51/3=17', '38-17=21'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,70 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 70:[17, 44], Operations: ['51/3=17', '38+6=44'] Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 17+44=61, Resulting Numbers: [61] 61,70 unequal: No Solution Exploring Operation: 17*44=748, Resulting Numbers: [748] 748,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 70:[38, 23], Operations: ['51/3=17', '6+17=23'] Exploring Operation: 38+23=61, Resulting Numbers: [61] 61,70 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 38*23=874, Resulting Numbers: [874] 874,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 70:[38, 3, 45], Operations: ['51-6=45'] Exploring Operation: 38+45=83, Resulting Numbers: [3, 83] Generated Node #0,1,0: 70:[3, 83] Operation: 38+45=83 Exploring Operation: 38-3=35, Resulting Numbers: [45, 35] Generated Node #0,1,1: 70:[45, 35] Operation: 38-3=35 Exploring Operation: 45-3=42, Resulting Numbers: [38, 42] Generated Node #0,1,2: 70:[38, 42] Operation: 45-3=42 Exploring Operation: 45-38=7, Resulting Numbers: [3, 7] Generated Node #0,1,3: 70:[3, 7] Operation: 45-38=7 Exploring Operation: 45/3=15, Resulting Numbers: [38, 15] Generated Node #0,1,4: 70:[38, 15] Operation: 45/3=15 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 70:[3, 7], Operations: ['51-6=45', '45-38=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 70:[38, 15], Operations: ['51-6=45', '45/3=15'] Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,70 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[45, 35], Operations: ['51-6=45', '38-3=35'] Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,70 unequal: No Solution Exploring Operation: 45*35=1575, Resulting Numbers: [1575] 1575,70 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[38, 42], Operations: ['51-6=45', '45-3=42'] Exploring Operation: 38*42=1596, Resulting Numbers: [1596] 1596,70 unequal: No Solution Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,70 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[3, 83], Operations: ['51-6=45', '38+45=83'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,70 unequal: No Solution Exploring Operation: 3*83=249, Resulting Numbers: [249] 249,70 unequal: No Solution Exploring Operation: 3+83=86, Resulting Numbers: [86] 86,70 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: 70:[51, 6, 35], Operations: ['38-3=35'] Exploring Operation: 51+35=86, Resulting Numbers: [6, 86] Generated Node #0,0,0: 70:[6, 86] Operation: 51+35=86 Exploring Operation: 51+6=57, Resulting Numbers: [35, 57] Generated Node #0,0,1: 70:[35, 57] Operation: 51+6=57 Exploring Operation: 51-35=16, Resulting Numbers: [6, 16] Generated Node #0,0,2: 70:[6, 16] Operation: 51-35=16 Exploring Operation: 6+35=41, Resulting Numbers: [51, 41] Generated Node #0,0,3: 70:[51, 41] Operation: 6+35=41 Exploring Operation: 51-6=45, Resulting Numbers: [35, 45] Generated Node #0,0,4: 70:[35, 45] Operation: 51-6=45 Moving to Node #0,3 Current State: 70:[38, 3, 57], Operations: ['51+6=57'] Exploring Operation: 3+57=60, Resulting Numbers: [38, 60] Generated Node #0,3,0: 70:[38, 60] Operation: 3+57=60 Exploring Operation: 38+3=41, Resulting Numbers: [57, 41] Generated Node #0,3,1: 70:[57, 41] Operation: 38+3=41 Exploring Operation: 57/3=19, Resulting Numbers: [38, 19] Generated Node #0,3,2: 70:[38, 19] Operation: 57/3=19 Exploring Operation: 38-3=35, Resulting Numbers: [57, 35] Generated Node #0,3,3: 70:[57, 35] Operation: 38-3=35 Exploring Operation: 57-38=19, Resulting Numbers: [3, 19] Generated Node #0,3,4: 70:[3, 19] Operation: 57-38=19 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 70:[3, 19], Operations: ['51+6=57', '57-38=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[38, 19], Operations: ['51+6=57', '57/3=19'] Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 38+19=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 38*19=722, Resulting Numbers: [722] 722,70 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[38, 60], Operations: ['51+6=57', '3+57=60'] Exploring Operation: 38+60=98, Resulting Numbers: [98] 98,70 unequal: No Solution Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 38*60=2280, Resulting Numbers: [2280] 2280,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[57, 35], Operations: ['51+6=57', '38-3=35'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,70 unequal: No Solution Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[57, 41], Operations: ['51+6=57', '38+3=41'] Exploring Operation: 57*41=2337, Resulting Numbers: [2337] 2337,70 unequal: No Solution Exploring Operation: 57+41=98, Resulting Numbers: [98] 98,70 unequal: No Solution Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,70 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: 70:[13, 2], Operations: ['51-38=13', '6/3=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,70 unequal: No Solution Moving to Node #0,2,4 Current State: 70:[6, 10], Operations: ['51-38=13', '13-3=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[3, 7], Operations: ['51-38=13', '13-6=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[13, 9], Operations: ['51-38=13', '6+3=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[13, 3], Operations: ['51-38=13', '6-3=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,70 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[6, 16], Operations: ['38-3=35', '51-35=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,70 unequal: No Solution Moving to Node #0,0,4 Current State: 70:[35, 45], Operations: ['38-3=35', '51-6=45'] Exploring Operation: 35*45=1575, Resulting Numbers: [1575] 1575,70 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 35+45=80, Resulting Numbers: [80] 80,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[35, 57], Operations: ['38-3=35', '51+6=57'] Exploring Operation: 35+57=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 35*57=1995, Resulting Numbers: [1995] 1995,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[6, 86], Operations: ['38-3=35', '51+35=86'] Exploring Operation: 6+86=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,70 unequal: No Solution Exploring Operation: 6*86=516, Resulting Numbers: [516] 516,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[51, 41], Operations: ['38-3=35', '6+35=41'] Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,70 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,70 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 17, 4, 49, 72 ]
84
[ "17+49=66", "72/4=18", "66+18=84" ]
Current State: 84:[17, 4, 49, 72], Operations: [] Exploring Operation: 17+49=66, Resulting Numbers: [4, 72, 66] Generated Node #2: [4, 72, 66] from Operation: 17+49=66 Current State: 84:[4, 72, 66], Operations: ['17+49=66'] Exploring Operation: 72/4=18, Resulting Numbers: [66, 18] Generated Node #3: [66, 18] from Operation: 72/4=18 Current State: 84:[66, 18], Operations: ['17+49=66', '72/4=18'] Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[17, 4, 49, 72], Operations: [] Exploring Operation: 17+72=89, Resulting Numbers: [4, 49, 89] Generated Node #0,0: 84:[4, 49, 89] Operation: 17+72=89 Exploring Operation: 72-49=23, Resulting Numbers: [17, 4, 23] Generated Node #0,1: 84:[17, 4, 23] Operation: 72-49=23 Moving to Node #0,1 Current State: 84:[17, 4, 23], Operations: ['72-49=23'] Exploring Operation: 17+4=21, Resulting Numbers: [23, 21] Generated Node #0,1,0: 84:[23, 21] Operation: 17+4=21 Exploring Operation: 23-17=6, Resulting Numbers: [4, 6] Generated Node #0,1,1: 84:[4, 6] Operation: 23-17=6 Moving to Node #0,0 Current State: 84:[4, 49, 89], Operations: ['17+72=89'] Exploring Operation: 89-49=40, Resulting Numbers: [4, 40] Generated Node #0,0,0: 84:[4, 40] Operation: 89-49=40 Exploring Operation: 49-4=45, Resulting Numbers: [89, 45] Generated Node #0,0,1: 84:[89, 45] Operation: 49-4=45 Moving to Node #0,1,1 Current State: 84:[4, 6], Operations: ['72-49=23', '23-17=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[4, 40], Operations: ['17+72=89', '89-49=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[23, 21], Operations: ['72-49=23', '17+4=21'] Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[89, 45], Operations: ['17+72=89', '49-4=45'] Exploring Operation: 89-45=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 89+45=134, Resulting Numbers: [134] 134,84 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 47, 78, 21, 12 ]
64
[ "78-47=31", "21+12=33", "31+33=64" ]
Current State: 64:[47, 78, 21, 12], Operations: [] Exploring Operation: 78-47=31, Resulting Numbers: [21, 12, 31] Generated Node #2: [21, 12, 31] from Operation: 78-47=31 Current State: 64:[21, 12, 31], Operations: ['78-47=31'] Exploring Operation: 21+12=33, Resulting Numbers: [31, 33] Generated Node #3: [31, 33] from Operation: 21+12=33 Current State: 64:[31, 33], Operations: ['78-47=31', '21+12=33'] Exploring Operation: 31+33=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[47, 78, 21, 12], Operations: [] Exploring Operation: 47-12=35, Resulting Numbers: [78, 21, 35] Generated Node #0,0: 64:[78, 21, 35] Operation: 47-12=35 Exploring Operation: 78-12=66, Resulting Numbers: [47, 21, 66] Generated Node #0,1: 64:[47, 21, 66] Operation: 78-12=66 Exploring Operation: 78-47=31, Resulting Numbers: [21, 12, 31] Generated Node #0,2: 64:[21, 12, 31] Operation: 78-47=31 Exploring Operation: 47+21=68, Resulting Numbers: [78, 12, 68] Generated Node #0,3: 64:[78, 12, 68] Operation: 47+21=68 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[21, 12, 31], Operations: ['78-47=31'] Exploring Operation: 21+12=33, Resulting Numbers: [31, 33] Generated Node #0,2,0: 64:[31, 33] Operation: 21+12=33 Exploring Operation: 21-12=9, Resulting Numbers: [31, 9] Generated Node #0,2,1: 64:[31, 9] Operation: 21-12=9 Exploring Operation: 31-21=10, Resulting Numbers: [12, 10] Generated Node #0,2,2: 64:[12, 10] Operation: 31-21=10 Exploring Operation: 31-12=19, Resulting Numbers: [21, 19] Generated Node #0,2,3: 64:[21, 19] Operation: 31-12=19 Moving to Node #0,2,0 Current State: 64:[31, 33], Operations: ['78-47=31', '21+12=33'] Exploring Operation: 31*33=1023, Resulting Numbers: [1023] 1023,64 unequal: No Solution Exploring Operation: 31+33=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[47, 78, 21, 12], Operations: [] Exploring Operation: 78-47=31, Resulting Numbers: [21, 12, 31] Generated Node #0,2: 64:[21, 12, 31] Operation: 78-47=31 Moving to Node #0,2 Current State: 64:[21, 12, 31], Operations: ['78-47=31'] Exploring Operation: 21+12=33, Resulting Numbers: [31, 33] Generated Node #0,2,0: 64:[31, 33] Operation: 21+12=33 Moving to Node #0,2,0 Current State: 64:[31, 33], Operations: ['78-47=31', '21+12=33'] Exploring Operation: 31+33=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 36, 88, 70, 96 ]
42
[ "36+88=124", "70+96=166", "166-124=42" ]
Current State: 42:[36, 88, 70, 96], Operations: [] Exploring Operation: 36+88=124, Resulting Numbers: [70, 96, 124] Generated Node #2: [70, 96, 124] from Operation: 36+88=124 Current State: 42:[70, 96, 124], Operations: ['36+88=124'] Exploring Operation: 70+96=166, Resulting Numbers: [124, 166] Generated Node #3: [124, 166] from Operation: 70+96=166 Current State: 42:[124, 166], Operations: ['36+88=124', '70+96=166'] Exploring Operation: 166-124=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[36, 88, 70, 96], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [36, 70, 8] Generated Node #0,0: 42:[36, 70, 8] Operation: 96-88=8 Exploring Operation: 96-70=26, Resulting Numbers: [36, 88, 26] Generated Node #0,1: 42:[36, 88, 26] Operation: 96-70=26 Exploring Operation: 88-70=18, Resulting Numbers: [36, 96, 18] Generated Node #0,2: 42:[36, 96, 18] Operation: 88-70=18 Exploring Operation: 88-36=52, Resulting Numbers: [70, 96, 52] Generated Node #0,3: 42:[70, 96, 52] Operation: 88-36=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[36, 70, 8], Operations: ['96-88=8'] Exploring Operation: 36-8=28, Resulting Numbers: [70, 28] Generated Node #0,0,0: 42:[70, 28] Operation: 36-8=28 Exploring Operation: 70-8=62, Resulting Numbers: [36, 62] Generated Node #0,0,1: 42:[36, 62] Operation: 70-8=62 Exploring Operation: 36+8=44, Resulting Numbers: [70, 44] Generated Node #0,0,2: 42:[70, 44] Operation: 36+8=44 Exploring Operation: 70-36=34, Resulting Numbers: [8, 34] Generated Node #0,0,3: 42:[8, 34] Operation: 70-36=34 Moving to Node #0,0,3 Current State: 42:[8, 34], Operations: ['96-88=8', '70-36=34'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,42 unequal: No Solution Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[36, 88, 70, 96], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [36, 70, 8] Generated Node #0,0: 42:[36, 70, 8] Operation: 96-88=8 Moving to Node #0,0 Current State: 42:[36, 70, 8], Operations: ['96-88=8'] Exploring Operation: 70-36=34, Resulting Numbers: [8, 34] Generated Node #0,0,3: 42:[8, 34] Operation: 70-36=34 Moving to Node #0,0,3 Current State: 42:[8, 34], Operations: ['96-88=8', '70-36=34'] Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 81, 3, 72, 85 ]
88
[ "81-72=9", "9/3=3", "85+3=88" ]
Current State: 88:[81, 3, 72, 85], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [3, 85, 9] Generated Node #2: [3, 85, 9] from Operation: 81-72=9 Current State: 88:[3, 85, 9], Operations: ['81-72=9'] Exploring Operation: 9/3=3, Resulting Numbers: [85, 3] Generated Node #3: [85, 3] from Operation: 9/3=3 Current State: 88:[85, 3], Operations: ['81-72=9', '9/3=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[81, 3, 72, 85], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [3, 85, 9] Generated Node #0,0: 88:[3, 85, 9] Operation: 81-72=9 Exploring Operation: 85-72=13, Resulting Numbers: [81, 3, 13] Generated Node #0,1: 88:[81, 3, 13] Operation: 85-72=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[3, 85, 9], Operations: ['81-72=9'] Exploring Operation: 3+9=12, Resulting Numbers: [85, 12] Generated Node #0,0,0: 88:[85, 12] Operation: 3+9=12 Exploring Operation: 3+85=88, Resulting Numbers: [9, 88] Generated Node #0,0,1: 88:[9, 88] Operation: 3+85=88 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[9, 88], Operations: ['81-72=9', '3+85=88'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,88 unequal: No Solution Exploring Operation: 9+88=97, Resulting Numbers: [97] 97,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,0,0 Current State: 88:[85, 12], Operations: ['81-72=9', '3+9=12'] Exploring Operation: 85+12=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,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,1 Current State: 88:[81, 3, 13], Operations: ['85-72=13'] Exploring Operation: 81+3=84, Resulting Numbers: [13, 84] Generated Node #0,1,0: 88:[13, 84] Operation: 81+3=84 Exploring Operation: 81/3=27, Resulting Numbers: [13, 27] Generated Node #0,1,1: 88:[13, 27] Operation: 81/3=27 Moving to Node #0,1,0 Current State: 88:[13, 84], Operations: ['85-72=13', '81+3=84'] Exploring Operation: 13+84=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[13, 27], Operations: ['85-72=13', '81/3=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,88 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
[ 65, 46, 43, 36 ]
26
[ "65-46=19", "43-36=7", "19+7=26" ]
Current State: 26:[65, 46, 43, 36], Operations: [] Exploring Operation: 65-46=19, Resulting Numbers: [43, 36, 19] Generated Node #2: [43, 36, 19] from Operation: 65-46=19 Current State: 26:[43, 36, 19], Operations: ['65-46=19'] Exploring Operation: 43-36=7, Resulting Numbers: [19, 7] Generated Node #3: [19, 7] from Operation: 43-36=7 Current State: 26:[19, 7], Operations: ['65-46=19', '43-36=7'] Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[65, 46, 43, 36], Operations: [] Exploring Operation: 65-36=29, Resulting Numbers: [46, 43, 29] Generated Node #0,0: 26:[46, 43, 29] Operation: 65-36=29 Exploring Operation: 46-43=3, Resulting Numbers: [65, 36, 3] Generated Node #0,1: 26:[65, 36, 3] Operation: 46-43=3 Exploring Operation: 46-36=10, Resulting Numbers: [65, 43, 10] Generated Node #0,2: 26:[65, 43, 10] Operation: 46-36=10 Exploring Operation: 65-43=22, Resulting Numbers: [46, 36, 22] Generated Node #0,3: 26:[46, 36, 22] Operation: 65-43=22 Exploring Operation: 65-46=19, Resulting Numbers: [43, 36, 19] Generated Node #0,4: 26:[43, 36, 19] Operation: 65-46=19 Start Sub Search at level 1: Moving to Node #0,4 Current State: 26:[43, 36, 19], Operations: ['65-46=19'] Exploring Operation: 43-36=7, Resulting Numbers: [19, 7] Generated Node #0,4,0: 26:[19, 7] Operation: 43-36=7 Exploring Operation: 36+19=55, Resulting Numbers: [43, 55] Generated Node #0,4,1: 26:[43, 55] Operation: 36+19=55 Exploring Operation: 43+19=62, Resulting Numbers: [36, 62] Generated Node #0,4,2: 26:[36, 62] Operation: 43+19=62 Exploring Operation: 36-19=17, Resulting Numbers: [43, 17] Generated Node #0,4,3: 26:[43, 17] Operation: 36-19=17 Exploring Operation: 43-19=24, Resulting Numbers: [36, 24] Generated Node #0,4,4: 26:[36, 24] Operation: 43-19=24 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 26:[19, 7], Operations: ['65-46=19', '43-36=7'] Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[65, 46, 43, 36], Operations: [] Exploring Operation: 65-46=19, Resulting Numbers: [43, 36, 19] Generated Node #0,4: 26:[43, 36, 19] Operation: 65-46=19 Moving to Node #0,4 Current State: 26:[43, 36, 19], Operations: ['65-46=19'] Exploring Operation: 43-36=7, Resulting Numbers: [19, 7] Generated Node #0,4,0: 26:[19, 7] Operation: 43-36=7 Moving to Node #0,4,0 Current State: 26:[19, 7], Operations: ['65-46=19', '43-36=7'] Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 6, 96, 67, 83 ]
36
[ "6*96=576", "83-67=16", "576/16=36" ]
Current State: 36:[6, 96, 67, 83], Operations: [] Exploring Operation: 6*96=576, Resulting Numbers: [67, 83, 576] Generated Node #2: [67, 83, 576] from Operation: 6*96=576 Current State: 36:[67, 83, 576], Operations: ['6*96=576'] Exploring Operation: 83-67=16, Resulting Numbers: [576, 16] Generated Node #3: [576, 16] from Operation: 83-67=16 Current State: 36:[576, 16], Operations: ['6*96=576', '83-67=16'] Exploring Operation: 576/16=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[6, 96, 67, 83], Operations: [] Exploring Operation: 96/6=16, Resulting Numbers: [67, 83, 16] Generated Node #0,0: 36:[67, 83, 16] Operation: 96/6=16 Exploring Operation: 83-67=16, Resulting Numbers: [6, 96, 16] Generated Node #0,1: 36:[6, 96, 16] Operation: 83-67=16 Exploring Operation: 96-83=13, Resulting Numbers: [6, 67, 13] Generated Node #0,2: 36:[6, 67, 13] Operation: 96-83=13 Exploring Operation: 96-67=29, Resulting Numbers: [6, 83, 29] Generated Node #0,3: 36:[6, 83, 29] Operation: 96-67=29 Moving to Node #0,2 Current State: 36:[6, 67, 13], Operations: ['96-83=13'] Exploring Operation: 67-13=54, Resulting Numbers: [6, 54] Generated Node #0,2,0: 36:[6, 54] Operation: 67-13=54 Exploring Operation: 6+13=19, Resulting Numbers: [67, 19] Generated Node #0,2,1: 36:[67, 19] Operation: 6+13=19 Exploring Operation: 13-6=7, Resulting Numbers: [67, 7] Generated Node #0,2,2: 36:[67, 7] Operation: 13-6=7 Exploring Operation: 67-6=61, Resulting Numbers: [13, 61] Generated Node #0,2,3: 36:[13, 61] Operation: 67-6=61 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[6, 54], Operations: ['96-83=13', '67-13=54'] Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 6+54=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 6*54=324, Resulting Numbers: [324] 324,36 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 36:[13, 61], Operations: ['96-83=13', '67-6=61'] Exploring Operation: 13+61=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 13*61=793, Resulting Numbers: [793] 793,36 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[67, 19], Operations: ['96-83=13', '6+13=19'] Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,36 unequal: No Solution Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,36 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[67, 7], Operations: ['96-83=13', '13-6=7'] Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,36 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,36 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: 36:[6, 83, 29], Operations: ['96-67=29'] Exploring Operation: 83-6=77, Resulting Numbers: [29, 77] Generated Node #0,3,0: 36:[29, 77] Operation: 83-6=77 Exploring Operation: 83-29=54, Resulting Numbers: [6, 54] Generated Node #0,3,1: 36:[6, 54] Operation: 83-29=54 Exploring Operation: 6+29=35, Resulting Numbers: [83, 35] Generated Node #0,3,2: 36:[83, 35] Operation: 6+29=35 Exploring Operation: 29-6=23, Resulting Numbers: [83, 23] Generated Node #0,3,3: 36:[83, 23] Operation: 29-6=23 Moving to Node #0,1 Current State: 36:[6, 96, 16], Operations: ['83-67=16'] Exploring Operation: 96-6=90, Resulting Numbers: [16, 90] Generated Node #0,1,0: 36:[16, 90] Operation: 96-6=90 Exploring Operation: 96/6=16, Resulting Numbers: [16, 16] Generated Node #0,1,1: 36:[16, 16] Operation: 96/6=16 Exploring Operation: 96-16=80, Resulting Numbers: [6, 80] Generated Node #0,1,2: 36:[6, 80] Operation: 96-16=80 Exploring Operation: 96/16=6, Resulting Numbers: [6, 6] Generated Node #0,1,3: 36:[6, 6] Operation: 96/16=6 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[6, 6], Operations: ['83-67=16', '96/16=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[6, 96, 67, 83], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [6, 96, 16] Generated Node #0,1: 36:[6, 96, 16] Operation: 83-67=16 Moving to Node #0,1 Current State: 36:[6, 96, 16], Operations: ['83-67=16'] Exploring Operation: 96/16=6, Resulting Numbers: [6, 6] Generated Node #0,1,3: 36:[6, 6] Operation: 96/16=6 Moving to Node #0,1,3 Current State: 36:[6, 6], Operations: ['83-67=16', '96/16=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 51, 33, 47, 19 ]
18
[ "51+33=84", "47+19=66", "84-66=18" ]
Current State: 18:[51, 33, 47, 19], Operations: [] Exploring Operation: 51+33=84, Resulting Numbers: [47, 19, 84] Generated Node #2: [47, 19, 84] from Operation: 51+33=84 Current State: 18:[47, 19, 84], Operations: ['51+33=84'] Exploring Operation: 47+19=66, Resulting Numbers: [84, 66] Generated Node #3: [84, 66] from Operation: 47+19=66 Current State: 18:[84, 66], Operations: ['51+33=84', '47+19=66'] Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[51, 33, 47, 19], Operations: [] Exploring Operation: 51-19=32, Resulting Numbers: [33, 47, 32] Generated Node #0,0: 18:[33, 47, 32] Operation: 51-19=32 Exploring Operation: 47-33=14, Resulting Numbers: [51, 19, 14] Generated Node #0,1: 18:[51, 19, 14] Operation: 47-33=14 Exploring Operation: 51-47=4, Resulting Numbers: [33, 19, 4] Generated Node #0,2: 18:[33, 19, 4] Operation: 51-47=4 Exploring Operation: 51-33=18, Resulting Numbers: [47, 19, 18] Generated Node #0,3: 18:[47, 19, 18] Operation: 51-33=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[33, 19, 4], Operations: ['51-47=4'] Exploring Operation: 33-19=14, Resulting Numbers: [4, 14] Generated Node #0,2,0: 18:[4, 14] Operation: 33-19=14 Exploring Operation: 19-4=15, Resulting Numbers: [33, 15] Generated Node #0,2,1: 18:[33, 15] Operation: 19-4=15 Exploring Operation: 33+4=37, Resulting Numbers: [19, 37] Generated Node #0,2,2: 18:[19, 37] Operation: 33+4=37 Exploring Operation: 33-4=29, Resulting Numbers: [19, 29] Generated Node #0,2,3: 18:[19, 29] Operation: 33-4=29 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 18:[4, 14], Operations: ['51-47=4', '33-19=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[51, 33, 47, 19], Operations: [] Exploring Operation: 51-47=4, Resulting Numbers: [33, 19, 4] Generated Node #0,2: 18:[33, 19, 4] Operation: 51-47=4 Moving to Node #0,2 Current State: 18:[33, 19, 4], Operations: ['51-47=4'] Exploring Operation: 33-19=14, Resulting Numbers: [4, 14] Generated Node #0,2,0: 18:[4, 14] Operation: 33-19=14 Moving to Node #0,2,0 Current State: 18:[4, 14], Operations: ['51-47=4', '33-19=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 29, 73, 95, 26 ]
77
[ "73-29=44", "95+26=121", "121-44=77" ]
Current State: 77:[29, 73, 95, 26], Operations: [] Exploring Operation: 73-29=44, Resulting Numbers: [95, 26, 44] Generated Node #2: [95, 26, 44] from Operation: 73-29=44 Current State: 77:[95, 26, 44], Operations: ['73-29=44'] Exploring Operation: 95+26=121, Resulting Numbers: [44, 121] Generated Node #3: [44, 121] from Operation: 95+26=121 Current State: 77:[44, 121], Operations: ['73-29=44', '95+26=121'] Exploring Operation: 121-44=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[29, 73, 95, 26], Operations: [] Exploring Operation: 29-26=3, Resulting Numbers: [73, 95, 3] Generated Node #0,0: 77:[73, 95, 3] Operation: 29-26=3 Exploring Operation: 95-26=69, Resulting Numbers: [29, 73, 69] Generated Node #0,1: 77:[29, 73, 69] Operation: 95-26=69 Exploring Operation: 95-29=66, Resulting Numbers: [73, 26, 66] Generated Node #0,2: 77:[73, 26, 66] Operation: 95-29=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[73, 95, 3], Operations: ['29-26=3'] Exploring Operation: 95-73=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 77:[3, 22] Operation: 95-73=22 Exploring Operation: 73+3=76, Resulting Numbers: [95, 76] Generated Node #0,0,1: 77:[95, 76] Operation: 73+3=76 Exploring Operation: 95-3=92, Resulting Numbers: [73, 92] Generated Node #0,0,2: 77:[73, 92] Operation: 95-3=92 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[3, 22], Operations: ['29-26=3', '95-73=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[95, 76], Operations: ['29-26=3', '73+3=76'] Exploring Operation: 95*76=7220, Resulting Numbers: [7220] 7220,77 unequal: No Solution Exploring Operation: 95+76=171, Resulting Numbers: [171] 171,77 unequal: No Solution Exploring Operation: 95-76=19, Resulting Numbers: [19] 19,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 77:[73, 92], Operations: ['29-26=3', '95-3=92'] Exploring Operation: 73*92=6716, Resulting Numbers: [6716] 6716,77 unequal: No Solution Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 73+92=165, Resulting Numbers: [165] 165,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[29, 73, 69], Operations: ['95-26=69'] Exploring Operation: 73-69=4, Resulting Numbers: [29, 4] Generated Node #0,1,0: 77:[29, 4] Operation: 73-69=4 Exploring Operation: 29+69=98, Resulting Numbers: [73, 98] Generated Node #0,1,1: 77:[73, 98] Operation: 29+69=98 Exploring Operation: 29+73=102, Resulting Numbers: [69, 102] Generated Node #0,1,2: 77:[69, 102] Operation: 29+73=102 Moving to Node #0,1,0 Current State: 77:[29, 4], Operations: ['95-26=69', '73-69=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,77 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[73, 98], Operations: ['95-26=69', '29+69=98'] Exploring Operation: 73*98=7154, Resulting Numbers: [7154] 7154,77 unequal: No Solution Exploring Operation: 98-73=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 73+98=171, Resulting Numbers: [171] 171,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[69, 102], Operations: ['95-26=69', '29+73=102'] Exploring Operation: 69*102=7038, Resulting Numbers: [7038] 7038,77 unequal: No Solution Exploring Operation: 102-69=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 69+102=171, Resulting Numbers: [171] 171,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[73, 26, 66], Operations: ['95-29=66'] Exploring Operation: 73+26=99, Resulting Numbers: [66, 99] Generated Node #0,2,0: 77:[66, 99] Operation: 73+26=99 Exploring Operation: 73-66=7, Resulting Numbers: [26, 7] Generated Node #0,2,1: 77:[26, 7] Operation: 73-66=7 Exploring Operation: 26+66=92, Resulting Numbers: [73, 92] Generated Node #0,2,2: 77:[73, 92] Operation: 26+66=92 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 77:[26, 7], Operations: ['95-29=66', '73-66=7'] Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,77 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 77:[73, 92], Operations: ['95-29=66', '26+66=92'] Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 73+92=165, Resulting Numbers: [165] 165,77 unequal: No Solution Exploring Operation: 73*92=6716, Resulting Numbers: [6716] 6716,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 77:[66, 99], Operations: ['95-29=66', '73+26=99'] Exploring Operation: 66+99=165, Resulting Numbers: [165] 165,77 unequal: No Solution Exploring Operation: 66*99=6534, Resulting Numbers: [6534] 6534,77 unequal: No Solution Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 91, 21, 24, 81 ]
35
[ "91-21=70", "24+81=105", "105-70=35" ]
Current State: 35:[91, 21, 24, 81], Operations: [] Exploring Operation: 91-21=70, Resulting Numbers: [24, 81, 70] Generated Node #2: [24, 81, 70] from Operation: 91-21=70 Current State: 35:[24, 81, 70], Operations: ['91-21=70'] Exploring Operation: 24+81=105, Resulting Numbers: [70, 105] Generated Node #3: [70, 105] from Operation: 24+81=105 Current State: 35:[70, 105], Operations: ['91-21=70', '24+81=105'] Exploring Operation: 105-70=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[91, 21, 24, 81], Operations: [] Exploring Operation: 81-21=60, Resulting Numbers: [91, 24, 60] Generated Node #0,0: 35:[91, 24, 60] Operation: 81-21=60 Exploring Operation: 81-24=57, Resulting Numbers: [91, 21, 57] Generated Node #0,1: 35:[91, 21, 57] Operation: 81-24=57 Exploring Operation: 91-21=70, Resulting Numbers: [24, 81, 70] Generated Node #0,2: 35:[24, 81, 70] Operation: 91-21=70 Exploring Operation: 91-24=67, Resulting Numbers: [21, 81, 67] Generated Node #0,3: 35:[21, 81, 67] Operation: 91-24=67 Exploring Operation: 91-81=10, Resulting Numbers: [21, 24, 10] Generated Node #0,4: 35:[21, 24, 10] Operation: 91-81=10 Start Sub Search at level 1: Moving to Node #0,4 Current State: 35:[21, 24, 10], Operations: ['91-81=10'] Exploring Operation: 24+10=34, Resulting Numbers: [21, 34] Generated Node #0,4,0: 35:[21, 34] Operation: 24+10=34 Exploring Operation: 24-21=3, Resulting Numbers: [10, 3] Generated Node #0,4,1: 35:[10, 3] Operation: 24-21=3 Exploring Operation: 21+24=45, Resulting Numbers: [10, 45] Generated Node #0,4,2: 35:[10, 45] Operation: 21+24=45 Exploring Operation: 21-10=11, Resulting Numbers: [24, 11] Generated Node #0,4,3: 35:[24, 11] Operation: 21-10=11 Exploring Operation: 21+10=31, Resulting Numbers: [24, 31] Generated Node #0,4,4: 35:[24, 31] Operation: 21+10=31 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 35:[10, 3], Operations: ['91-81=10', '24-21=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,35 unequal: No Solution No 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: 35:[10, 45], Operations: ['91-81=10', '21+24=45'] Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,35 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[91, 21, 24, 81], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [21, 24, 10] Generated Node #0,4: 35:[21, 24, 10] Operation: 91-81=10 Moving to Node #0,4 Current State: 35:[21, 24, 10], Operations: ['91-81=10'] Exploring Operation: 21+24=45, Resulting Numbers: [10, 45] Generated Node #0,4,2: 35:[10, 45] Operation: 21+24=45 Moving to Node #0,4,2 Current State: 35:[10, 45], Operations: ['91-81=10', '21+24=45'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 2, 65, 33, 56 ]
72
[ "65-33=32", "32/2=16", "56+16=72" ]
Current State: 72:[2, 65, 33, 56], Operations: [] Exploring Operation: 65-33=32, Resulting Numbers: [2, 56, 32] Generated Node #2: [2, 56, 32] from Operation: 65-33=32 Current State: 72:[2, 56, 32], Operations: ['65-33=32'] Exploring Operation: 32/2=16, Resulting Numbers: [56, 16] Generated Node #3: [56, 16] from Operation: 32/2=16 Current State: 72:[56, 16], Operations: ['65-33=32', '32/2=16'] Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[2, 65, 33, 56], Operations: [] Exploring Operation: 65-56=9, Resulting Numbers: [2, 33, 9] Generated Node #0,0: 72:[2, 33, 9] Operation: 65-56=9 Exploring Operation: 56-33=23, Resulting Numbers: [2, 65, 23] Generated Node #0,1: 72:[2, 65, 23] Operation: 56-33=23 Exploring Operation: 56/2=28, Resulting Numbers: [65, 33, 28] Generated Node #0,2: 72:[65, 33, 28] Operation: 56/2=28 Exploring Operation: 65-33=32, Resulting Numbers: [2, 56, 32] Generated Node #0,3: 72:[2, 56, 32] Operation: 65-33=32 Exploring Operation: 2+65=67, Resulting Numbers: [33, 56, 67] Generated Node #0,4: 72:[33, 56, 67] Operation: 2+65=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[2, 33, 9], Operations: ['65-56=9'] Exploring Operation: 2+33=35, Resulting Numbers: [9, 35] Generated Node #0,0,0: 72:[9, 35] Operation: 2+33=35 Exploring Operation: 2*9=18, Resulting Numbers: [33, 18] Generated Node #0,0,1: 72:[33, 18] Operation: 2*9=18 Exploring Operation: 33-9=24, Resulting Numbers: [2, 24] Generated Node #0,0,2: 72:[2, 24] Operation: 33-9=24 Exploring Operation: 9-2=7, Resulting Numbers: [33, 7] Generated Node #0,0,3: 72:[33, 7] Operation: 9-2=7 Exploring Operation: 2+9=11, Resulting Numbers: [33, 11] Generated Node #0,0,4: 72:[33, 11] Operation: 2+9=11 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 72:[2, 24], Operations: ['65-56=9', '33-9=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,72 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,72 unequal: No Solution No 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: 72:[9, 35], Operations: ['65-56=9', '2+33=35'] Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,72 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,72 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,72 unequal: No Solution No 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: 72:[33, 18], Operations: ['65-56=9', '2*9=18'] Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,72 unequal: No Solution Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,72 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,72 unequal: No Solution No 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: 72:[33, 7], Operations: ['65-56=9', '9-2=7'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,72 unequal: No Solution No 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: 72:[33, 11], Operations: ['65-56=9', '2+9=11'] Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,72 unequal: No Solution Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,72 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[2, 65, 23], Operations: ['56-33=23'] Exploring Operation: 65-2=63, Resulting Numbers: [23, 63] Generated Node #0,1,0: 72:[23, 63] Operation: 65-2=63 Exploring Operation: 2+65=67, Resulting Numbers: [23, 67] Generated Node #0,1,1: 72:[23, 67] Operation: 2+65=67 Exploring Operation: 65-23=42, Resulting Numbers: [2, 42] Generated Node #0,1,2: 72:[2, 42] Operation: 65-23=42 Exploring Operation: 2+23=25, Resulting Numbers: [65, 25] Generated Node #0,1,3: 72:[65, 25] Operation: 2+23=25 Exploring Operation: 23-2=21, Resulting Numbers: [65, 21] Generated Node #0,1,4: 72:[65, 21] Operation: 23-2=21 Moving to Node #0,1,1 Current State: 72:[23, 67], Operations: ['56-33=23', '2+65=67'] Exploring Operation: 23*67=1541, Resulting Numbers: [1541] 1541,72 unequal: No Solution Exploring Operation: 23+67=90, Resulting Numbers: [90] 90,72 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[2, 42], Operations: ['56-33=23', '65-23=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,72 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[65, 25], Operations: ['56-33=23', '2+23=25'] Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,72 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[23, 63], Operations: ['56-33=23', '65-2=63'] Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,72 unequal: No Solution Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,72 unequal: No Solution Moving to Node #0,1,4 Current State: 72:[65, 21], Operations: ['56-33=23', '23-2=21'] Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,72 unequal: No Solution Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[65, 33, 28], Operations: ['56/2=28'] Exploring Operation: 33+28=61, Resulting Numbers: [65, 61] Generated Node #0,2,0: 72:[65, 61] Operation: 33+28=61 Exploring Operation: 33-28=5, Resulting Numbers: [65, 5] Generated Node #0,2,1: 72:[65, 5] Operation: 33-28=5 Exploring Operation: 65-28=37, Resulting Numbers: [33, 37] Generated Node #0,2,2: 72:[33, 37] Operation: 65-28=37 Exploring Operation: 65-33=32, Resulting Numbers: [28, 32] Generated Node #0,2,3: 72:[28, 32] Operation: 65-33=32 Exploring Operation: 65+28=93, Resulting Numbers: [33, 93] Generated Node #0,2,4: 72:[33, 93] Operation: 65+28=93 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 72:[33, 37], Operations: ['56/2=28', '65-28=37'] Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,72 unequal: No Solution Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 33*37=1221, Resulting Numbers: [1221] 1221,72 unequal: No Solution No 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: 72:[65, 5], Operations: ['56/2=28', '33-28=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 65*5=325, Resulting Numbers: [325] 325,72 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,72 unequal: No Solution No 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: 72:[28, 32], Operations: ['56/2=28', '65-33=32'] Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,72 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,72 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,72 unequal: No Solution No 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: 72:[65, 61], Operations: ['56/2=28', '33+28=61'] Exploring Operation: 65+61=126, Resulting Numbers: [126] 126,72 unequal: No Solution Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,72 unequal: No Solution Exploring Operation: 65*61=3965, Resulting Numbers: [3965] 3965,72 unequal: No Solution No 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: 72:[33, 93], Operations: ['56/2=28', '65+28=93'] Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,72 unequal: No Solution Exploring Operation: 33+93=126, Resulting Numbers: [126] 126,72 unequal: No Solution Exploring Operation: 33*93=3069, Resulting Numbers: [3069] 3069,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[2, 56, 32], Operations: ['65-33=32'] Exploring Operation: 56+32=88, Resulting Numbers: [2, 88] Generated Node #0,3,0: 72:[2, 88] Operation: 56+32=88 Exploring Operation: 56/2=28, Resulting Numbers: [32, 28] Generated Node #0,3,1: 72:[32, 28] Operation: 56/2=28 Exploring Operation: 2+56=58, Resulting Numbers: [32, 58] Generated Node #0,3,2: 72:[32, 58] Operation: 2+56=58 Exploring Operation: 2+32=34, Resulting Numbers: [56, 34] Generated Node #0,3,3: 72:[56, 34] Operation: 2+32=34 Exploring Operation: 56-32=24, Resulting Numbers: [2, 24] Generated Node #0,3,4: 72:[2, 24] Operation: 56-32=24 Moving to Node #0,3,4 Current State: 72:[2, 24], Operations: ['65-33=32', '56-32=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,72 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,72 unequal: No Solution Moving to Node #0,3,1 Current State: 72:[32, 28], Operations: ['65-33=32', '56/2=28'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,72 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,72 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,72 unequal: No Solution Moving to Node #0,3,0 Current State: 72:[2, 88], Operations: ['65-33=32', '56+32=88'] Exploring Operation: 2*88=176, Resulting Numbers: [176] 176,72 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,72 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,72 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[32, 58], Operations: ['65-33=32', '2+56=58'] Exploring Operation: 32*58=1856, Resulting Numbers: [1856] 1856,72 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 32+58=90, Resulting Numbers: [90] 90,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[56, 34], Operations: ['65-33=32', '2+32=34'] Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,72 unequal: No Solution Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 72:[33, 56, 67], Operations: ['2+65=67'] Exploring Operation: 67-56=11, Resulting Numbers: [33, 11] Generated Node #0,4,0: 72:[33, 11] Operation: 67-56=11 Exploring Operation: 67-33=34, Resulting Numbers: [56, 34] Generated Node #0,4,1: 72:[56, 34] Operation: 67-33=34 Exploring Operation: 33+56=89, Resulting Numbers: [67, 89] Generated Node #0,4,2: 72:[67, 89] Operation: 33+56=89 Exploring Operation: 56-33=23, Resulting Numbers: [67, 23] Generated Node #0,4,3: 72:[67, 23] Operation: 56-33=23 Exploring Operation: 33+67=100, Resulting Numbers: [56, 100] Generated Node #0,4,4: 72:[56, 100] Operation: 33+67=100 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 72:[33, 11], Operations: ['2+65=67', '67-56=11'] Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,72 unequal: No Solution Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,72 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,72 unequal: No Solution No 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: 72:[67, 23], Operations: ['2+65=67', '56-33=23'] Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,72 unequal: No Solution Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,72 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,72 unequal: No Solution No 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: 72:[56, 34], Operations: ['2+65=67', '67-33=34'] Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,72 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,72 unequal: No Solution No 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: 72:[67, 89], Operations: ['2+65=67', '33+56=89'] Exploring Operation: 67+89=156, Resulting Numbers: [156] 156,72 unequal: No Solution Exploring Operation: 67*89=5963, Resulting Numbers: [5963] 5963,72 unequal: No Solution Exploring Operation: 89-67=22, Resulting Numbers: [22] 22,72 unequal: No Solution No 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: 72:[56, 100], Operations: ['2+65=67', '33+67=100'] Exploring Operation: 100-56=44, Resulting Numbers: [44] 44,72 unequal: No Solution Exploring Operation: 56*100=5600, Resulting Numbers: [5600] 5600,72 unequal: No Solution Exploring Operation: 56+100=156, Resulting Numbers: [156] 156,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 35, 87, 17, 26 ]
13
[ "35*26=910", "87-17=70", "910/70=13" ]
Current State: 13:[35, 87, 17, 26], Operations: [] Exploring Operation: 35*26=910, Resulting Numbers: [87, 17, 910] Generated Node #2: [87, 17, 910] from Operation: 35*26=910 Current State: 13:[87, 17, 910], Operations: ['35*26=910'] Exploring Operation: 87-17=70, Resulting Numbers: [910, 70] Generated Node #3: [910, 70] from Operation: 87-17=70 Current State: 13:[910, 70], Operations: ['35*26=910', '87-17=70'] Exploring Operation: 910/70=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[35, 87, 17, 26], Operations: [] Exploring Operation: 87-35=52, Resulting Numbers: [17, 26, 52] Generated Node #0,0: 13:[17, 26, 52] Operation: 87-35=52 Exploring Operation: 87-26=61, Resulting Numbers: [35, 17, 61] Generated Node #0,1: 13:[35, 17, 61] Operation: 87-26=61 Moving to Node #0,0 Current State: 13:[17, 26, 52], Operations: ['87-35=52'] Exploring Operation: 52-26=26, Resulting Numbers: [17, 26] Generated Node #0,0,0: 13:[17, 26] Operation: 52-26=26 Exploring Operation: 52/26=2, Resulting Numbers: [17, 2] Generated Node #0,0,1: 13:[17, 2] Operation: 52/26=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[17, 2], Operations: ['87-35=52', '52/26=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[17, 26], Operations: ['87-35=52', '52-26=26'] Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,13 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 13:[35, 17, 61], Operations: ['87-26=61'] Exploring Operation: 61-35=26, Resulting Numbers: [17, 26] Generated Node #0,1,0: 13:[17, 26] Operation: 61-35=26 Exploring Operation: 35-17=18, Resulting Numbers: [61, 18] Generated Node #0,1,1: 13:[61, 18] Operation: 35-17=18 Moving to Node #0,1,0 Current State: 13:[17, 26], Operations: ['87-26=61', '61-35=26'] Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,13 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[61, 18], Operations: ['87-26=61', '35-17=18'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,13 unequal: No Solution Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,13 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 91, 65, 7, 4 ]
56
[ "91/7=13", "65+4=69", "69-13=56" ]
Current State: 56:[91, 65, 7, 4], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [65, 4, 13] Generated Node #2: [65, 4, 13] from Operation: 91/7=13 Current State: 56:[65, 4, 13], Operations: ['91/7=13'] Exploring Operation: 65+4=69, Resulting Numbers: [13, 69] Generated Node #3: [13, 69] from Operation: 65+4=69 Current State: 56:[13, 69], Operations: ['91/7=13', '65+4=69'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[91, 65, 7, 4], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [65, 4, 13] Generated Node #0,0: 56:[65, 4, 13] Operation: 91/7=13 Exploring Operation: 91-7=84, Resulting Numbers: [65, 4, 84] Generated Node #0,1: 56:[65, 4, 84] Operation: 91-7=84 Exploring Operation: 91-65=26, Resulting Numbers: [7, 4, 26] Generated Node #0,2: 56:[7, 4, 26] Operation: 91-65=26 Moving to Node #0,2 Current State: 56:[7, 4, 26], Operations: ['91-65=26'] Exploring Operation: 7*4=28, Resulting Numbers: [26, 28] Generated Node #0,2,0: 56:[26, 28] Operation: 7*4=28 Exploring Operation: 7-4=3, Resulting Numbers: [26, 3] Generated Node #0,2,1: 56:[26, 3] Operation: 7-4=3 Exploring Operation: 4+26=30, Resulting Numbers: [7, 30] Generated Node #0,2,2: 56:[7, 30] Operation: 4+26=30 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[26, 28], Operations: ['91-65=26', '7*4=28'] Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 26*28=728, Resulting Numbers: [728] 728,56 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[7, 30], Operations: ['91-65=26', '4+26=30'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,56 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[26, 3], Operations: ['91-65=26', '7-4=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 56:[65, 4, 13], Operations: ['91/7=13'] Exploring Operation: 65/13=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 56:[4, 5] Operation: 65/13=5 Exploring Operation: 65-4=61, Resulting Numbers: [13, 61] Generated Node #0,0,1: 56:[13, 61] Operation: 65-4=61 Exploring Operation: 65-13=52, Resulting Numbers: [4, 52] Generated Node #0,0,2: 56:[4, 52] Operation: 65-13=52 Moving to Node #0,1 Current State: 56:[65, 4, 84], Operations: ['91-7=84'] Exploring Operation: 84/4=21, Resulting Numbers: [65, 21] Generated Node #0,1,0: 56:[65, 21] Operation: 84/4=21 Exploring Operation: 65-4=61, Resulting Numbers: [84, 61] Generated Node #0,1,1: 56:[84, 61] Operation: 65-4=61 Exploring Operation: 84-65=19, Resulting Numbers: [4, 19] Generated Node #0,1,2: 56:[4, 19] Operation: 84-65=19 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[4, 19], Operations: ['91-7=84', '84-65=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[65, 21], Operations: ['91-7=84', '84/4=21'] Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,56 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[84, 61], Operations: ['91-7=84', '65-4=61'] Exploring Operation: 84+61=145, Resulting Numbers: [145] 145,56 unequal: No Solution Exploring Operation: 84*61=5124, Resulting Numbers: [5124] 5124,56 unequal: No Solution Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,56 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: 56:[4, 5], Operations: ['91/7=13', '65/13=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[4, 52], Operations: ['91/7=13', '65-13=52'] Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[91, 65, 7, 4], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [65, 4, 13] Generated Node #0,0: 56:[65, 4, 13] Operation: 91/7=13 Moving to Node #0,0 Current State: 56:[65, 4, 13], Operations: ['91/7=13'] Exploring Operation: 65-13=52, Resulting Numbers: [4, 52] Generated Node #0,0,2: 56:[4, 52] Operation: 65-13=52 Moving to Node #0,0,2 Current State: 56:[4, 52], Operations: ['91/7=13', '65-13=52'] Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.967014
hs_3
mult_heuristic
[ 18, 24, 28, 89 ]
79
[ "24-18=6", "28*6=168", "168-89=79" ]
Current State: 79:[18, 24, 28, 89], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [28, 89, 6] Generated Node #2: [28, 89, 6] from Operation: 24-18=6 Current State: 79:[28, 89, 6], Operations: ['24-18=6'] Exploring Operation: 28*6=168, Resulting Numbers: [89, 168] Generated Node #3: [89, 168] from Operation: 28*6=168 Current State: 79:[89, 168], Operations: ['24-18=6', '28*6=168'] Exploring Operation: 168-89=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[18, 24, 28, 89], Operations: [] Exploring Operation: 18+28=46, Resulting Numbers: [24, 89, 46] Generated Node #0,0: 79:[24, 89, 46] Operation: 18+28=46 Exploring Operation: 18+24=42, Resulting Numbers: [28, 89, 42] Generated Node #0,1: 79:[28, 89, 42] Operation: 18+24=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[24, 89, 46], Operations: ['18+28=46'] Exploring Operation: 24+46=70, Resulting Numbers: [89, 70] Generated Node #0,0,0: 79:[89, 70] Operation: 24+46=70 Exploring Operation: 89-24=65, Resulting Numbers: [46, 65] Generated Node #0,0,1: 79:[46, 65] Operation: 89-24=65 Moving to Node #0,0,0 Current State: 79:[89, 70], Operations: ['18+28=46', '24+46=70'] Exploring Operation: 89+70=159, Resulting Numbers: [159] 159,79 unequal: No Solution Exploring Operation: 89-70=19, Resulting Numbers: [19] 19,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[46, 65], Operations: ['18+28=46', '89-24=65'] Exploring Operation: 46+65=111, Resulting Numbers: [111] 111,79 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[28, 89, 42], Operations: ['18+24=42'] Exploring Operation: 89-28=61, Resulting Numbers: [42, 61] Generated Node #0,1,0: 79:[42, 61] Operation: 89-28=61 Exploring Operation: 28+42=70, Resulting Numbers: [89, 70] Generated Node #0,1,1: 79:[89, 70] Operation: 28+42=70 Moving to Node #0,1,1 Current State: 79:[89, 70], Operations: ['18+24=42', '28+42=70'] Exploring Operation: 89+70=159, Resulting Numbers: [159] 159,79 unequal: No Solution Exploring Operation: 89-70=19, Resulting Numbers: [19] 19,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[42, 61], Operations: ['18+24=42', '89-28=61'] Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,79 unequal: No Solution Exploring Operation: 42+61=103, Resulting Numbers: [103] 103,79 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
[ 2, 10, 39, 63 ]
16
[ "10-2=8", "63-39=24", "24-8=16" ]
Current State: 16:[2, 10, 39, 63], Operations: [] Exploring Operation: 10-2=8, Resulting Numbers: [39, 63, 8] Generated Node #2: [39, 63, 8] from Operation: 10-2=8 Current State: 16:[39, 63, 8], Operations: ['10-2=8'] Exploring Operation: 63-39=24, Resulting Numbers: [8, 24] Generated Node #3: [8, 24] from Operation: 63-39=24 Current State: 16:[8, 24], Operations: ['10-2=8', '63-39=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[2, 10, 39, 63], Operations: [] Exploring Operation: 63-39=24, Resulting Numbers: [2, 10, 24] Generated Node #0,0: 16:[2, 10, 24] Operation: 63-39=24 Exploring Operation: 39-10=29, Resulting Numbers: [2, 63, 29] Generated Node #0,1: 16:[2, 63, 29] Operation: 39-10=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[2, 10, 24], Operations: ['63-39=24'] Exploring Operation: 24/2=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 16:[10, 12] Operation: 24/2=12 Exploring Operation: 24-10=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 16:[2, 14] Operation: 24-10=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[2, 14], Operations: ['63-39=24', '24-10=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[2, 10, 39, 63], Operations: [] Exploring Operation: 63-39=24, Resulting Numbers: [2, 10, 24] Generated Node #0,0: 16:[2, 10, 24] Operation: 63-39=24 Moving to Node #0,0 Current State: 16:[2, 10, 24], Operations: ['63-39=24'] Exploring Operation: 24-10=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 16:[2, 14] Operation: 24-10=14 Moving to Node #0,0,1 Current State: 16:[2, 14], Operations: ['63-39=24', '24-10=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 48, 5, 49, 32 ]
60
[ "48-5=43", "49-32=17", "43+17=60" ]
Current State: 60:[48, 5, 49, 32], Operations: [] Exploring Operation: 48-5=43, Resulting Numbers: [49, 32, 43] Generated Node #2: [49, 32, 43] from Operation: 48-5=43 Current State: 60:[49, 32, 43], Operations: ['48-5=43'] Exploring Operation: 49-32=17, Resulting Numbers: [43, 17] Generated Node #3: [43, 17] from Operation: 49-32=17 Current State: 60:[43, 17], Operations: ['48-5=43', '49-32=17'] Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[48, 5, 49, 32], Operations: [] Exploring Operation: 48-32=16, Resulting Numbers: [5, 49, 16] Generated Node #0,0: 60:[5, 49, 16] Operation: 48-32=16 Exploring Operation: 49-48=1, Resulting Numbers: [5, 32, 1] Generated Node #0,1: 60:[5, 32, 1] Operation: 49-48=1 Moving to Node #0,1 Current State: 60:[5, 32, 1], Operations: ['49-48=1'] Exploring Operation: 32-1=31, Resulting Numbers: [5, 31] Generated Node #0,1,0: 60:[5, 31] Operation: 32-1=31 Exploring Operation: 5+1=6, Resulting Numbers: [32, 6] Generated Node #0,1,1: 60:[32, 6] Operation: 5+1=6 Moving to Node #0,0 Current State: 60:[5, 49, 16], Operations: ['48-32=16'] Exploring Operation: 49+16=65, Resulting Numbers: [5, 65] Generated Node #0,0,0: 60:[5, 65] Operation: 49+16=65 Exploring Operation: 49-16=33, Resulting Numbers: [5, 33] Generated Node #0,0,1: 60:[5, 33] Operation: 49-16=33 Moving to Node #0,1,0 Current State: 60:[5, 31], Operations: ['49-48=1', '32-1=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[32, 6], Operations: ['49-48=1', '5+1=6'] Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[5, 33], Operations: ['48-32=16', '49-16=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[5, 65], Operations: ['48-32=16', '49+16=65'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[48, 5, 49, 32], Operations: [] Exploring Operation: 48-32=16, Resulting Numbers: [5, 49, 16] Generated Node #0,0: 60:[5, 49, 16] Operation: 48-32=16 Moving to Node #0,0 Current State: 60:[5, 49, 16], Operations: ['48-32=16'] Exploring Operation: 49+16=65, Resulting Numbers: [5, 65] Generated Node #0,0,0: 60:[5, 65] Operation: 49+16=65 Moving to Node #0,0,0 Current State: 60:[5, 65], Operations: ['48-32=16', '49+16=65'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 34, 1, 7, 5 ]
69
[ "34*1=34", "7*5=35", "34+35=69" ]
Current State: 69:[34, 1, 7, 5], Operations: [] Exploring Operation: 34*1=34, Resulting Numbers: [7, 5, 34] Generated Node #2: [7, 5, 34] from Operation: 34*1=34 Current State: 69:[7, 5, 34], Operations: ['34*1=34'] Exploring Operation: 7*5=35, Resulting Numbers: [34, 35] Generated Node #3: [34, 35] from Operation: 7*5=35 Current State: 69:[34, 35], Operations: ['34*1=34', '7*5=35'] Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[34, 1, 7, 5], Operations: [] Exploring Operation: 34-7=27, Resulting Numbers: [1, 5, 27] Generated Node #0,0: 69:[1, 5, 27] Operation: 34-7=27 Moving to Node #0,0 Current State: 69:[1, 5, 27], Operations: ['34-7=27'] Exploring Operation: 27-5=22, Resulting Numbers: [1, 22] Generated Node #0,0,0: 69:[1, 22] Operation: 27-5=22 Moving to Node #0,0,0 Current State: 69:[1, 22], Operations: ['34-7=27', '27-5=22'] Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,69 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 38, 92, 76, 74 ]
20
[ "38+92=130", "76+74=150", "150-130=20" ]
Current State: 20:[38, 92, 76, 74], Operations: [] Exploring Operation: 38+92=130, Resulting Numbers: [76, 74, 130] Generated Node #2: [76, 74, 130] from Operation: 38+92=130 Current State: 20:[76, 74, 130], Operations: ['38+92=130'] Exploring Operation: 76+74=150, Resulting Numbers: [130, 150] Generated Node #3: [130, 150] from Operation: 76+74=150 Current State: 20:[130, 150], Operations: ['38+92=130', '76+74=150'] Exploring Operation: 150-130=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[38, 92, 76, 74], Operations: [] Exploring Operation: 92-38=54, Resulting Numbers: [76, 74, 54] Generated Node #0,0: 20:[76, 74, 54] Operation: 92-38=54 Exploring Operation: 92-74=18, Resulting Numbers: [38, 76, 18] Generated Node #0,1: 20:[38, 76, 18] Operation: 92-74=18 Exploring Operation: 76-74=2, Resulting Numbers: [38, 92, 2] Generated Node #0,2: 20:[38, 92, 2] Operation: 76-74=2 Exploring Operation: 92-76=16, Resulting Numbers: [38, 74, 16] Generated Node #0,3: 20:[38, 74, 16] Operation: 92-76=16 Exploring Operation: 76/38=2, Resulting Numbers: [92, 74, 2] Generated Node #0,4: 20:[92, 74, 2] Operation: 76/38=2 Moving to Node #0,1 Current State: 20:[38, 76, 18], Operations: ['92-74=18'] Exploring Operation: 76-38=38, Resulting Numbers: [18, 38] Generated Node #0,1,0: 20:[18, 38] Operation: 76-38=38 Exploring Operation: 76-18=58, Resulting Numbers: [38, 58] Generated Node #0,1,1: 20:[38, 58] Operation: 76-18=58 Exploring Operation: 38+18=56, Resulting Numbers: [76, 56] Generated Node #0,1,2: 20:[76, 56] Operation: 38+18=56 Exploring Operation: 38-18=20, Resulting Numbers: [76, 20] Generated Node #0,1,3: 20:[76, 20] Operation: 38-18=20 Exploring Operation: 76/38=2, Resulting Numbers: [18, 2] Generated Node #0,1,4: 20:[18, 2] Operation: 76/38=2 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 20:[18, 2], Operations: ['92-74=18', '76/38=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[38, 92, 76, 74], Operations: [] Exploring Operation: 92-74=18, Resulting Numbers: [38, 76, 18] Generated Node #0,1: 20:[38, 76, 18] Operation: 92-74=18 Moving to Node #0,1 Current State: 20:[38, 76, 18], Operations: ['92-74=18'] Exploring Operation: 76/38=2, Resulting Numbers: [18, 2] Generated Node #0,1,4: 20:[18, 2] Operation: 76/38=2 Moving to Node #0,1,4 Current State: 20:[18, 2], Operations: ['92-74=18', '76/38=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 75, 2, 55, 69 ]
34
[ "75+69=144", "2*55=110", "144-110=34" ]
Current State: 34:[75, 2, 55, 69], Operations: [] Exploring Operation: 75+69=144, Resulting Numbers: [2, 55, 144] Generated Node #2: [2, 55, 144] from Operation: 75+69=144 Current State: 34:[2, 55, 144], Operations: ['75+69=144'] Exploring Operation: 2*55=110, Resulting Numbers: [144, 110] Generated Node #3: [144, 110] from Operation: 2*55=110 Current State: 34:[144, 110], Operations: ['75+69=144', '2*55=110'] Exploring Operation: 144-110=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[75, 2, 55, 69], Operations: [] Exploring Operation: 69-55=14, Resulting Numbers: [75, 2, 14] Generated Node #0,0: 34:[75, 2, 14] Operation: 69-55=14 Exploring Operation: 75-55=20, Resulting Numbers: [2, 69, 20] Generated Node #0,1: 34:[2, 69, 20] Operation: 75-55=20 Exploring Operation: 75-2=73, Resulting Numbers: [55, 69, 73] Generated Node #0,2: 34:[55, 69, 73] Operation: 75-2=73 Exploring Operation: 75-69=6, Resulting Numbers: [2, 55, 6] Generated Node #0,3: 34:[2, 55, 6] Operation: 75-69=6 Moving to Node #0,3 Current State: 34:[2, 55, 6], Operations: ['75-69=6'] Exploring Operation: 55-2=53, Resulting Numbers: [6, 53] Generated Node #0,3,0: 34:[6, 53] Operation: 55-2=53 Exploring Operation: 6/2=3, Resulting Numbers: [55, 3] Generated Node #0,3,1: 34:[55, 3] Operation: 6/2=3 Exploring Operation: 55-6=49, Resulting Numbers: [2, 49] Generated Node #0,3,2: 34:[2, 49] Operation: 55-6=49 Exploring Operation: 6-2=4, Resulting Numbers: [55, 4] Generated Node #0,3,3: 34:[55, 4] Operation: 6-2=4 Moving to Node #0,1 Current State: 34:[2, 69, 20], Operations: ['75-55=20'] Exploring Operation: 69-2=67, Resulting Numbers: [20, 67] Generated Node #0,1,0: 34:[20, 67] Operation: 69-2=67 Exploring Operation: 2+69=71, Resulting Numbers: [20, 71] Generated Node #0,1,1: 34:[20, 71] Operation: 2+69=71 Exploring Operation: 69-20=49, Resulting Numbers: [2, 49] Generated Node #0,1,2: 34:[2, 49] Operation: 69-20=49 Exploring Operation: 20-2=18, Resulting Numbers: [69, 18] Generated Node #0,1,3: 34:[69, 18] Operation: 20-2=18 Moving to Node #0,0 Current State: 34:[75, 2, 14], Operations: ['69-55=14'] Exploring Operation: 75+2=77, Resulting Numbers: [14, 77] Generated Node #0,0,0: 34:[14, 77] Operation: 75+2=77 Exploring Operation: 75-14=61, Resulting Numbers: [2, 61] Generated Node #0,0,1: 34:[2, 61] Operation: 75-14=61 Exploring Operation: 2+14=16, Resulting Numbers: [75, 16] Generated Node #0,0,2: 34:[75, 16] Operation: 2+14=16 Exploring Operation: 75-2=73, Resulting Numbers: [14, 73] Generated Node #0,0,3: 34:[14, 73] Operation: 75-2=73 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[2, 61], Operations: ['69-55=14', '75-14=61'] Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,34 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[75, 16], Operations: ['69-55=14', '2+14=16'] Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,34 unequal: No Solution Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,34 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[14, 73], Operations: ['69-55=14', '75-2=73'] Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 14*73=1022, Resulting Numbers: [1022] 1022,34 unequal: No Solution Exploring Operation: 14+73=87, Resulting Numbers: [87] 87,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[14, 77], Operations: ['69-55=14', '75+2=77'] Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,34 unequal: No Solution Exploring Operation: 14*77=1078, Resulting Numbers: [1078] 1078,34 unequal: No Solution Exploring Operation: 14+77=91, Resulting Numbers: [91] 91,34 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: 34:[55, 69, 73], Operations: ['75-2=73'] Exploring Operation: 69-55=14, Resulting Numbers: [73, 14] Generated Node #0,2,0: 34:[73, 14] Operation: 69-55=14 Exploring Operation: 55+69=124, Resulting Numbers: [73, 124] Generated Node #0,2,1: 34:[73, 124] Operation: 55+69=124 Exploring Operation: 73-55=18, Resulting Numbers: [69, 18] Generated Node #0,2,2: 34:[69, 18] Operation: 73-55=18 Exploring Operation: 73-69=4, Resulting Numbers: [55, 4] Generated Node #0,2,3: 34:[55, 4] Operation: 73-69=4 Moving to Node #0,3,2 Current State: 34:[2, 49], Operations: ['75-69=6', '55-6=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,34 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,34 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[2, 49], Operations: ['75-55=20', '69-20=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,34 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[55, 3], Operations: ['75-69=6', '6/2=3'] Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,34 unequal: No Solution Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,34 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[6, 53], Operations: ['75-69=6', '55-2=53'] Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,34 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[55, 4], Operations: ['75-69=6', '6-2=4'] Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,34 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[55, 4], Operations: ['75-2=73', '73-69=4'] Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,34 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[69, 18], Operations: ['75-55=20', '20-2=18'] Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,34 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[20, 67], Operations: ['75-55=20', '69-2=67'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,34 unequal: No Solution Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,34 unequal: No Solution Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[69, 18], Operations: ['75-2=73', '73-55=18'] Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,34 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[20, 71], Operations: ['75-55=20', '2+69=71'] Exploring Operation: 20+71=91, Resulting Numbers: [91] 91,34 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 20*71=1420, Resulting Numbers: [1420] 1420,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[73, 14], Operations: ['75-2=73', '69-55=14'] Exploring Operation: 73*14=1022, Resulting Numbers: [1022] 1022,34 unequal: No Solution Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,34 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[73, 124], Operations: ['75-2=73', '55+69=124'] Exploring Operation: 73*124=9052, Resulting Numbers: [9052] 9052,34 unequal: No Solution Exploring Operation: 73+124=197, Resulting Numbers: [197] 197,34 unequal: No Solution Exploring Operation: 124-73=51, Resulting Numbers: [51] 51,34 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 33, 79, 13, 56 ]
15
[ "33+79=112", "112/56=2", "13+2=15" ]
Current State: 15:[33, 79, 13, 56], Operations: [] Exploring Operation: 33+79=112, Resulting Numbers: [13, 56, 112] Generated Node #2: [13, 56, 112] from Operation: 33+79=112 Current State: 15:[13, 56, 112], Operations: ['33+79=112'] Exploring Operation: 112/56=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 112/56=2 Current State: 15:[13, 2], Operations: ['33+79=112', '112/56=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[33, 79, 13, 56], Operations: [] Exploring Operation: 79-56=23, Resulting Numbers: [33, 13, 23] Generated Node #0,0: 15:[33, 13, 23] Operation: 79-56=23 Exploring Operation: 79-33=46, Resulting Numbers: [13, 56, 46] Generated Node #0,1: 15:[13, 56, 46] Operation: 79-33=46 Exploring Operation: 56-33=23, Resulting Numbers: [79, 13, 23] Generated Node #0,2: 15:[79, 13, 23] Operation: 56-33=23 Exploring Operation: 33-13=20, Resulting Numbers: [79, 56, 20] Generated Node #0,3: 15:[79, 56, 20] Operation: 33-13=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[33, 13, 23], Operations: ['79-56=23'] Exploring Operation: 23-13=10, Resulting Numbers: [33, 10] Generated Node #0,0,0: 15:[33, 10] Operation: 23-13=10 Exploring Operation: 33-13=20, Resulting Numbers: [23, 20] Generated Node #0,0,1: 15:[23, 20] Operation: 33-13=20 Exploring Operation: 33-23=10, Resulting Numbers: [13, 10] Generated Node #0,0,2: 15:[13, 10] Operation: 33-23=10 Exploring Operation: 33+13=46, Resulting Numbers: [23, 46] Generated Node #0,0,3: 15:[23, 46] Operation: 33+13=46 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 15:[13, 10], Operations: ['79-56=23', '33-23=10'] Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,15 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,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:[23, 20], Operations: ['79-56=23', '33-13=20'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,15 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,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:[33, 10], Operations: ['79-56=23', '23-13=10'] Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,15 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,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:[23, 46], Operations: ['79-56=23', '33+13=46'] Exploring Operation: 23*46=1058, Resulting Numbers: [1058] 1058,15 unequal: No Solution Exploring Operation: 23+46=69, Resulting Numbers: [69] 69,15 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,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,1 Current State: 15:[13, 56, 46], Operations: ['79-33=46'] Exploring Operation: 56-13=43, Resulting Numbers: [46, 43] Generated Node #0,1,0: 15:[46, 43] Operation: 56-13=43 Exploring Operation: 56-46=10, Resulting Numbers: [13, 10] Generated Node #0,1,1: 15:[13, 10] Operation: 56-46=10 Exploring Operation: 13+56=69, Resulting Numbers: [46, 69] Generated Node #0,1,2: 15:[46, 69] Operation: 13+56=69 Exploring Operation: 46-13=33, Resulting Numbers: [56, 33] Generated Node #0,1,3: 15:[56, 33] Operation: 46-13=33 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[13, 10], Operations: ['79-33=46', '56-46=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,15 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,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,0 Current State: 15:[46, 43], Operations: ['79-33=46', '56-13=43'] Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 46*43=1978, Resulting Numbers: [1978] 1978,15 unequal: No Solution Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,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:[56, 33], Operations: ['79-33=46', '46-13=33'] Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 56+33=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 56*33=1848, Resulting Numbers: [1848] 1848,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:[46, 69], Operations: ['79-33=46', '13+56=69'] Exploring Operation: 46+69=115, Resulting Numbers: [115] 115,15 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 46*69=3174, Resulting Numbers: [3174] 3174,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:[79, 13, 23], Operations: ['56-33=23'] Exploring Operation: 79-13=66, Resulting Numbers: [23, 66] Generated Node #0,2,0: 15:[23, 66] Operation: 79-13=66 Exploring Operation: 79-23=56, Resulting Numbers: [13, 56] Generated Node #0,2,1: 15:[13, 56] Operation: 79-23=56 Exploring Operation: 79+13=92, Resulting Numbers: [23, 92] Generated Node #0,2,2: 15:[23, 92] Operation: 79+13=92 Exploring Operation: 23-13=10, Resulting Numbers: [79, 10] Generated Node #0,2,3: 15:[79, 10] Operation: 23-13=10 Moving to Node #0,2,1 Current State: 15:[13, 56], Operations: ['56-33=23', '79-23=56'] Exploring Operation: 13*56=728, Resulting Numbers: [728] 728,15 unequal: No Solution Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,15 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[23, 66], Operations: ['56-33=23', '79-13=66'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 23+66=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 23*66=1518, Resulting Numbers: [1518] 1518,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[79, 10], Operations: ['56-33=23', '23-13=10'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,15 unequal: No Solution Exploring Operation: 79+10=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 79*10=790, Resulting Numbers: [790] 790,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[23, 92], Operations: ['56-33=23', '79+13=92'] Exploring Operation: 92/23=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 23*92=2116, Resulting Numbers: [2116] 2116,15 unequal: No Solution Exploring Operation: 23+92=115, Resulting Numbers: [115] 115,15 unequal: No Solution Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[79, 56, 20], Operations: ['33-13=20'] Exploring Operation: 79-56=23, Resulting Numbers: [20, 23] Generated Node #0,3,0: 15:[20, 23] Operation: 79-56=23 Exploring Operation: 79+56=135, Resulting Numbers: [20, 135] Generated Node #0,3,1: 15:[20, 135] Operation: 79+56=135 Exploring Operation: 56-20=36, Resulting Numbers: [79, 36] Generated Node #0,3,2: 15:[79, 36] Operation: 56-20=36 Exploring Operation: 79-20=59, Resulting Numbers: [56, 59] Generated Node #0,3,3: 15:[56, 59] Operation: 79-20=59 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 15:[20, 23], Operations: ['33-13=20', '79-56=23'] Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,15 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,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,3,2 Current State: 15:[79, 36], Operations: ['33-13=20', '56-20=36'] Exploring Operation: 79*36=2844, Resulting Numbers: [2844] 2844,15 unequal: No Solution Exploring Operation: 79+36=115, Resulting Numbers: [115] 115,15 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,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,3,3 Current State: 15:[56, 59], Operations: ['33-13=20', '79-20=59'] Exploring Operation: 56+59=115, Resulting Numbers: [115] 115,15 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 56*59=3304, Resulting Numbers: [3304] 3304,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,3,1 Current State: 15:[20, 135], Operations: ['33-13=20', '79+56=135'] Exploring Operation: 20*135=2700, Resulting Numbers: [2700] 2700,15 unequal: No Solution Exploring Operation: 20+135=155, Resulting Numbers: [155] 155,15 unequal: No Solution Exploring Operation: 135-20=115, Resulting Numbers: [115] 115,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 No solution found.
0
hs_4
mult_heuristic
[ 17, 98, 6, 34 ]
86
[ "34/17=2", "6*2=12", "98-12=86" ]
Current State: 86:[17, 98, 6, 34], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [98, 6, 2] Generated Node #2: [98, 6, 2] from Operation: 34/17=2 Current State: 86:[98, 6, 2], Operations: ['34/17=2'] Exploring Operation: 6*2=12, Resulting Numbers: [98, 12] Generated Node #3: [98, 12] from Operation: 6*2=12 Current State: 86:[98, 12], Operations: ['34/17=2', '6*2=12'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[17, 98, 6, 34], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [98, 6, 2] Generated Node #0,0: 86:[98, 6, 2] Operation: 34/17=2 Moving to Node #0,0 Current State: 86:[98, 6, 2], Operations: ['34/17=2'] Exploring Operation: 98-6=92, Resulting Numbers: [2, 92] Generated Node #0,0,0: 86:[2, 92] Operation: 98-6=92 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[2, 92], Operations: ['34/17=2', '98-6=92'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 58, 58, 9 ]
65
[ "58-42=16", "58-9=49", "16+49=65" ]
Current State: 65:[42, 58, 58, 9], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [9, 16] Generated Node #2: [9, 16] from Operation: 58-42=16 Current State: 65:[9, 16], Operations: ['58-42=16'] Exploring Operation: 58-9=49, Resulting Numbers: [16, 49] Generated Node #3: [16, 49] from Operation: 58-9=49 Current State: 65:[16, 49], Operations: ['58-42=16', '58-9=49'] Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[42, 58, 58, 9], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [58, 9, 16] Generated Node #0,0: 65:[58, 9, 16] Operation: 58-42=16 Moving to Node #0,0 Current State: 65:[58, 9, 16], Operations: ['58-42=16'] Exploring Operation: 58+9=67, Resulting Numbers: [16, 67] Generated Node #0,0,0: 65:[16, 67] Operation: 58+9=67 Moving to Node #0,0,0 Current State: 65:[16, 67], Operations: ['58-42=16', '58+9=67'] Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,65 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 38, 7, 1, 77 ]
32
[ "38+7=45", "1*77=77", "77-45=32" ]
Current State: 32:[38, 7, 1, 77], Operations: [] Exploring Operation: 38+7=45, Resulting Numbers: [1, 77, 45] Generated Node #2: [1, 77, 45] from Operation: 38+7=45 Current State: 32:[1, 77, 45], Operations: ['38+7=45'] Exploring Operation: 1*77=77, Resulting Numbers: [45, 77] Generated Node #3: [45, 77] from Operation: 1*77=77 Current State: 32:[45, 77], Operations: ['38+7=45', '1*77=77'] Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[38, 7, 1, 77], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [38, 1, 11] Generated Node #0,0: 32:[38, 1, 11] Operation: 77/7=11 Exploring Operation: 77-38=39, Resulting Numbers: [7, 1, 39] Generated Node #0,1: 32:[7, 1, 39] Operation: 77-38=39 Moving to Node #0,1 Current State: 32:[7, 1, 39], Operations: ['77-38=39'] Exploring Operation: 39-7=32, Resulting Numbers: [1, 32] Generated Node #0,1,0: 32:[1, 32] Operation: 39-7=32 Exploring Operation: 7+1=8, Resulting Numbers: [39, 8] Generated Node #0,1,1: 32:[39, 8] Operation: 7+1=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[1, 32], Operations: ['77-38=39', '39-7=32'] Exploring Operation: 1*32=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[38, 7, 1, 77], Operations: [] Exploring Operation: 77-38=39, Resulting Numbers: [7, 1, 39] Generated Node #0,1: 32:[7, 1, 39] Operation: 77-38=39 Moving to Node #0,1 Current State: 32:[7, 1, 39], Operations: ['77-38=39'] Exploring Operation: 39-7=32, Resulting Numbers: [1, 32] Generated Node #0,1,0: 32:[1, 32] Operation: 39-7=32 Moving to Node #0,1,0 Current State: 32:[1, 32], Operations: ['77-38=39', '39-7=32'] Exploring Operation: 1*32=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 41, 20, 23, 85 ]
38
[ "23-20=3", "41*3=123", "123-85=38" ]
Current State: 38:[41, 20, 23, 85], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [41, 85, 3] Generated Node #2: [41, 85, 3] from Operation: 23-20=3 Current State: 38:[41, 85, 3], Operations: ['23-20=3'] Exploring Operation: 41*3=123, Resulting Numbers: [85, 123] Generated Node #3: [85, 123] from Operation: 41*3=123 Current State: 38:[85, 123], Operations: ['23-20=3', '41*3=123'] Exploring Operation: 123-85=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[41, 20, 23, 85], Operations: [] Exploring Operation: 85-20=65, Resulting Numbers: [41, 23, 65] Generated Node #0,0: 38:[41, 23, 65] Operation: 85-20=65 Exploring Operation: 85-23=62, Resulting Numbers: [41, 20, 62] Generated Node #0,1: 38:[41, 20, 62] Operation: 85-23=62 Exploring Operation: 85-41=44, Resulting Numbers: [20, 23, 44] Generated Node #0,2: 38:[20, 23, 44] Operation: 85-41=44 Moving to Node #0,2 Current State: 38:[20, 23, 44], Operations: ['85-41=44'] Exploring Operation: 23-20=3, Resulting Numbers: [44, 3] Generated Node #0,2,0: 38:[44, 3] Operation: 23-20=3 Exploring Operation: 44-23=21, Resulting Numbers: [20, 21] Generated Node #0,2,1: 38:[20, 21] Operation: 44-23=21 Exploring Operation: 44-20=24, Resulting Numbers: [23, 24] Generated Node #0,2,2: 38:[23, 24] Operation: 44-20=24 Moving to Node #0,1 Current State: 38:[41, 20, 62], Operations: ['85-23=62'] Exploring Operation: 41-20=21, Resulting Numbers: [62, 21] Generated Node #0,1,0: 38:[62, 21] Operation: 41-20=21 Exploring Operation: 62-20=42, Resulting Numbers: [41, 42] Generated Node #0,1,1: 38:[41, 42] Operation: 62-20=42 Exploring Operation: 62-41=21, Resulting Numbers: [20, 21] Generated Node #0,1,2: 38:[20, 21] Operation: 62-41=21 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[20, 21], Operations: ['85-23=62', '62-41=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[41, 42], Operations: ['85-23=62', '62-20=42'] Exploring Operation: 41*42=1722, Resulting Numbers: [1722] 1722,38 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 41+42=83, Resulting Numbers: [83] 83,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[62, 21], Operations: ['85-23=62', '41-20=21'] Exploring Operation: 62*21=1302, Resulting Numbers: [1302] 1302,38 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 62+21=83, Resulting Numbers: [83] 83,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 38:[41, 23, 65], Operations: ['85-20=65'] Exploring Operation: 65-23=42, Resulting Numbers: [41, 42] Generated Node #0,0,0: 38:[41, 42] Operation: 65-23=42 Exploring Operation: 65-41=24, Resulting Numbers: [23, 24] Generated Node #0,0,1: 38:[23, 24] Operation: 65-41=24 Exploring Operation: 41-23=18, Resulting Numbers: [65, 18] Generated Node #0,0,2: 38:[65, 18] Operation: 41-23=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[41, 42], Operations: ['85-20=65', '65-23=42'] Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 41+42=83, Resulting Numbers: [83] 83,38 unequal: No Solution Exploring Operation: 41*42=1722, Resulting Numbers: [1722] 1722,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[23, 24], Operations: ['85-20=65', '65-41=24'] Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,38 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[65, 18], Operations: ['85-20=65', '41-23=18'] Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,38 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,38 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,38 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: 38:[20, 21], Operations: ['85-41=44', '44-23=21'] Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,38 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[44, 3], Operations: ['85-41=44', '23-20=3'] Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,38 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[23, 24], Operations: ['85-41=44', '44-20=24'] Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,38 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,38 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 30, 28, 80, 22 ]
36
[ "30-28=2", "22*2=44", "80-44=36" ]
Current State: 36:[30, 28, 80, 22], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [80, 22, 2] Generated Node #2: [80, 22, 2] from Operation: 30-28=2 Current State: 36:[80, 22, 2], Operations: ['30-28=2'] Exploring Operation: 22*2=44, Resulting Numbers: [80, 44] Generated Node #3: [80, 44] from Operation: 22*2=44 Current State: 36:[80, 44], Operations: ['30-28=2', '22*2=44'] Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[30, 28, 80, 22], Operations: [] Exploring Operation: 80-28=52, Resulting Numbers: [30, 22, 52] Generated Node #0,0: 36:[30, 22, 52] Operation: 80-28=52 Exploring Operation: 30-28=2, Resulting Numbers: [80, 22, 2] Generated Node #0,1: 36:[80, 22, 2] Operation: 30-28=2 Exploring Operation: 28-22=6, Resulting Numbers: [30, 80, 6] Generated Node #0,2: 36:[30, 80, 6] Operation: 28-22=6 Exploring Operation: 80-22=58, Resulting Numbers: [30, 28, 58] Generated Node #0,3: 36:[30, 28, 58] Operation: 80-22=58 Exploring Operation: 80-30=50, Resulting Numbers: [28, 22, 50] Generated Node #0,4: 36:[28, 22, 50] Operation: 80-30=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[30, 22, 52], Operations: ['80-28=52'] Exploring Operation: 30+22=52, Resulting Numbers: [52, 52] Generated Node #0,0,0: 36:[52, 52] Operation: 30+22=52 Exploring Operation: 52-30=22, Resulting Numbers: [22, 22] Generated Node #0,0,1: 36:[22, 22] Operation: 52-30=22 Exploring Operation: 30-22=8, Resulting Numbers: [52, 8] Generated Node #0,0,2: 36:[52, 8] Operation: 30-22=8 Exploring Operation: 52-22=30, Resulting Numbers: [30, 30] Generated Node #0,0,3: 36:[30, 30] Operation: 52-22=30 Exploring Operation: 22+52=74, Resulting Numbers: [30, 74] Generated Node #0,0,4: 36:[30, 74] Operation: 22+52=74 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[22, 22], Operations: ['80-28=52', '52-30=22'] Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,36 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,36 unequal: No Solution No 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: 36:[30, 30], Operations: ['80-28=52', '52-22=30'] Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,36 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,36 unequal: No Solution No 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: 36:[52, 8], Operations: ['80-28=52', '30-22=8'] Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,36 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,36 unequal: No Solution No 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: 36:[52, 52], Operations: ['80-28=52', '30+22=52'] Exploring Operation: 52*52=2704, Resulting Numbers: [2704] 2704,36 unequal: No Solution Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,36 unequal: No Solution Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,36 unequal: No Solution No 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: 36:[30, 74], Operations: ['80-28=52', '22+52=74'] Exploring Operation: 30*74=2220, Resulting Numbers: [2220] 2220,36 unequal: No Solution Exploring Operation: 30+74=104, Resulting Numbers: [104] 104,36 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,36 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: 36:[28, 22, 50], Operations: ['80-30=50'] Exploring Operation: 28-22=6, Resulting Numbers: [50, 6] Generated Node #0,4,0: 36:[50, 6] Operation: 28-22=6 Exploring Operation: 22+50=72, Resulting Numbers: [28, 72] Generated Node #0,4,1: 36:[28, 72] Operation: 22+50=72 Exploring Operation: 50-22=28, Resulting Numbers: [28, 28] Generated Node #0,4,2: 36:[28, 28] Operation: 50-22=28 Exploring Operation: 50-28=22, Resulting Numbers: [22, 22] Generated Node #0,4,3: 36:[22, 22] Operation: 50-28=22 Exploring Operation: 28+22=50, Resulting Numbers: [50, 50] Generated Node #0,4,4: 36:[50, 50] Operation: 28+22=50 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 36:[22, 22], Operations: ['80-30=50', '50-28=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,36 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,36 unequal: No Solution No 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: 36:[50, 6], Operations: ['80-30=50', '28-22=6'] Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,36 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,36 unequal: No Solution No 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: 36:[28, 28], Operations: ['80-30=50', '50-22=28'] Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,36 unequal: No Solution No 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: 36:[50, 50], Operations: ['80-30=50', '28+22=50'] Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,36 unequal: No Solution Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,36 unequal: No Solution No 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: 36:[28, 72], Operations: ['80-30=50', '22+50=72'] Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 28+72=100, Resulting Numbers: [100] 100,36 unequal: No Solution Exploring Operation: 28*72=2016, Resulting Numbers: [2016] 2016,36 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: 36:[30, 28, 58], Operations: ['80-22=58'] Exploring Operation: 58-30=28, Resulting Numbers: [28, 28] Generated Node #0,3,0: 36:[28, 28] Operation: 58-30=28 Exploring Operation: 30-28=2, Resulting Numbers: [58, 2] Generated Node #0,3,1: 36:[58, 2] Operation: 30-28=2 Exploring Operation: 58-28=30, Resulting Numbers: [30, 30] Generated Node #0,3,2: 36:[30, 30] Operation: 58-28=30 Exploring Operation: 28+58=86, Resulting Numbers: [30, 86] Generated Node #0,3,3: 36:[30, 86] Operation: 28+58=86 Exploring Operation: 30+28=58, Resulting Numbers: [58, 58] Generated Node #0,3,4: 36:[58, 58] Operation: 30+28=58 Moving to Node #0,3,2 Current State: 36:[30, 30], Operations: ['80-22=58', '58-28=30'] Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,36 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[28, 28], Operations: ['80-22=58', '58-30=28'] Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,36 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[58, 2], Operations: ['80-22=58', '30-28=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[58, 58], Operations: ['80-22=58', '30+28=58'] Exploring Operation: 58/58=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 58+58=116, Resulting Numbers: [116] 116,36 unequal: No Solution Exploring Operation: 58-58=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 58*58=3364, Resulting Numbers: [3364] 3364,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[30, 86], Operations: ['80-22=58', '28+58=86'] Exploring Operation: 30*86=2580, Resulting Numbers: [2580] 2580,36 unequal: No Solution Exploring Operation: 30+86=116, Resulting Numbers: [116] 116,36 unequal: No Solution Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[80, 22, 2], Operations: ['30-28=2'] Exploring Operation: 22-2=20, Resulting Numbers: [80, 20] Generated Node #0,1,0: 36:[80, 20] Operation: 22-2=20 Exploring Operation: 22/2=11, Resulting Numbers: [80, 11] Generated Node #0,1,1: 36:[80, 11] Operation: 22/2=11 Exploring Operation: 80/2=40, Resulting Numbers: [22, 40] Generated Node #0,1,2: 36:[22, 40] Operation: 80/2=40 Exploring Operation: 80-22=58, Resulting Numbers: [2, 58] Generated Node #0,1,3: 36:[2, 58] Operation: 80-22=58 Exploring Operation: 80-2=78, Resulting Numbers: [22, 78] Generated Node #0,1,4: 36:[22, 78] Operation: 80-2=78 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 36:[22, 40], Operations: ['30-28=2', '80/2=40'] Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,36 unequal: No Solution Exploring Operation: 22*40=880, Resulting Numbers: [880] 880,36 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,36 unequal: No Solution No 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: 36:[2, 58], Operations: ['30-28=2', '80-22=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,36 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,36 unequal: No Solution No 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: 36:[80, 11], Operations: ['30-28=2', '22/2=11'] Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,36 unequal: No Solution Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,36 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,36 unequal: No Solution No 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: 36:[80, 20], Operations: ['30-28=2', '22-2=20'] Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 80*20=1600, Resulting Numbers: [1600] 1600,36 unequal: No Solution Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,36 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,36 unequal: No Solution No 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: 36:[22, 78], Operations: ['30-28=2', '80-2=78'] Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 22*78=1716, Resulting Numbers: [1716] 1716,36 unequal: No Solution Exploring Operation: 22+78=100, Resulting Numbers: [100] 100,36 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: 36:[30, 80, 6], Operations: ['28-22=6'] Exploring Operation: 30/6=5, Resulting Numbers: [80, 5] Generated Node #0,2,0: 36:[80, 5] Operation: 30/6=5 Exploring Operation: 30-6=24, Resulting Numbers: [80, 24] Generated Node #0,2,1: 36:[80, 24] Operation: 30-6=24 Exploring Operation: 30+6=36, Resulting Numbers: [80, 36] Generated Node #0,2,2: 36:[80, 36] Operation: 30+6=36 Exploring Operation: 80-30=50, Resulting Numbers: [6, 50] Generated Node #0,2,3: 36:[6, 50] Operation: 80-30=50 Exploring Operation: 80-6=74, Resulting Numbers: [30, 74] Generated Node #0,2,4: 36:[30, 74] Operation: 80-6=74 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 36:[6, 50], Operations: ['28-22=6', '80-30=50'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,36 unequal: No Solution Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,36 unequal: No Solution No 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: 36:[80, 36], Operations: ['28-22=6', '30+6=36'] Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 80*36=2880, Resulting Numbers: [2880] 2880,36 unequal: No Solution Exploring Operation: 80+36=116, Resulting Numbers: [116] 116,36 unequal: No Solution No 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: 36:[30, 74], Operations: ['28-22=6', '80-6=74'] Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 30*74=2220, Resulting Numbers: [2220] 2220,36 unequal: No Solution Exploring Operation: 30+74=104, Resulting Numbers: [104] 104,36 unequal: No Solution No 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: 36:[80, 5], Operations: ['28-22=6', '30/6=5'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 80*5=400, Resulting Numbers: [400] 400,36 unequal: No Solution Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,36 unequal: No Solution No 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: 36:[80, 24], Operations: ['28-22=6', '30-6=24'] Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 80+24=104, Resulting Numbers: [104] 104,36 unequal: No Solution Exploring Operation: 80*24=1920, Resulting Numbers: [1920] 1920,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 10, 24, 20, 17 ]
71
[ "10+24=34", "20+17=37", "34+37=71" ]
Current State: 71:[10, 24, 20, 17], Operations: [] Exploring Operation: 10+24=34, Resulting Numbers: [20, 17, 34] Generated Node #2: [20, 17, 34] from Operation: 10+24=34 Current State: 71:[20, 17, 34], Operations: ['10+24=34'] Exploring Operation: 20+17=37, Resulting Numbers: [34, 37] Generated Node #3: [34, 37] from Operation: 20+17=37 Current State: 71:[34, 37], Operations: ['10+24=34', '20+17=37'] Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[10, 24, 20, 17], Operations: [] Exploring Operation: 10+24=34, Resulting Numbers: [20, 17, 34] Generated Node #0,0: 71:[20, 17, 34] Operation: 10+24=34 Moving to Node #0,0 Current State: 71:[20, 17, 34], Operations: ['10+24=34'] Exploring Operation: 20+17=37, Resulting Numbers: [34, 37] Generated Node #0,0,0: 71:[34, 37] Operation: 20+17=37 Moving to Node #0,0,0 Current State: 71:[34, 37], Operations: ['10+24=34', '20+17=37'] Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[10, 24, 20, 17], Operations: [] Exploring Operation: 10+24=34, Resulting Numbers: [20, 17, 34] Generated Node #0,0: 71:[20, 17, 34] Operation: 10+24=34 Moving to Node #0,0 Current State: 71:[20, 17, 34], Operations: ['10+24=34'] Exploring Operation: 20+17=37, Resulting Numbers: [34, 37] Generated Node #0,0,0: 71:[34, 37] Operation: 20+17=37 Moving to Node #0,0,0 Current State: 71:[34, 37], Operations: ['10+24=34', '20+17=37'] Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 44, 44, 15, 70 ]
54
[ "44/44=1", "70-15=55", "55-1=54" ]
Current State: 54:[44, 44, 15, 70], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [15, 70, 1] Generated Node #2: [15, 70, 1] from Operation: 44/44=1 Current State: 54:[15, 70, 1], Operations: ['44/44=1'] Exploring Operation: 70-15=55, Resulting Numbers: [1, 55] Generated Node #3: [1, 55] from Operation: 70-15=55 Current State: 54:[1, 55], Operations: ['44/44=1', '70-15=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[44, 44, 15, 70], Operations: [] Exploring Operation: 70-44=26, Resulting Numbers: [44, 15, 26] Generated Node #0,0: 54:[44, 15, 26] Operation: 70-44=26 Exploring Operation: 44/44=1, Resulting Numbers: [15, 70, 1] Generated Node #0,1: 54:[15, 70, 1] Operation: 44/44=1 Exploring Operation: 70-44=26, Resulting Numbers: [44, 15, 26] Generated Node #0,2: 54:[44, 15, 26] Operation: 70-44=26 Moving to Node #0,0 Current State: 54:[44, 15, 26], Operations: ['70-44=26'] Exploring Operation: 44-15=29, Resulting Numbers: [26, 29] Generated Node #0,0,0: 54:[26, 29] Operation: 44-15=29 Exploring Operation: 44-26=18, Resulting Numbers: [15, 18] Generated Node #0,0,1: 54:[15, 18] Operation: 44-26=18 Exploring Operation: 44+15=59, Resulting Numbers: [26, 59] Generated Node #0,0,2: 54:[26, 59] Operation: 44+15=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[26, 29], Operations: ['70-44=26', '44-15=29'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,54 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[15, 18], Operations: ['70-44=26', '44-26=18'] Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,54 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[26, 59], Operations: ['70-44=26', '44+15=59'] Exploring Operation: 26*59=1534, Resulting Numbers: [1534] 1534,54 unequal: No Solution Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 26+59=85, Resulting Numbers: [85] 85,54 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: 54:[44, 15, 26], Operations: ['70-44=26'] Exploring Operation: 44+15=59, Resulting Numbers: [26, 59] Generated Node #0,2,0: 54:[26, 59] Operation: 44+15=59 Exploring Operation: 44-15=29, Resulting Numbers: [26, 29] Generated Node #0,2,1: 54:[26, 29] Operation: 44-15=29 Exploring Operation: 44-26=18, Resulting Numbers: [15, 18] Generated Node #0,2,2: 54:[15, 18] Operation: 44-26=18 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[26, 29], Operations: ['70-44=26', '44-15=29'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,54 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[15, 18], Operations: ['70-44=26', '44-26=18'] Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[26, 59], Operations: ['70-44=26', '44+15=59'] Exploring Operation: 26*59=1534, Resulting Numbers: [1534] 1534,54 unequal: No Solution Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 26+59=85, Resulting Numbers: [85] 85,54 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: 54:[15, 70, 1], Operations: ['44/44=1'] Exploring Operation: 15+1=16, Resulting Numbers: [70, 16] Generated Node #0,1,0: 54:[70, 16] Operation: 15+1=16 Exploring Operation: 70-1=69, Resulting Numbers: [15, 69] Generated Node #0,1,1: 54:[15, 69] Operation: 70-1=69 Exploring Operation: 70-15=55, Resulting Numbers: [1, 55] Generated Node #0,1,2: 54:[1, 55] Operation: 70-15=55 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[1, 55], Operations: ['44/44=1', '70-15=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[44, 44, 15, 70], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [15, 70, 1] Generated Node #0,1: 54:[15, 70, 1] Operation: 44/44=1 Moving to Node #0,1 Current State: 54:[15, 70, 1], Operations: ['44/44=1'] Exploring Operation: 70-15=55, Resulting Numbers: [1, 55] Generated Node #0,1,2: 54:[1, 55] Operation: 70-15=55 Moving to Node #0,1,2 Current State: 54:[1, 55], Operations: ['44/44=1', '70-15=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
mult_heuristic
[ 43, 64, 88, 5 ]
62
[ "64-43=21", "88-5=83", "83-21=62" ]
Current State: 62:[43, 64, 88, 5], Operations: [] Exploring Operation: 64-43=21, Resulting Numbers: [88, 5, 21] Generated Node #2: [88, 5, 21] from Operation: 64-43=21 Current State: 62:[88, 5, 21], Operations: ['64-43=21'] Exploring Operation: 88-5=83, Resulting Numbers: [21, 83] Generated Node #3: [21, 83] from Operation: 88-5=83 Current State: 62:[21, 83], Operations: ['64-43=21', '88-5=83'] Exploring Operation: 83-21=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[43, 64, 88, 5], Operations: [] Exploring Operation: 88-43=45, Resulting Numbers: [64, 5, 45] Generated Node #0,0: 62:[64, 5, 45] Operation: 88-43=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[64, 5, 45], Operations: ['88-43=45'] Exploring Operation: 45/5=9, Resulting Numbers: [64, 9] Generated Node #0,0,0: 62:[64, 9] Operation: 45/5=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[64, 9], Operations: ['88-43=45', '45/5=9'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 11, 46, 77, 49 ]
53
[ "77/11=7", "49/7=7", "46+7=53" ]
Current State: 53:[11, 46, 77, 49], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [46, 49, 7] Generated Node #2: [46, 49, 7] from Operation: 77/11=7 Current State: 53:[46, 49, 7], Operations: ['77/11=7'] Exploring Operation: 49/7=7, Resulting Numbers: [46, 7] Generated Node #3: [46, 7] from Operation: 49/7=7 Current State: 53:[46, 7], Operations: ['77/11=7', '49/7=7'] Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[11, 46, 77, 49], Operations: [] Exploring Operation: 11+46=57, Resulting Numbers: [77, 49, 57] Generated Node #0,0: 53:[77, 49, 57] Operation: 11+46=57 Exploring Operation: 11+49=60, Resulting Numbers: [46, 77, 60] Generated Node #0,1: 53:[46, 77, 60] Operation: 11+49=60 Exploring Operation: 77-11=66, Resulting Numbers: [46, 49, 66] Generated Node #0,2: 53:[46, 49, 66] Operation: 77-11=66 Moving to Node #0,2 Current State: 53:[46, 49, 66], Operations: ['77-11=66'] Exploring Operation: 46+49=95, Resulting Numbers: [66, 95] Generated Node #0,2,0: 53:[66, 95] Operation: 46+49=95 Exploring Operation: 66-49=17, Resulting Numbers: [46, 17] Generated Node #0,2,1: 53:[46, 17] Operation: 66-49=17 Exploring Operation: 66-46=20, Resulting Numbers: [49, 20] Generated Node #0,2,2: 53:[49, 20] Operation: 66-46=20 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[49, 20], Operations: ['77-11=66', '66-46=20'] Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,53 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[46, 17], Operations: ['77-11=66', '66-49=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[66, 95], Operations: ['77-11=66', '46+49=95'] Exploring Operation: 95-66=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 66*95=6270, Resulting Numbers: [6270] 6270,53 unequal: No Solution Exploring Operation: 66+95=161, Resulting Numbers: [161] 161,53 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: 53:[77, 49, 57], Operations: ['11+46=57'] Exploring Operation: 77-57=20, Resulting Numbers: [49, 20] Generated Node #0,0,0: 53:[49, 20] Operation: 77-57=20 Exploring Operation: 77-49=28, Resulting Numbers: [57, 28] Generated Node #0,0,1: 53:[57, 28] Operation: 77-49=28 Exploring Operation: 57-49=8, Resulting Numbers: [77, 8] Generated Node #0,0,2: 53:[77, 8] Operation: 57-49=8 Moving to Node #0,1 Current State: 53:[46, 77, 60], Operations: ['11+49=60'] Exploring Operation: 60-46=14, Resulting Numbers: [77, 14] Generated Node #0,1,0: 53:[77, 14] Operation: 60-46=14 Exploring Operation: 77-46=31, Resulting Numbers: [60, 31] Generated Node #0,1,1: 53:[60, 31] Operation: 77-46=31 Exploring Operation: 77-60=17, Resulting Numbers: [46, 17] Generated Node #0,1,2: 53:[46, 17] Operation: 77-60=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[60, 31], Operations: ['11+49=60', '77-46=31'] Exploring Operation: 60*31=1860, Resulting Numbers: [1860] 1860,53 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 60+31=91, Resulting Numbers: [91] 91,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[46, 17], Operations: ['11+49=60', '77-60=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[77, 14], Operations: ['11+49=60', '60-46=14'] Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,53 unequal: No Solution Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 53:[57, 28], Operations: ['11+46=57', '77-49=28'] Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 57+28=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 57*28=1596, Resulting Numbers: [1596] 1596,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[49, 20], Operations: ['11+46=57', '77-57=20'] Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,53 unequal: No Solution Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,53 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[77, 8], Operations: ['11+46=57', '57-49=8'] Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,53 unequal: No Solution Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 77*8=616, Resulting Numbers: [616] 616,53 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 30, 83, 5, 16 ]
92
[ "30+83=113", "5+16=21", "113-21=92" ]
Current State: 92:[30, 83, 5, 16], Operations: [] Exploring Operation: 30+83=113, Resulting Numbers: [5, 16, 113] Generated Node #2: [5, 16, 113] from Operation: 30+83=113 Current State: 92:[5, 16, 113], Operations: ['30+83=113'] Exploring Operation: 5+16=21, Resulting Numbers: [113, 21] Generated Node #3: [113, 21] from Operation: 5+16=21 Current State: 92:[113, 21], Operations: ['30+83=113', '5+16=21'] Exploring Operation: 113-21=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[30, 83, 5, 16], Operations: [] Exploring Operation: 83+16=99, Resulting Numbers: [30, 5, 99] Generated Node #0,0: 92:[30, 5, 99] Operation: 83+16=99 Exploring Operation: 83-30=53, Resulting Numbers: [5, 16, 53] Generated Node #0,1: 92:[5, 16, 53] Operation: 83-30=53 Exploring Operation: 30+16=46, Resulting Numbers: [83, 5, 46] Generated Node #0,2: 92:[83, 5, 46] Operation: 30+16=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[83, 5, 46], Operations: ['30+16=46'] Exploring Operation: 83-46=37, Resulting Numbers: [5, 37] Generated Node #0,2,0: 92:[5, 37] Operation: 83-46=37 Exploring Operation: 83-5=78, Resulting Numbers: [46, 78] Generated Node #0,2,1: 92:[46, 78] Operation: 83-5=78 Exploring Operation: 83+5=88, Resulting Numbers: [46, 88] Generated Node #0,2,2: 92:[46, 88] Operation: 83+5=88 Moving to Node #0,2,2 Current State: 92:[46, 88], Operations: ['30+16=46', '83+5=88'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 46+88=134, Resulting Numbers: [134] 134,92 unequal: No Solution Exploring Operation: 46*88=4048, Resulting Numbers: [4048] 4048,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[5, 37], Operations: ['30+16=46', '83-46=37'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[46, 78], Operations: ['30+16=46', '83-5=78'] Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 46*78=3588, Resulting Numbers: [3588] 3588,92 unequal: No Solution Exploring Operation: 46+78=124, Resulting Numbers: [124] 124,92 unequal: No Solution No 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: 92:[30, 5, 99], Operations: ['83+16=99'] Exploring Operation: 30-5=25, Resulting Numbers: [99, 25] Generated Node #0,0,0: 92:[99, 25] Operation: 30-5=25 Exploring Operation: 99-5=94, Resulting Numbers: [30, 94] Generated Node #0,0,1: 92:[30, 94] Operation: 99-5=94 Exploring Operation: 30/5=6, Resulting Numbers: [99, 6] Generated Node #0,0,2: 92:[99, 6] Operation: 30/5=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[99, 25], Operations: ['83+16=99', '30-5=25'] Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,92 unequal: No Solution Exploring Operation: 99*25=2475, Resulting Numbers: [2475] 2475,92 unequal: No Solution Exploring Operation: 99+25=124, Resulting Numbers: [124] 124,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[30, 94], Operations: ['83+16=99', '99-5=94'] Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,92 unequal: No Solution Exploring Operation: 30*94=2820, Resulting Numbers: [2820] 2820,92 unequal: No Solution Exploring Operation: 30+94=124, Resulting Numbers: [124] 124,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[99, 6], Operations: ['83+16=99', '30/5=6'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,92 unequal: No Solution Exploring Operation: 99+6=105, Resulting Numbers: [105] 105,92 unequal: No Solution Exploring Operation: 99*6=594, Resulting Numbers: [594] 594,92 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: 92:[5, 16, 53], Operations: ['83-30=53'] Exploring Operation: 53-5=48, Resulting Numbers: [16, 48] Generated Node #0,1,0: 92:[16, 48] Operation: 53-5=48 Exploring Operation: 53-16=37, Resulting Numbers: [5, 37] Generated Node #0,1,1: 92:[5, 37] Operation: 53-16=37 Exploring Operation: 5+16=21, Resulting Numbers: [53, 21] Generated Node #0,1,2: 92:[53, 21] Operation: 5+16=21 Moving to Node #0,1,0 Current State: 92:[16, 48], Operations: ['83-30=53', '53-5=48'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[53, 21], Operations: ['83-30=53', '5+16=21'] Exploring Operation: 53+21=74, Resulting Numbers: [74] 74,92 unequal: No Solution Exploring Operation: 53*21=1113, Resulting Numbers: [1113] 1113,92 unequal: No Solution Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[5, 37], Operations: ['83-30=53', '53-16=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,92 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,92 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
[ 63, 59, 2, 45 ]
75
[ "63+59=122", "2+45=47", "122-47=75" ]
Current State: 75:[63, 59, 2, 45], Operations: [] Exploring Operation: 63+59=122, Resulting Numbers: [2, 45, 122] Generated Node #2: [2, 45, 122] from Operation: 63+59=122 Current State: 75:[2, 45, 122], Operations: ['63+59=122'] Exploring Operation: 2+45=47, Resulting Numbers: [122, 47] Generated Node #3: [122, 47] from Operation: 2+45=47 Current State: 75:[122, 47], Operations: ['63+59=122', '2+45=47'] Exploring Operation: 122-47=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[63, 59, 2, 45], Operations: [] Exploring Operation: 59-45=14, Resulting Numbers: [63, 2, 14] Generated Node #0,0: 75:[63, 2, 14] Operation: 59-45=14 Exploring Operation: 63-59=4, Resulting Numbers: [2, 45, 4] Generated Node #0,1: 75:[2, 45, 4] Operation: 63-59=4 Exploring Operation: 59+45=104, Resulting Numbers: [63, 2, 104] Generated Node #0,2: 75:[63, 2, 104] Operation: 59+45=104 Exploring Operation: 63-45=18, Resulting Numbers: [59, 2, 18] Generated Node #0,3: 75:[59, 2, 18] Operation: 63-45=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[63, 2, 14], Operations: ['59-45=14'] Exploring Operation: 2+14=16, Resulting Numbers: [63, 16] Generated Node #0,0,0: 75:[63, 16] Operation: 2+14=16 Exploring Operation: 63+14=77, Resulting Numbers: [2, 77] Generated Node #0,0,1: 75:[2, 77] Operation: 63+14=77 Exploring Operation: 63+2=65, Resulting Numbers: [14, 65] Generated Node #0,0,2: 75:[14, 65] Operation: 63+2=65 Exploring Operation: 14/2=7, Resulting Numbers: [63, 7] Generated Node #0,0,3: 75:[63, 7] Operation: 14/2=7 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[2, 77], Operations: ['59-45=14', '63+14=77'] Exploring Operation: 2*77=154, Resulting Numbers: [154] 154,75 unequal: No Solution Exploring Operation: 2+77=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[63, 59, 2, 45], Operations: [] Exploring Operation: 59-45=14, Resulting Numbers: [63, 2, 14] Generated Node #0,0: 75:[63, 2, 14] Operation: 59-45=14 Moving to Node #0,0 Current State: 75:[63, 2, 14], Operations: ['59-45=14'] Exploring Operation: 63+14=77, Resulting Numbers: [2, 77] Generated Node #0,0,1: 75:[2, 77] Operation: 63+14=77 Moving to Node #0,0,1 Current State: 75:[2, 77], Operations: ['59-45=14', '63+14=77'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 5, 71, 20, 98 ]
23
[ "20/5=4", "98-71=27", "27-4=23" ]
Current State: 23:[5, 71, 20, 98], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [71, 98, 4] Generated Node #2: [71, 98, 4] from Operation: 20/5=4 Current State: 23:[71, 98, 4], Operations: ['20/5=4'] Exploring Operation: 98-71=27, Resulting Numbers: [4, 27] Generated Node #3: [4, 27] from Operation: 98-71=27 Current State: 23:[4, 27], Operations: ['20/5=4', '98-71=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[5, 71, 20, 98], Operations: [] Exploring Operation: 98-5=93, Resulting Numbers: [71, 20, 93] Generated Node #0,0: 23:[71, 20, 93] Operation: 98-5=93 Exploring Operation: 71-5=66, Resulting Numbers: [20, 98, 66] Generated Node #0,1: 23:[20, 98, 66] Operation: 71-5=66 Exploring Operation: 98-71=27, Resulting Numbers: [5, 20, 27] Generated Node #0,2: 23:[5, 20, 27] Operation: 98-71=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[5, 20, 27], Operations: ['98-71=27'] Exploring Operation: 27-5=22, Resulting Numbers: [20, 22] Generated Node #0,2,0: 23:[20, 22] Operation: 27-5=22 Exploring Operation: 5+20=25, Resulting Numbers: [27, 25] Generated Node #0,2,1: 23:[27, 25] Operation: 5+20=25 Exploring Operation: 20-5=15, Resulting Numbers: [27, 15] Generated Node #0,2,2: 23:[27, 15] Operation: 20-5=15 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 23:[20, 22], Operations: ['98-71=27', '27-5=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,23 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 23:[27, 25], Operations: ['98-71=27', '5+20=25'] Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 27*25=675, Resulting Numbers: [675] 675,23 unequal: No Solution Exploring Operation: 27+25=52, Resulting Numbers: [52] 52,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 23:[27, 15], Operations: ['98-71=27', '20-5=15'] Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,23 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[71, 20, 93], Operations: ['98-5=93'] Exploring Operation: 71-20=51, Resulting Numbers: [93, 51] Generated Node #0,0,0: 23:[93, 51] Operation: 71-20=51 Exploring Operation: 93-71=22, Resulting Numbers: [20, 22] Generated Node #0,0,1: 23:[20, 22] Operation: 93-71=22 Exploring Operation: 93-20=73, Resulting Numbers: [71, 73] Generated Node #0,0,2: 23:[71, 73] Operation: 93-20=73 Moving to Node #0,0,1 Current State: 23:[20, 22], Operations: ['98-5=93', '93-71=22'] Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,23 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[93, 51], Operations: ['98-5=93', '71-20=51'] Exploring Operation: 93-51=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 93+51=144, Resulting Numbers: [144] 144,23 unequal: No Solution Exploring Operation: 93*51=4743, Resulting Numbers: [4743] 4743,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[71, 73], Operations: ['98-5=93', '93-20=73'] Exploring Operation: 71*73=5183, Resulting Numbers: [5183] 5183,23 unequal: No Solution Exploring Operation: 71+73=144, Resulting Numbers: [144] 144,23 unequal: No Solution Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,23 unequal: No Solution No 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: 23:[20, 98, 66], Operations: ['71-5=66'] Exploring Operation: 98-66=32, Resulting Numbers: [20, 32] Generated Node #0,1,0: 23:[20, 32] Operation: 98-66=32 Exploring Operation: 98-20=78, Resulting Numbers: [66, 78] Generated Node #0,1,1: 23:[66, 78] Operation: 98-20=78 Exploring Operation: 66-20=46, Resulting Numbers: [98, 46] Generated Node #0,1,2: 23:[98, 46] Operation: 66-20=46 Moving to Node #0,1,0 Current State: 23:[20, 32], Operations: ['71-5=66', '98-66=32'] Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[66, 78], Operations: ['71-5=66', '98-20=78'] Exploring Operation: 66*78=5148, Resulting Numbers: [5148] 5148,23 unequal: No Solution Exploring Operation: 66+78=144, Resulting Numbers: [144] 144,23 unequal: No Solution Exploring Operation: 78-66=12, Resulting Numbers: [12] 12,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[98, 46], Operations: ['71-5=66', '66-20=46'] Exploring Operation: 98+46=144, Resulting Numbers: [144] 144,23 unequal: No Solution Exploring Operation: 98*46=4508, Resulting Numbers: [4508] 4508,23 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 85, 21, 46, 2 ]
55
[ "85-21=64", "46+64=110", "110/2=55" ]
Current State: 55:[85, 21, 46, 2], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [46, 2, 64] Generated Node #2: [46, 2, 64] from Operation: 85-21=64 Current State: 55:[46, 2, 64], Operations: ['85-21=64'] Exploring Operation: 46+64=110, Resulting Numbers: [2, 110] Generated Node #3: [2, 110] from Operation: 46+64=110 Current State: 55:[2, 110], Operations: ['85-21=64', '46+64=110'] Exploring Operation: 110/2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[85, 21, 46, 2], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [46, 2, 64] Generated Node #0,0: 55:[46, 2, 64] Operation: 85-21=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[46, 2, 64], Operations: ['85-21=64'] Exploring Operation: 64-46=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 55:[2, 18] Operation: 64-46=18 Moving to Node #0,0,0 Current State: 55:[2, 18], Operations: ['85-21=64', '64-46=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,55 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
[ 43, 47, 15, 8 ]
14
[ "43+47=90", "90/15=6", "8+6=14" ]
Current State: 14:[43, 47, 15, 8], Operations: [] Exploring Operation: 43+47=90, Resulting Numbers: [15, 8, 90] Generated Node #2: [15, 8, 90] from Operation: 43+47=90 Current State: 14:[15, 8, 90], Operations: ['43+47=90'] Exploring Operation: 90/15=6, Resulting Numbers: [8, 6] Generated Node #3: [8, 6] from Operation: 90/15=6 Current State: 14:[8, 6], Operations: ['43+47=90', '90/15=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[43, 47, 15, 8], Operations: [] Exploring Operation: 47-15=32, Resulting Numbers: [43, 8, 32] Generated Node #0,0: 14:[43, 8, 32] Operation: 47-15=32 Exploring Operation: 43-15=28, Resulting Numbers: [47, 8, 28] Generated Node #0,1: 14:[47, 8, 28] Operation: 43-15=28 Exploring Operation: 43-8=35, Resulting Numbers: [47, 15, 35] Generated Node #0,2: 14:[47, 15, 35] Operation: 43-8=35 Exploring Operation: 47-43=4, Resulting Numbers: [15, 8, 4] Generated Node #0,3: 14:[15, 8, 4] Operation: 47-43=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[15, 8, 4], Operations: ['47-43=4'] Exploring Operation: 8+4=12, Resulting Numbers: [15, 12] Generated Node #0,3,0: 14:[15, 12] Operation: 8+4=12 Exploring Operation: 8-4=4, Resulting Numbers: [15, 4] Generated Node #0,3,1: 14:[15, 4] Operation: 8-4=4 Exploring Operation: 15-8=7, Resulting Numbers: [4, 7] Generated Node #0,3,2: 14:[4, 7] Operation: 15-8=7 Exploring Operation: 8/4=2, Resulting Numbers: [15, 2] Generated Node #0,3,3: 14:[15, 2] Operation: 8/4=2 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 14:[15, 2], Operations: ['47-43=4', '8/4=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,14 unequal: No Solution No 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: 14:[4, 7], Operations: ['47-43=4', '15-8=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,14 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,14 unequal: No Solution No 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: 14:[15, 12], Operations: ['47-43=4', '8+4=12'] Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,14 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,14 unequal: No Solution No 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: 14:[15, 4], Operations: ['47-43=4', '8-4=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,14 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,14 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: 14:[43, 8, 32], Operations: ['47-15=32'] Exploring Operation: 32-8=24, Resulting Numbers: [43, 24] Generated Node #0,0,0: 14:[43, 24] Operation: 32-8=24 Exploring Operation: 43-8=35, Resulting Numbers: [32, 35] Generated Node #0,0,1: 14:[32, 35] Operation: 43-8=35 Exploring Operation: 43-32=11, Resulting Numbers: [8, 11] Generated Node #0,0,2: 14:[8, 11] Operation: 43-32=11 Exploring Operation: 32/8=4, Resulting Numbers: [43, 4] Generated Node #0,0,3: 14:[43, 4] Operation: 32/8=4 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 14:[8, 11], Operations: ['47-15=32', '43-32=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,14 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,14 unequal: No Solution No 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: 14:[43, 4], Operations: ['47-15=32', '32/8=4'] Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,14 unequal: No Solution No 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: 14:[43, 24], Operations: ['47-15=32', '32-8=24'] Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,14 unequal: No Solution Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,14 unequal: No Solution No 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: 14:[32, 35], Operations: ['47-15=32', '43-8=35'] Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,14 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,14 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: 14:[47, 8, 28], Operations: ['43-15=28'] Exploring Operation: 47-8=39, Resulting Numbers: [28, 39] Generated Node #0,1,0: 14:[28, 39] Operation: 47-8=39 Exploring Operation: 28-8=20, Resulting Numbers: [47, 20] Generated Node #0,1,1: 14:[47, 20] Operation: 28-8=20 Exploring Operation: 47+8=55, Resulting Numbers: [28, 55] Generated Node #0,1,2: 14:[28, 55] Operation: 47+8=55 Exploring Operation: 47-28=19, Resulting Numbers: [8, 19] Generated Node #0,1,3: 14:[8, 19] Operation: 47-28=19 Moving to Node #0,1,3 Current State: 14:[8, 19], Operations: ['43-15=28', '47-28=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,14 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[47, 20], Operations: ['43-15=28', '28-8=20'] Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,14 unequal: No Solution Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[28, 39], Operations: ['43-15=28', '47-8=39'] Exploring Operation: 28+39=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 28*39=1092, Resulting Numbers: [1092] 1092,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[28, 55], Operations: ['43-15=28', '47+8=55'] Exploring Operation: 28*55=1540, Resulting Numbers: [1540] 1540,14 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 28+55=83, Resulting Numbers: [83] 83,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,2 Current State: 14:[47, 15, 35], Operations: ['43-8=35'] Exploring Operation: 47-15=32, Resulting Numbers: [35, 32] Generated Node #0,2,0: 14:[35, 32] Operation: 47-15=32 Exploring Operation: 35-15=20, Resulting Numbers: [47, 20] Generated Node #0,2,1: 14:[47, 20] Operation: 35-15=20 Exploring Operation: 47+15=62, Resulting Numbers: [35, 62] Generated Node #0,2,2: 14:[35, 62] Operation: 47+15=62 Exploring Operation: 47-35=12, Resulting Numbers: [15, 12] Generated Node #0,2,3: 14:[15, 12] Operation: 47-35=12 Moving to Node #0,2,3 Current State: 14:[15, 12], Operations: ['43-8=35', '47-35=12'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[47, 20], Operations: ['43-8=35', '35-15=20'] Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,14 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[35, 32], Operations: ['43-8=35', '47-15=32'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[35, 62], Operations: ['43-8=35', '47+15=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,14 unequal: No Solution Exploring Operation: 35*62=2170, Resulting Numbers: [2170] 2170,14 unequal: No Solution Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,14 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
[ 91, 64, 40, 45 ]
19
[ "64*45=2880", "2880/40=72", "91-72=19" ]
Current State: 19:[91, 64, 40, 45], Operations: [] Exploring Operation: 64*45=2880, Resulting Numbers: [91, 40, 2880] Generated Node #2: [91, 40, 2880] from Operation: 64*45=2880 Current State: 19:[91, 40, 2880], Operations: ['64*45=2880'] Exploring Operation: 2880/40=72, Resulting Numbers: [91, 72] Generated Node #3: [91, 72] from Operation: 2880/40=72 Current State: 19:[91, 72], Operations: ['64*45=2880', '2880/40=72'] Exploring Operation: 91-72=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[91, 64, 40, 45], Operations: [] Exploring Operation: 91-45=46, Resulting Numbers: [64, 40, 46] Generated Node #0,0: 19:[64, 40, 46] Operation: 91-45=46 Exploring Operation: 64-45=19, Resulting Numbers: [91, 40, 19] Generated Node #0,1: 19:[91, 40, 19] Operation: 64-45=19 Exploring Operation: 91-64=27, Resulting Numbers: [40, 45, 27] Generated Node #0,2: 19:[40, 45, 27] Operation: 91-64=27 Moving to Node #0,2 Current State: 19:[40, 45, 27], Operations: ['91-64=27'] Exploring Operation: 45-40=5, Resulting Numbers: [27, 5] Generated Node #0,2,0: 19:[27, 5] Operation: 45-40=5 Exploring Operation: 40-27=13, Resulting Numbers: [45, 13] Generated Node #0,2,1: 19:[45, 13] Operation: 40-27=13 Exploring Operation: 45-27=18, Resulting Numbers: [40, 18] Generated Node #0,2,2: 19:[40, 18] Operation: 45-27=18 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[27, 5], Operations: ['91-64=27', '45-40=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[40, 18], Operations: ['91-64=27', '45-27=18'] Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 40*18=720, Resulting Numbers: [720] 720,19 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[45, 13], Operations: ['91-64=27', '40-27=13'] Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,19 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,19 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: 19:[64, 40, 46], Operations: ['91-45=46'] Exploring Operation: 64-40=24, Resulting Numbers: [46, 24] Generated Node #0,0,0: 19:[46, 24] Operation: 64-40=24 Exploring Operation: 64-46=18, Resulting Numbers: [40, 18] Generated Node #0,0,1: 19:[40, 18] Operation: 64-46=18 Exploring Operation: 46-40=6, Resulting Numbers: [64, 6] Generated Node #0,0,2: 19:[64, 6] Operation: 46-40=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[40, 18], Operations: ['91-45=46', '64-46=18'] Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 40*18=720, Resulting Numbers: [720] 720,19 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[46, 24], Operations: ['91-45=46', '64-40=24'] Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,19 unequal: No Solution Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[64, 6], Operations: ['91-45=46', '46-40=6'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 64*6=384, Resulting Numbers: [384] 384,19 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: 19:[91, 40, 19], Operations: ['64-45=19'] Exploring Operation: 40-19=21, Resulting Numbers: [91, 21] Generated Node #0,1,0: 19:[91, 21] Operation: 40-19=21 Exploring Operation: 91-19=72, Resulting Numbers: [40, 72] Generated Node #0,1,1: 19:[40, 72] Operation: 91-19=72 Exploring Operation: 91-40=51, Resulting Numbers: [19, 51] Generated Node #0,1,2: 19:[19, 51] Operation: 91-40=51 Moving to Node #0,1,2 Current State: 19:[19, 51], Operations: ['64-45=19', '91-40=51'] Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,19 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[91, 21], Operations: ['64-45=19', '40-19=21'] Exploring Operation: 91+21=112, Resulting Numbers: [112] 112,19 unequal: No Solution Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 91*21=1911, Resulting Numbers: [1911] 1911,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[40, 72], Operations: ['64-45=19', '91-19=72'] Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 40+72=112, Resulting Numbers: [112] 112,19 unequal: No Solution Exploring Operation: 40*72=2880, Resulting Numbers: [2880] 2880,19 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 23, 9, 27, 34 ]
18
[ "23*27=621", "621-9=612", "612/34=18" ]
Current State: 18:[23, 9, 27, 34], Operations: [] Exploring Operation: 23*27=621, Resulting Numbers: [9, 34, 621] Generated Node #2: [9, 34, 621] from Operation: 23*27=621 Current State: 18:[9, 34, 621], Operations: ['23*27=621'] Exploring Operation: 621-9=612, Resulting Numbers: [34, 612] Generated Node #3: [34, 612] from Operation: 621-9=612 Current State: 18:[34, 612], Operations: ['23*27=621', '621-9=612'] Exploring Operation: 612/34=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[23, 9, 27, 34], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [9, 27, 11] Generated Node #0,0: 18:[9, 27, 11] Operation: 34-23=11 Exploring Operation: 27-23=4, Resulting Numbers: [9, 34, 4] Generated Node #0,1: 18:[9, 34, 4] Operation: 27-23=4 Exploring Operation: 34-27=7, Resulting Numbers: [23, 9, 7] Generated Node #0,2: 18:[23, 9, 7] Operation: 34-27=7 Exploring Operation: 27-9=18, Resulting Numbers: [23, 34, 18] Generated Node #0,3: 18:[23, 34, 18] Operation: 27-9=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[23, 9, 7], Operations: ['34-27=7'] Exploring Operation: 9-7=2, Resulting Numbers: [23, 2] Generated Node #0,2,0: 18:[23, 2] Operation: 9-7=2 Exploring Operation: 23-9=14, Resulting Numbers: [7, 14] Generated Node #0,2,1: 18:[7, 14] Operation: 23-9=14 Exploring Operation: 23-7=16, Resulting Numbers: [9, 16] Generated Node #0,2,2: 18:[9, 16] Operation: 23-7=16 Exploring Operation: 9+7=16, Resulting Numbers: [23, 16] Generated Node #0,2,3: 18:[23, 16] Operation: 9+7=16 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 18:[9, 16], Operations: ['34-27=7', '23-7=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,18 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,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,2,0 Current State: 18:[23, 2], Operations: ['34-27=7', '9-7=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,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,2,1 Current State: 18:[7, 14], Operations: ['34-27=7', '23-9=14'] Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,18 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,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,2,3 Current State: 18:[23, 16], Operations: ['34-27=7', '9+7=16'] Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,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:[9, 27, 11], Operations: ['34-23=11'] Exploring Operation: 27/9=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 18:[11, 3] Operation: 27/9=3 Exploring Operation: 11-9=2, Resulting Numbers: [27, 2] Generated Node #0,0,1: 18:[27, 2] Operation: 11-9=2 Exploring Operation: 27-9=18, Resulting Numbers: [11, 18] Generated Node #0,0,2: 18:[11, 18] Operation: 27-9=18 Exploring Operation: 27-11=16, Resulting Numbers: [9, 16] Generated Node #0,0,3: 18:[9, 16] Operation: 27-11=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[11, 3], Operations: ['34-23=11', '27/9=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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:[11, 18], Operations: ['34-23=11', '27-9=18'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,18 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,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:[9, 16], Operations: ['34-23=11', '27-11=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,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:[27, 2], Operations: ['34-23=11', '11-9=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,18 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,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,1 Current State: 18:[9, 34, 4], Operations: ['27-23=4'] Exploring Operation: 34-9=25, Resulting Numbers: [4, 25] Generated Node #0,1,0: 18:[4, 25] Operation: 34-9=25 Exploring Operation: 34-4=30, Resulting Numbers: [9, 30] Generated Node #0,1,1: 18:[9, 30] Operation: 34-4=30 Exploring Operation: 9+4=13, Resulting Numbers: [34, 13] Generated Node #0,1,2: 18:[34, 13] Operation: 9+4=13 Exploring Operation: 9-4=5, Resulting Numbers: [34, 5] Generated Node #0,1,3: 18:[34, 5] Operation: 9-4=5 Moving to Node #0,1,0 Current State: 18:[4, 25], Operations: ['27-23=4', '34-9=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,18 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[9, 30], Operations: ['27-23=4', '34-4=30'] Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[34, 5], Operations: ['27-23=4', '9-4=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,18 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[34, 13], Operations: ['27-23=4', '9+4=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,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,3 Current State: 18:[23, 34, 18], Operations: ['27-9=18'] Exploring Operation: 23-18=5, Resulting Numbers: [34, 5] Generated Node #0,3,0: 18:[34, 5] Operation: 23-18=5 Exploring Operation: 34-18=16, Resulting Numbers: [23, 16] Generated Node #0,3,1: 18:[23, 16] Operation: 34-18=16 Exploring Operation: 23+34=57, Resulting Numbers: [18, 57] Generated Node #0,3,2: 18:[18, 57] Operation: 23+34=57 Exploring Operation: 34-23=11, Resulting Numbers: [18, 11] Generated Node #0,3,3: 18:[18, 11] Operation: 34-23=11 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 18:[18, 11], Operations: ['27-9=18', '34-23=11'] Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,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,3,1 Current State: 18:[23, 16], Operations: ['27-9=18', '34-18=16'] Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,18 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,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,3,0 Current State: 18:[34, 5], Operations: ['27-9=18', '23-18=5'] Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,18 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,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,3,2 Current State: 18:[18, 57], Operations: ['27-9=18', '23+34=57'] Exploring Operation: 18+57=75, Resulting Numbers: [75] 75,18 unequal: No Solution Exploring Operation: 18*57=1026, Resulting Numbers: [1026] 1026,18 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,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 No solution found.
0
hs_4
sum_heuristic
[ 42, 17, 19, 9 ]
12
[ "19-17=2", "42/2=21", "21-9=12" ]
Current State: 12:[42, 17, 19, 9], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [42, 9, 2] Generated Node #2: [42, 9, 2] from Operation: 19-17=2 Current State: 12:[42, 9, 2], Operations: ['19-17=2'] Exploring Operation: 42/2=21, Resulting Numbers: [9, 21] Generated Node #3: [9, 21] from Operation: 42/2=21 Current State: 12:[9, 21], Operations: ['19-17=2', '42/2=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[42, 17, 19, 9], Operations: [] Exploring Operation: 42-19=23, Resulting Numbers: [17, 9, 23] Generated Node #0,0: 12:[17, 9, 23] Operation: 42-19=23 Exploring Operation: 42-9=33, Resulting Numbers: [17, 19, 33] Generated Node #0,1: 12:[17, 19, 33] Operation: 42-9=33 Exploring Operation: 42-17=25, Resulting Numbers: [19, 9, 25] Generated Node #0,2: 12:[19, 9, 25] Operation: 42-17=25 Moving to Node #0,0 Current State: 12:[17, 9, 23], Operations: ['42-19=23'] Exploring Operation: 23-17=6, Resulting Numbers: [9, 6] Generated Node #0,0,0: 12:[9, 6] Operation: 23-17=6 Exploring Operation: 23-9=14, Resulting Numbers: [17, 14] Generated Node #0,0,1: 12:[17, 14] Operation: 23-9=14 Exploring Operation: 17-9=8, Resulting Numbers: [23, 8] Generated Node #0,0,2: 12:[23, 8] Operation: 17-9=8 Moving to Node #0,2 Current State: 12:[19, 9, 25], Operations: ['42-17=25'] Exploring Operation: 25-9=16, Resulting Numbers: [19, 16] Generated Node #0,2,0: 12:[19, 16] Operation: 25-9=16 Exploring Operation: 19-9=10, Resulting Numbers: [25, 10] Generated Node #0,2,1: 12:[25, 10] Operation: 19-9=10 Exploring Operation: 25-19=6, Resulting Numbers: [9, 6] Generated Node #0,2,2: 12:[9, 6] Operation: 25-19=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[9, 6], Operations: ['42-17=25', '25-19=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,12 unequal: No Solution No 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: 12:[19, 16], Operations: ['42-17=25', '25-9=16'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,12 unequal: No Solution No 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: 12:[25, 10], Operations: ['42-17=25', '19-9=10'] Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,12 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,12 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: 12:[17, 19, 33], Operations: ['42-9=33'] Exploring Operation: 33-19=14, Resulting Numbers: [17, 14] Generated Node #0,1,0: 12:[17, 14] Operation: 33-19=14 Exploring Operation: 33-17=16, Resulting Numbers: [19, 16] Generated Node #0,1,1: 12:[19, 16] Operation: 33-17=16 Exploring Operation: 19-17=2, Resulting Numbers: [33, 2] Generated Node #0,1,2: 12:[33, 2] Operation: 19-17=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[17, 14], Operations: ['42-9=33', '33-19=14'] Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,12 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,12 unequal: No Solution No 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: 12:[19, 16], Operations: ['42-9=33', '33-17=16'] Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,12 unequal: No Solution No 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: 12:[33, 2], Operations: ['42-9=33', '19-17=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,12 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: 12:[9, 6], Operations: ['42-19=23', '23-17=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[17, 14], Operations: ['42-19=23', '23-9=14'] Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,12 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[23, 8], Operations: ['42-19=23', '17-9=8'] Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,12 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,12 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 5, 2, 27, 2 ]
40
[ "5+2=7", "27-7=20", "2*20=40" ]
Current State: 40:[5, 2, 27, 2], Operations: [] Exploring Operation: 5+2=7, Resulting Numbers: [27, 7] Generated Node #2: [27, 7] from Operation: 5+2=7 Current State: 40:[27, 7], Operations: ['5+2=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,40 equal: Goal Reached Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[5, 2, 27, 2], Operations: [] Exploring Operation: 27-2=25, Resulting Numbers: [5, 2, 25] Generated Node #0,0: 40:[5, 2, 25] Operation: 27-2=25 Exploring Operation: 5*2=10, Resulting Numbers: [27, 2, 10] Generated Node #0,1: 40:[27, 2, 10] Operation: 5*2=10 Exploring Operation: 27-5=22, Resulting Numbers: [2, 2, 22] Generated Node #0,2: 40:[2, 2, 22] Operation: 27-5=22 Exploring Operation: 27-2=25, Resulting Numbers: [5, 2, 25] Generated Node #0,3: 40:[5, 2, 25] Operation: 27-2=25 Moving to Node #0,2 Current State: 40:[2, 2, 22], Operations: ['27-5=22'] Exploring Operation: 22-2=20, Resulting Numbers: [2, 20] Generated Node #0,2,0: 40:[2, 20] Operation: 22-2=20 Exploring Operation: 22/2=11, Resulting Numbers: [2, 11] Generated Node #0,2,1: 40:[2, 11] Operation: 22/2=11 Exploring Operation: 22/2=11, Resulting Numbers: [2, 11] Generated Node #0,2,2: 40:[2, 11] Operation: 22/2=11 Exploring Operation: 22-2=20, Resulting Numbers: [2, 20] Generated Node #0,2,3: 40:[2, 20] Operation: 22-2=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[2, 20], Operations: ['27-5=22', '22-2=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,40 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[5, 2, 27, 2], Operations: [] Exploring Operation: 27-5=22, Resulting Numbers: [2, 2, 22] Generated Node #0,2: 40:[2, 2, 22] Operation: 27-5=22 Moving to Node #0,2 Current State: 40:[2, 2, 22], Operations: ['27-5=22'] Exploring Operation: 22-2=20, Resulting Numbers: [2, 20] Generated Node #0,2,0: 40:[2, 20] Operation: 22-2=20 Moving to Node #0,2,0 Current State: 40:[2, 20], Operations: ['27-5=22', '22-2=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 76, 54, 30, 30 ]
82
[ "76-54=22", "30+30=60", "22+60=82" ]
Current State: 82:[76, 54, 30, 30], Operations: [] Exploring Operation: 76-54=22, Resulting Numbers: [30, 30, 22] Generated Node #2: [30, 30, 22] from Operation: 76-54=22 Current State: 82:[30, 30, 22], Operations: ['76-54=22'] Exploring Operation: 30+30=60, Resulting Numbers: [22, 60] Generated Node #3: [22, 60] from Operation: 30+30=60 Current State: 82:[22, 60], Operations: ['76-54=22', '30+30=60'] Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[76, 54, 30, 30], Operations: [] Exploring Operation: 54+30=84, Resulting Numbers: [76, 30, 84] Generated Node #0,0: 82:[76, 30, 84] Operation: 54+30=84 Exploring Operation: 30/30=1, Resulting Numbers: [76, 54, 1] Generated Node #0,1: 82:[76, 54, 1] Operation: 30/30=1 Exploring Operation: 54+30=84, Resulting Numbers: [76, 30, 84] Generated Node #0,2: 82:[76, 30, 84] Operation: 54+30=84 Moving to Node #0,0 Current State: 82:[76, 30, 84], Operations: ['54+30=84'] Exploring Operation: 84-30=54, Resulting Numbers: [76, 54] Generated Node #0,0,0: 82:[76, 54] Operation: 84-30=54 Exploring Operation: 84-76=8, Resulting Numbers: [30, 8] Generated Node #0,0,1: 82:[30, 8] Operation: 84-76=8 Exploring Operation: 76-30=46, Resulting Numbers: [84, 46] Generated Node #0,0,2: 82:[84, 46] Operation: 76-30=46 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[84, 46], Operations: ['54+30=84', '76-30=46'] Exploring Operation: 84+46=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 84*46=3864, Resulting Numbers: [3864] 3864,82 unequal: No Solution Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[30, 8], Operations: ['54+30=84', '84-76=8'] Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,82 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[76, 54], Operations: ['54+30=84', '84-30=54'] Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,82 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,82 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: 82:[76, 30, 84], Operations: ['54+30=84'] Exploring Operation: 84-30=54, Resulting Numbers: [76, 54] Generated Node #0,2,0: 82:[76, 54] Operation: 84-30=54 Exploring Operation: 76-30=46, Resulting Numbers: [84, 46] Generated Node #0,2,1: 82:[84, 46] Operation: 76-30=46 Exploring Operation: 84-76=8, Resulting Numbers: [30, 8] Generated Node #0,2,2: 82:[30, 8] Operation: 84-76=8 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[84, 46], Operations: ['54+30=84', '76-30=46'] Exploring Operation: 84+46=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 84*46=3864, Resulting Numbers: [3864] 3864,82 unequal: No Solution Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[30, 8], Operations: ['54+30=84', '84-76=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,82 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[76, 54], Operations: ['54+30=84', '84-30=54'] Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,82 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 82:[76, 54, 1], Operations: ['30/30=1'] Exploring Operation: 54-1=53, Resulting Numbers: [76, 53] Generated Node #0,1,0: 82:[76, 53] Operation: 54-1=53 Exploring Operation: 76*1=76, Resulting Numbers: [54, 76] Generated Node #0,1,1: 82:[54, 76] Operation: 76*1=76 Exploring Operation: 76+1=77, Resulting Numbers: [54, 77] Generated Node #0,1,2: 82:[54, 77] Operation: 76+1=77 Moving to Node #0,1,0 Current State: 82:[76, 53], Operations: ['30/30=1', '54-1=53'] Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,82 unequal: No Solution Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[54, 77], Operations: ['30/30=1', '76+1=77'] Exploring Operation: 54*77=4158, Resulting Numbers: [4158] 4158,82 unequal: No Solution Exploring Operation: 54+77=131, Resulting Numbers: [131] 131,82 unequal: No Solution Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[54, 76], Operations: ['30/30=1', '76*1=76'] Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 54+76=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 54*76=4104, Resulting Numbers: [4104] 4104,82 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 22, 6, 23, 8 ]
55
[ "23-8=15", "22*15=330", "330/6=55" ]
Current State: 55:[22, 6, 23, 8], Operations: [] Exploring Operation: 23-8=15, Resulting Numbers: [22, 6, 15] Generated Node #2: [22, 6, 15] from Operation: 23-8=15 Current State: 55:[22, 6, 15], Operations: ['23-8=15'] Exploring Operation: 22*15=330, Resulting Numbers: [6, 330] Generated Node #3: [6, 330] from Operation: 22*15=330 Current State: 55:[6, 330], Operations: ['23-8=15', '22*15=330'] Exploring Operation: 330/6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[22, 6, 23, 8], Operations: [] Exploring Operation: 22+23=45, Resulting Numbers: [6, 8, 45] Generated Node #0,0: 55:[6, 8, 45] Operation: 22+23=45 Exploring Operation: 22-8=14, Resulting Numbers: [6, 23, 14] Generated Node #0,1: 55:[6, 23, 14] Operation: 22-8=14 Exploring Operation: 22-6=16, Resulting Numbers: [23, 8, 16] Generated Node #0,2: 55:[23, 8, 16] Operation: 22-6=16 Exploring Operation: 23-8=15, Resulting Numbers: [22, 6, 15] Generated Node #0,3: 55:[22, 6, 15] Operation: 23-8=15 Exploring Operation: 23-22=1, Resulting Numbers: [6, 8, 1] Generated Node #0,4: 55:[6, 8, 1] Operation: 23-22=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[6, 8, 1], Operations: ['23-22=1'] Exploring Operation: 6-1=5, Resulting Numbers: [8, 5] Generated Node #0,4,0: 55:[8, 5] Operation: 6-1=5 Exploring Operation: 6*1=6, Resulting Numbers: [8, 6] Generated Node #0,4,1: 55:[8, 6] Operation: 6*1=6 Exploring Operation: 6/1=6, Resulting Numbers: [8, 6] Generated Node #0,4,2: 55:[8, 6] Operation: 6/1=6 Exploring Operation: 8+1=9, Resulting Numbers: [6, 9] Generated Node #0,4,3: 55:[6, 9] Operation: 8+1=9 Exploring Operation: 8-1=7, Resulting Numbers: [6, 7] Generated Node #0,4,4: 55:[6, 7] Operation: 8-1=7 Moving to Node #0,4,0 Current State: 55:[8, 5], Operations: ['23-22=1', '6-1=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[6, 7], Operations: ['23-22=1', '8-1=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[6, 9], Operations: ['23-22=1', '8+1=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,55 unequal: No Solution Moving to Node #0,4,1 Current State: 55:[8, 6], Operations: ['23-22=1', '6*1=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,55 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[8, 6], Operations: ['23-22=1', '6/1=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,55 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,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:[6, 8, 45], Operations: ['22+23=45'] Exploring Operation: 8-6=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 55:[45, 2] Operation: 8-6=2 Exploring Operation: 6+8=14, Resulting Numbers: [45, 14] Generated Node #0,0,1: 55:[45, 14] Operation: 6+8=14 Exploring Operation: 6+45=51, Resulting Numbers: [8, 51] Generated Node #0,0,2: 55:[8, 51] Operation: 6+45=51 Exploring Operation: 6*8=48, Resulting Numbers: [45, 48] Generated Node #0,0,3: 55:[45, 48] Operation: 6*8=48 Exploring Operation: 8+45=53, Resulting Numbers: [6, 53] Generated Node #0,0,4: 55:[6, 53] Operation: 8+45=53 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 55:[6, 53], Operations: ['22+23=45', '8+45=53'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,55 unequal: No Solution Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,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:[8, 51], Operations: ['22+23=45', '6+45=51'] Exploring Operation: 8*51=408, Resulting Numbers: [408] 408,55 unequal: No Solution Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,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,0 Current State: 55:[45, 2], Operations: ['22+23=45', '8-6=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,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:[45, 14], Operations: ['22+23=45', '6+8=14'] Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,55 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,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:[45, 48], Operations: ['22+23=45', '6*8=48'] Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,55 unequal: No Solution Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,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,1 Current State: 55:[6, 23, 14], Operations: ['22-8=14'] Exploring Operation: 23+14=37, Resulting Numbers: [6, 37] Generated Node #0,1,0: 55:[6, 37] Operation: 23+14=37 Exploring Operation: 23-6=17, Resulting Numbers: [14, 17] Generated Node #0,1,1: 55:[14, 17] Operation: 23-6=17 Exploring Operation: 6+23=29, Resulting Numbers: [14, 29] Generated Node #0,1,2: 55:[14, 29] Operation: 6+23=29 Exploring Operation: 23-14=9, Resulting Numbers: [6, 9] Generated Node #0,1,3: 55:[6, 9] Operation: 23-14=9 Exploring Operation: 14-6=8, Resulting Numbers: [23, 8] Generated Node #0,1,4: 55:[23, 8] Operation: 14-6=8 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 55:[6, 9], Operations: ['22-8=14', '23-14=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,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:[14, 17], Operations: ['22-8=14', '23-6=17'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,55 unequal: No Solution Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,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,4 Current State: 55:[23, 8], Operations: ['22-8=14', '14-6=8'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,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:[6, 37], Operations: ['22-8=14', '23+14=37'] Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,55 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,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:[14, 29], Operations: ['22-8=14', '6+23=29'] Exploring Operation: 14*29=406, Resulting Numbers: [406] 406,55 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,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:[22, 6, 15], Operations: ['23-8=15'] Exploring Operation: 22+6=28, Resulting Numbers: [15, 28] Generated Node #0,3,0: 55:[15, 28] Operation: 22+6=28 Exploring Operation: 22-6=16, Resulting Numbers: [15, 16] Generated Node #0,3,1: 55:[15, 16] Operation: 22-6=16 Exploring Operation: 22-15=7, Resulting Numbers: [6, 7] Generated Node #0,3,2: 55:[6, 7] Operation: 22-15=7 Exploring Operation: 22+15=37, Resulting Numbers: [6, 37] Generated Node #0,3,3: 55:[6, 37] Operation: 22+15=37 Exploring Operation: 15-6=9, Resulting Numbers: [22, 9] Generated Node #0,3,4: 55:[22, 9] Operation: 15-6=9 Moving to Node #0,3,2 Current State: 55:[6, 7], Operations: ['23-8=15', '22-15=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[15, 16], Operations: ['23-8=15', '22-6=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,55 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,55 unequal: No Solution Moving to Node #0,3,4 Current State: 55:[22, 9], Operations: ['23-8=15', '15-6=9'] Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,55 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[6, 37], Operations: ['23-8=15', '22+15=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[15, 28], Operations: ['23-8=15', '22+6=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,55 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 28-15=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,2 Current State: 55:[23, 8, 16], Operations: ['22-6=16'] Exploring Operation: 23-8=15, Resulting Numbers: [16, 15] Generated Node #0,2,0: 55:[16, 15] Operation: 23-8=15 Exploring Operation: 23+16=39, Resulting Numbers: [8, 39] Generated Node #0,2,1: 55:[8, 39] Operation: 23+16=39 Exploring Operation: 23-16=7, Resulting Numbers: [8, 7] Generated Node #0,2,2: 55:[8, 7] Operation: 23-16=7 Exploring Operation: 16-8=8, Resulting Numbers: [23, 8] Generated Node #0,2,3: 55:[23, 8] Operation: 16-8=8 Exploring Operation: 16/8=2, Resulting Numbers: [23, 2] Generated Node #0,2,4: 55:[23, 2] Operation: 16/8=2 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 55:[8, 7], Operations: ['22-6=16', '23-16=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,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,2,0 Current State: 55:[16, 15], Operations: ['22-6=16', '23-8=15'] Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,55 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,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,2,3 Current State: 55:[23, 8], Operations: ['22-6=16', '16-8=8'] Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,55 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,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,2,4 Current State: 55:[23, 2], Operations: ['22-6=16', '16/8=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,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,2,1 Current State: 55:[8, 39], Operations: ['22-6=16', '23+16=39'] Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,55 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,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 No solution found.
0
hs_5
mult_heuristic
[ 3, 46, 42, 87 ]
89
[ "42+87=129", "129/3=43", "46+43=89" ]
Current State: 89:[3, 46, 42, 87], Operations: [] Exploring Operation: 42+87=129, Resulting Numbers: [3, 46, 129] Generated Node #2: [3, 46, 129] from Operation: 42+87=129 Current State: 89:[3, 46, 129], Operations: ['42+87=129'] Exploring Operation: 129/3=43, Resulting Numbers: [46, 43] Generated Node #3: [46, 43] from Operation: 129/3=43 Current State: 89:[46, 43], Operations: ['42+87=129', '129/3=43'] Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[3, 46, 42, 87], Operations: [] Exploring Operation: 3*42=126, Resulting Numbers: [46, 87, 126] Generated Node #0,0: 89:[46, 87, 126] Operation: 3*42=126 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[46, 87, 126], Operations: ['3*42=126'] Exploring Operation: 126-46=80, Resulting Numbers: [87, 80] Generated Node #0,0,0: 89:[87, 80] Operation: 126-46=80 Moving to Node #0,0,0 Current State: 89:[87, 80], Operations: ['3*42=126', '126-46=80'] Exploring Operation: 87+80=167, Resulting Numbers: [167] 167,89 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
[ 33, 2, 69, 41 ]
75
[ "33+2=35", "69+41=110", "110-35=75" ]
Current State: 75:[33, 2, 69, 41], Operations: [] Exploring Operation: 33+2=35, Resulting Numbers: [69, 41, 35] Generated Node #2: [69, 41, 35] from Operation: 33+2=35 Current State: 75:[69, 41, 35], Operations: ['33+2=35'] Exploring Operation: 69+41=110, Resulting Numbers: [35, 110] Generated Node #3: [35, 110] from Operation: 69+41=110 Current State: 75:[35, 110], Operations: ['33+2=35', '69+41=110'] Exploring Operation: 110-35=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[33, 2, 69, 41], Operations: [] Exploring Operation: 41-33=8, Resulting Numbers: [2, 69, 8] Generated Node #0,0: 75:[2, 69, 8] Operation: 41-33=8 Exploring Operation: 33+41=74, Resulting Numbers: [2, 69, 74] Generated Node #0,1: 75:[2, 69, 74] Operation: 33+41=74 Moving to Node #0,1 Current State: 75:[2, 69, 74], Operations: ['33+41=74'] Exploring Operation: 2+69=71, Resulting Numbers: [74, 71] Generated Node #0,1,0: 75:[74, 71] Operation: 2+69=71 Exploring Operation: 74-69=5, Resulting Numbers: [2, 5] Generated Node #0,1,1: 75:[2, 5] Operation: 74-69=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[2, 5], Operations: ['33+41=74', '74-69=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[74, 71], Operations: ['33+41=74', '2+69=71'] Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 74+71=145, Resulting Numbers: [145] 145,75 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: 75:[2, 69, 8], Operations: ['41-33=8'] Exploring Operation: 2+69=71, Resulting Numbers: [8, 71] Generated Node #0,0,0: 75:[8, 71] Operation: 2+69=71 Exploring Operation: 69+8=77, Resulting Numbers: [2, 77] Generated Node #0,0,1: 75:[2, 77] Operation: 69+8=77 Moving to Node #0,0,1 Current State: 75:[2, 77], Operations: ['41-33=8', '69+8=77'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[33, 2, 69, 41], Operations: [] Exploring Operation: 41-33=8, Resulting Numbers: [2, 69, 8] Generated Node #0,0: 75:[2, 69, 8] Operation: 41-33=8 Moving to Node #0,0 Current State: 75:[2, 69, 8], Operations: ['41-33=8'] Exploring Operation: 69+8=77, Resulting Numbers: [2, 77] Generated Node #0,0,1: 75:[2, 77] Operation: 69+8=77 Moving to Node #0,0,1 Current State: 75:[2, 77], Operations: ['41-33=8', '69+8=77'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 28, 17, 10, 14 ]
13
[ "28-17=11", "10+14=24", "24-11=13" ]
Current State: 13:[28, 17, 10, 14], Operations: [] Exploring Operation: 28-17=11, Resulting Numbers: [10, 14, 11] Generated Node #2: [10, 14, 11] from Operation: 28-17=11 Current State: 13:[10, 14, 11], Operations: ['28-17=11'] Exploring Operation: 10+14=24, Resulting Numbers: [11, 24] Generated Node #3: [11, 24] from Operation: 10+14=24 Current State: 13:[11, 24], Operations: ['28-17=11', '10+14=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[28, 17, 10, 14], Operations: [] Exploring Operation: 28-17=11, Resulting Numbers: [10, 14, 11] Generated Node #0,0: 13:[10, 14, 11] Operation: 28-17=11 Exploring Operation: 28-14=14, Resulting Numbers: [17, 10, 14] Generated Node #0,1: 13:[17, 10, 14] Operation: 28-14=14 Moving to Node #0,0 Current State: 13:[10, 14, 11], Operations: ['28-17=11'] Exploring Operation: 10+11=21, Resulting Numbers: [14, 21] Generated Node #0,0,0: 13:[14, 21] Operation: 10+11=21 Exploring Operation: 14-10=4, Resulting Numbers: [11, 4] Generated Node #0,0,1: 13:[11, 4] Operation: 14-10=4 Moving to Node #0,1 Current State: 13:[17, 10, 14], Operations: ['28-14=14'] Exploring Operation: 17-10=7, Resulting Numbers: [14, 7] Generated Node #0,1,0: 13:[14, 7] Operation: 17-10=7 Exploring Operation: 17-14=3, Resulting Numbers: [10, 3] Generated Node #0,1,1: 13:[10, 3] Operation: 17-14=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[14, 7], Operations: ['28-14=14', '17-10=7'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[10, 3], Operations: ['28-14=14', '17-14=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[28, 17, 10, 14], Operations: [] Exploring Operation: 28-14=14, Resulting Numbers: [17, 10, 14] Generated Node #0,1: 13:[17, 10, 14] Operation: 28-14=14 Moving to Node #0,1 Current State: 13:[17, 10, 14], Operations: ['28-14=14'] Exploring Operation: 17-14=3, Resulting Numbers: [10, 3] Generated Node #0,1,1: 13:[10, 3] Operation: 17-14=3 Moving to Node #0,1,1 Current State: 13:[10, 3], Operations: ['28-14=14', '17-14=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
sum_heuristic
[ 85, 3, 24, 80 ]
83
[ "80-24=56", "3*56=168", "168-85=83" ]
Current State: 83:[85, 3, 24, 80], Operations: [] Exploring Operation: 80-24=56, Resulting Numbers: [85, 3, 56] Generated Node #2: [85, 3, 56] from Operation: 80-24=56 Current State: 83:[85, 3, 56], Operations: ['80-24=56'] Exploring Operation: 3*56=168, Resulting Numbers: [85, 168] Generated Node #3: [85, 168] from Operation: 3*56=168 Current State: 83:[85, 168], Operations: ['80-24=56', '3*56=168'] Exploring Operation: 168-85=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[85, 3, 24, 80], Operations: [] Exploring Operation: 3+24=27, Resulting Numbers: [85, 80, 27] Generated Node #0,0: 83:[85, 80, 27] Operation: 3+24=27 Exploring Operation: 3+80=83, Resulting Numbers: [85, 24, 83] Generated Node #0,1: 83:[85, 24, 83] Operation: 3+80=83 Exploring Operation: 3*24=72, Resulting Numbers: [85, 80, 72] Generated Node #0,2: 83:[85, 80, 72] Operation: 3*24=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[85, 80, 72], Operations: ['3*24=72'] Exploring Operation: 85-72=13, Resulting Numbers: [80, 13] Generated Node #0,2,0: 83:[80, 13] Operation: 85-72=13 Exploring Operation: 85+72=157, Resulting Numbers: [80, 157] Generated Node #0,2,1: 83:[80, 157] Operation: 85+72=157 Exploring Operation: 80+72=152, Resulting Numbers: [85, 152] Generated Node #0,2,2: 83:[85, 152] Operation: 80+72=152 Moving to Node #0,2,2 Current State: 83:[85, 152], Operations: ['3*24=72', '80+72=152'] Exploring Operation: 85+152=237, Resulting Numbers: [237] 237,83 unequal: No Solution Exploring Operation: 85*152=12920, Resulting Numbers: [12920] 12920,83 unequal: No Solution Exploring Operation: 152-85=67, Resulting Numbers: [67] 67,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[80, 13], Operations: ['3*24=72', '85-72=13'] Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,83 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,83 unequal: No Solution Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[80, 157], Operations: ['3*24=72', '85+72=157'] Exploring Operation: 157-80=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 80*157=12560, Resulting Numbers: [12560] 12560,83 unequal: No Solution Exploring Operation: 80+157=237, Resulting Numbers: [237] 237,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[85, 80, 27], Operations: ['3+24=27'] Exploring Operation: 85+27=112, Resulting Numbers: [80, 112] Generated Node #0,0,0: 83:[80, 112] Operation: 85+27=112 Exploring Operation: 85-27=58, Resulting Numbers: [80, 58] Generated Node #0,0,1: 83:[80, 58] Operation: 85-27=58 Exploring Operation: 80+27=107, Resulting Numbers: [85, 107] Generated Node #0,0,2: 83:[85, 107] Operation: 80+27=107 Moving to Node #0,0,2 Current State: 83:[85, 107], Operations: ['3+24=27', '80+27=107'] Exploring Operation: 85*107=9095, Resulting Numbers: [9095] 9095,83 unequal: No Solution Exploring Operation: 107-85=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 85+107=192, Resulting Numbers: [192] 192,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[80, 58], Operations: ['3+24=27', '85-27=58'] Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 80*58=4640, Resulting Numbers: [4640] 4640,83 unequal: No Solution Exploring Operation: 80+58=138, Resulting Numbers: [138] 138,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[80, 112], Operations: ['3+24=27', '85+27=112'] Exploring Operation: 112-80=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 80*112=8960, Resulting Numbers: [8960] 8960,83 unequal: No Solution Exploring Operation: 80+112=192, Resulting Numbers: [192] 192,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:[85, 24, 83], Operations: ['3+80=83'] Exploring Operation: 24+83=107, Resulting Numbers: [85, 107] Generated Node #0,1,0: 83:[85, 107] Operation: 24+83=107 Exploring Operation: 85-24=61, Resulting Numbers: [83, 61] Generated Node #0,1,1: 83:[83, 61] Operation: 85-24=61 Exploring Operation: 85+24=109, Resulting Numbers: [83, 109] Generated Node #0,1,2: 83:[83, 109] Operation: 85+24=109 Moving to Node #0,1,1 Current State: 83:[83, 61], Operations: ['3+80=83', '85-24=61'] Exploring Operation: 83*61=5063, Resulting Numbers: [5063] 5063,83 unequal: No Solution Exploring Operation: 83+61=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 83-61=22, Resulting Numbers: [22] 22,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[85, 107], Operations: ['3+80=83', '24+83=107'] Exploring Operation: 107-85=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 85+107=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 85*107=9095, Resulting Numbers: [9095] 9095,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[83, 109], Operations: ['3+80=83', '85+24=109'] Exploring Operation: 109-83=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 83+109=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 83*109=9047, Resulting Numbers: [9047] 9047,83 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
[ 40, 36, 60, 47 ]
31
[ "40+36=76", "60+47=107", "107-76=31" ]
Current State: 31:[40, 36, 60, 47], Operations: [] Exploring Operation: 40+36=76, Resulting Numbers: [60, 47, 76] Generated Node #2: [60, 47, 76] from Operation: 40+36=76 Current State: 31:[60, 47, 76], Operations: ['40+36=76'] Exploring Operation: 60+47=107, Resulting Numbers: [76, 107] Generated Node #3: [76, 107] from Operation: 60+47=107 Current State: 31:[76, 107], Operations: ['40+36=76', '60+47=107'] Exploring Operation: 107-76=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[40, 36, 60, 47], Operations: [] Exploring Operation: 60-36=24, Resulting Numbers: [40, 47, 24] Generated Node #0,0: 31:[40, 47, 24] Operation: 60-36=24 Exploring Operation: 47-36=11, Resulting Numbers: [40, 60, 11] Generated Node #0,1: 31:[40, 60, 11] Operation: 47-36=11 Exploring Operation: 60-40=20, Resulting Numbers: [36, 47, 20] Generated Node #0,2: 31:[36, 47, 20] Operation: 60-40=20 Exploring Operation: 60-47=13, Resulting Numbers: [40, 36, 13] Generated Node #0,3: 31:[40, 36, 13] Operation: 60-47=13 Exploring Operation: 47-40=7, Resulting Numbers: [36, 60, 7] Generated Node #0,4: 31:[36, 60, 7] Operation: 47-40=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[40, 47, 24], Operations: ['60-36=24'] Exploring Operation: 40-24=16, Resulting Numbers: [47, 16] Generated Node #0,0,0: 31:[47, 16] Operation: 40-24=16 Exploring Operation: 47-40=7, Resulting Numbers: [24, 7] Generated Node #0,0,1: 31:[24, 7] Operation: 47-40=7 Exploring Operation: 47+24=71, Resulting Numbers: [40, 71] Generated Node #0,0,2: 31:[40, 71] Operation: 47+24=71 Exploring Operation: 47-24=23, Resulting Numbers: [40, 23] Generated Node #0,0,3: 31:[40, 23] Operation: 47-24=23 Exploring Operation: 40+24=64, Resulting Numbers: [47, 64] Generated Node #0,0,4: 31:[47, 64] Operation: 40+24=64 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 31:[40, 23], Operations: ['60-36=24', '47-24=23'] Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,31 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,31 unequal: No Solution Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,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,0 Current State: 31:[47, 16], Operations: ['60-36=24', '40-24=16'] Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,31 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[40, 36, 60, 47], Operations: [] Exploring Operation: 60-36=24, Resulting Numbers: [40, 47, 24] Generated Node #0,0: 31:[40, 47, 24] Operation: 60-36=24 Moving to Node #0,0 Current State: 31:[40, 47, 24], Operations: ['60-36=24'] Exploring Operation: 40-24=16, Resulting Numbers: [47, 16] Generated Node #0,0,0: 31:[47, 16] Operation: 40-24=16 Moving to Node #0,0,0 Current State: 31:[47, 16], Operations: ['60-36=24', '40-24=16'] Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 93, 61, 65, 64 ]
84
[ "93-65=28", "64-61=3", "28*3=84" ]
Current State: 84:[93, 61, 65, 64], Operations: [] Exploring Operation: 93-65=28, Resulting Numbers: [61, 64, 28] Generated Node #2: [61, 64, 28] from Operation: 93-65=28 Current State: 84:[61, 64, 28], Operations: ['93-65=28'] Exploring Operation: 64-61=3, Resulting Numbers: [28, 3] Generated Node #3: [28, 3] from Operation: 64-61=3 Current State: 84:[28, 3], Operations: ['93-65=28', '64-61=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[93, 61, 65, 64], Operations: [] Exploring Operation: 93-64=29, Resulting Numbers: [61, 65, 29] Generated Node #0,0: 84:[61, 65, 29] Operation: 93-64=29 Exploring Operation: 93-65=28, Resulting Numbers: [61, 64, 28] Generated Node #0,1: 84:[61, 64, 28] Operation: 93-65=28 Exploring Operation: 64-61=3, Resulting Numbers: [93, 65, 3] Generated Node #0,2: 84:[93, 65, 3] Operation: 64-61=3 Exploring Operation: 65-64=1, Resulting Numbers: [93, 61, 1] Generated Node #0,3: 84:[93, 61, 1] Operation: 65-64=1 Exploring Operation: 65-61=4, Resulting Numbers: [93, 64, 4] Generated Node #0,4: 84:[93, 64, 4] Operation: 65-61=4 Moving to Node #0,2 Current State: 84:[93, 65, 3], Operations: ['64-61=3'] Exploring Operation: 65+3=68, Resulting Numbers: [93, 68] Generated Node #0,2,0: 84:[93, 68] Operation: 65+3=68 Exploring Operation: 93-65=28, Resulting Numbers: [3, 28] Generated Node #0,2,1: 84:[3, 28] Operation: 93-65=28 Exploring Operation: 93-3=90, Resulting Numbers: [65, 90] Generated Node #0,2,2: 84:[65, 90] Operation: 93-3=90 Exploring Operation: 65-3=62, Resulting Numbers: [93, 62] Generated Node #0,2,3: 84:[93, 62] Operation: 65-3=62 Exploring Operation: 93/3=31, Resulting Numbers: [65, 31] Generated Node #0,2,4: 84:[65, 31] Operation: 93/3=31 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[3, 28], Operations: ['64-61=3', '93-65=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[93, 61, 65, 64], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [93, 65, 3] Generated Node #0,2: 84:[93, 65, 3] Operation: 64-61=3 Moving to Node #0,2 Current State: 84:[93, 65, 3], Operations: ['64-61=3'] Exploring Operation: 93-65=28, Resulting Numbers: [3, 28] Generated Node #0,2,1: 84:[3, 28] Operation: 93-65=28 Moving to Node #0,2,1 Current State: 84:[3, 28], Operations: ['64-61=3', '93-65=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 65, 75, 56, 10 ]
36
[ "75-65=10", "56-10=46", "46-10=36" ]
Current State: 36:[65, 75, 56, 10], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [56, 10, 10] Generated Node #2: [56, 10, 10] from Operation: 75-65=10 Current State: 36:[56, 10, 10], Operations: ['75-65=10'] Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,36 equal: Goal Reached Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[65, 75, 56, 10], Operations: [] Exploring Operation: 75-56=19, Resulting Numbers: [65, 10, 19] Generated Node #0,0: 36:[65, 10, 19] Operation: 75-56=19 Exploring Operation: 75-65=10, Resulting Numbers: [56, 10, 10] Generated Node #0,1: 36:[56, 10, 10] Operation: 75-65=10 Moving to Node #0,1 Current State: 36:[56, 10, 10], Operations: ['75-65=10'] Exploring Operation: 56-10=46, Resulting Numbers: [10, 46] Generated Node #0,1,0: 36:[10, 46] Operation: 56-10=46 Exploring Operation: 56-10=46, Resulting Numbers: [10, 46] Generated Node #0,1,1: 36:[10, 46] Operation: 56-10=46 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[10, 46], Operations: ['75-65=10', '56-10=46'] Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[65, 75, 56, 10], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [56, 10, 10] Generated Node #0,1: 36:[56, 10, 10] Operation: 75-65=10 Moving to Node #0,1 Current State: 36:[56, 10, 10], Operations: ['75-65=10'] Exploring Operation: 56-10=46, Resulting Numbers: [10, 46] Generated Node #0,1,0: 36:[10, 46] Operation: 56-10=46 Moving to Node #0,1,0 Current State: 36:[10, 46], Operations: ['75-65=10', '56-10=46'] Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 75, 21, 49, 40 ]
35
[ "75-21=54", "49+40=89", "89-54=35" ]
Current State: 35:[75, 21, 49, 40], Operations: [] Exploring Operation: 75-21=54, Resulting Numbers: [49, 40, 54] Generated Node #2: [49, 40, 54] from Operation: 75-21=54 Current State: 35:[49, 40, 54], Operations: ['75-21=54'] Exploring Operation: 49+40=89, Resulting Numbers: [54, 89] Generated Node #3: [54, 89] from Operation: 49+40=89 Current State: 35:[54, 89], Operations: ['75-21=54', '49+40=89'] Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[75, 21, 49, 40], Operations: [] Exploring Operation: 75-21=54, Resulting Numbers: [49, 40, 54] Generated Node #0,0: 35:[49, 40, 54] Operation: 75-21=54 Exploring Operation: 75-49=26, Resulting Numbers: [21, 40, 26] Generated Node #0,1: 35:[21, 40, 26] Operation: 75-49=26 Exploring Operation: 75-40=35, Resulting Numbers: [21, 49, 35] Generated Node #0,2: 35:[21, 49, 35] Operation: 75-40=35 Moving to Node #0,1 Current State: 35:[21, 40, 26], Operations: ['75-49=26'] Exploring Operation: 40-21=19, Resulting Numbers: [26, 19] Generated Node #0,1,0: 35:[26, 19] Operation: 40-21=19 Exploring Operation: 21+26=47, Resulting Numbers: [40, 47] Generated Node #0,1,1: 35:[40, 47] Operation: 21+26=47 Exploring Operation: 26-21=5, Resulting Numbers: [40, 5] Generated Node #0,1,2: 35:[40, 5] Operation: 26-21=5 Moving to Node #0,2 Current State: 35:[21, 49, 35], Operations: ['75-40=35'] Exploring Operation: 49-21=28, Resulting Numbers: [35, 28] Generated Node #0,2,0: 35:[35, 28] Operation: 49-21=28 Exploring Operation: 35-21=14, Resulting Numbers: [49, 14] Generated Node #0,2,1: 35:[49, 14] Operation: 35-21=14 Exploring Operation: 49-35=14, Resulting Numbers: [21, 14] Generated Node #0,2,2: 35:[21, 14] Operation: 49-35=14 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[35, 28], Operations: ['75-40=35', '49-21=28'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,35 unequal: No Solution Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,35 unequal: No Solution No 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: 35:[49, 14], Operations: ['75-40=35', '35-21=14'] Exploring Operation: 49+14=63, Resulting Numbers: [63] 63,35 unequal: No Solution Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[75, 21, 49, 40], Operations: [] Exploring Operation: 75-40=35, Resulting Numbers: [21, 49, 35] Generated Node #0,2: 35:[21, 49, 35] Operation: 75-40=35 Moving to Node #0,2 Current State: 35:[21, 49, 35], Operations: ['75-40=35'] Exploring Operation: 35-21=14, Resulting Numbers: [49, 14] Generated Node #0,2,1: 35:[49, 14] Operation: 35-21=14 Moving to Node #0,2,1 Current State: 35:[49, 14], Operations: ['75-40=35', '35-21=14'] Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 39, 63, 66, 65 ]
23
[ "63-39=24", "66-65=1", "24-1=23" ]
Current State: 23:[39, 63, 66, 65], Operations: [] Exploring Operation: 63-39=24, Resulting Numbers: [66, 65, 24] Generated Node #2: [66, 65, 24] from Operation: 63-39=24 Current State: 23:[66, 65, 24], Operations: ['63-39=24'] Exploring Operation: 66-65=1, Resulting Numbers: [24, 1] Generated Node #3: [24, 1] from Operation: 66-65=1 Current State: 23:[24, 1], Operations: ['63-39=24', '66-65=1'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[39, 63, 66, 65], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [39, 66, 2] Generated Node #0,0: 23:[39, 66, 2] Operation: 65-63=2 Exploring Operation: 66-65=1, Resulting Numbers: [39, 63, 1] Generated Node #0,1: 23:[39, 63, 1] Operation: 66-65=1 Exploring Operation: 66-63=3, Resulting Numbers: [39, 65, 3] Generated Node #0,2: 23:[39, 65, 3] Operation: 66-63=3 Exploring Operation: 63-39=24, Resulting Numbers: [66, 65, 24] Generated Node #0,3: 23:[66, 65, 24] Operation: 63-39=24 Moving to Node #0,1 Current State: 23:[39, 63, 1], Operations: ['66-65=1'] Exploring Operation: 39-1=38, Resulting Numbers: [63, 38] Generated Node #0,1,0: 23:[63, 38] Operation: 39-1=38 Exploring Operation: 63-39=24, Resulting Numbers: [1, 24] Generated Node #0,1,1: 23:[1, 24] Operation: 63-39=24 Exploring Operation: 39*1=39, Resulting Numbers: [63, 39] Generated Node #0,1,2: 23:[63, 39] Operation: 39*1=39 Exploring Operation: 63-1=62, Resulting Numbers: [39, 62] Generated Node #0,1,3: 23:[39, 62] Operation: 63-1=62 Moving to Node #0,2 Current State: 23:[39, 65, 3], Operations: ['66-63=3'] Exploring Operation: 39/3=13, Resulting Numbers: [65, 13] Generated Node #0,2,0: 23:[65, 13] Operation: 39/3=13 Exploring Operation: 65-39=26, Resulting Numbers: [3, 26] Generated Node #0,2,1: 23:[3, 26] Operation: 65-39=26 Exploring Operation: 39-3=36, Resulting Numbers: [65, 36] Generated Node #0,2,2: 23:[65, 36] Operation: 39-3=36 Exploring Operation: 65-3=62, Resulting Numbers: [39, 62] Generated Node #0,2,3: 23:[39, 62] Operation: 65-3=62 Moving to Node #0,0 Current State: 23:[39, 66, 2], Operations: ['65-63=2'] Exploring Operation: 39-2=37, Resulting Numbers: [66, 37] Generated Node #0,0,0: 23:[66, 37] Operation: 39-2=37 Exploring Operation: 66/2=33, Resulting Numbers: [39, 33] Generated Node #0,0,1: 23:[39, 33] Operation: 66/2=33 Exploring Operation: 66-39=27, Resulting Numbers: [2, 27] Generated Node #0,0,2: 23:[2, 27] Operation: 66-39=27 Exploring Operation: 66-2=64, Resulting Numbers: [39, 64] Generated Node #0,0,3: 23:[39, 64] Operation: 66-2=64 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[2, 27], Operations: ['65-63=2', '66-39=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,23 unequal: No Solution No 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: 23:[39, 33], Operations: ['65-63=2', '66/2=33'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,23 unequal: No Solution No 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: 23:[66, 37], Operations: ['65-63=2', '39-2=37'] Exploring Operation: 66+37=103, Resulting Numbers: [103] 103,23 unequal: No Solution Exploring Operation: 66*37=2442, Resulting Numbers: [2442] 2442,23 unequal: No Solution Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,23 unequal: No Solution No 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: 23:[39, 64], Operations: ['65-63=2', '66-2=64'] Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 39*64=2496, Resulting Numbers: [2496] 2496,23 unequal: No Solution Exploring Operation: 39+64=103, Resulting Numbers: [103] 103,23 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: 23:[66, 65, 24], Operations: ['63-39=24'] Exploring Operation: 65-24=41, Resulting Numbers: [66, 41] Generated Node #0,3,0: 23:[66, 41] Operation: 65-24=41 Exploring Operation: 66-24=42, Resulting Numbers: [65, 42] Generated Node #0,3,1: 23:[65, 42] Operation: 66-24=42 Exploring Operation: 66-65=1, Resulting Numbers: [24, 1] Generated Node #0,3,2: 23:[24, 1] Operation: 66-65=1 Exploring Operation: 66+65=131, Resulting Numbers: [24, 131] Generated Node #0,3,3: 23:[24, 131] Operation: 66+65=131 Moving to Node #0,1,1 Current State: 23:[1, 24], Operations: ['66-65=1', '63-39=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[39, 63, 66, 65], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [39, 63, 1] Generated Node #0,1: 23:[39, 63, 1] Operation: 66-65=1 Moving to Node #0,1 Current State: 23:[39, 63, 1], Operations: ['66-65=1'] Exploring Operation: 63-39=24, Resulting Numbers: [1, 24] Generated Node #0,1,1: 23:[1, 24] Operation: 63-39=24 Moving to Node #0,1,1 Current State: 23:[1, 24], Operations: ['66-65=1', '63-39=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 18, 71, 37, 74 ]
80
[ "18*37=666", "666/74=9", "71+9=80" ]
Current State: 80:[18, 71, 37, 74], Operations: [] Exploring Operation: 18*37=666, Resulting Numbers: [71, 74, 666] Generated Node #2: [71, 74, 666] from Operation: 18*37=666 Current State: 80:[71, 74, 666], Operations: ['18*37=666'] Exploring Operation: 666/74=9, Resulting Numbers: [71, 9] Generated Node #3: [71, 9] from Operation: 666/74=9 Current State: 80:[71, 9], Operations: ['18*37=666', '666/74=9'] Exploring Operation: 71+9=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[18, 71, 37, 74], Operations: [] Exploring Operation: 74-71=3, Resulting Numbers: [18, 37, 3] Generated Node #0,0: 80:[18, 37, 3] Operation: 74-71=3 Moving to Node #0,0 Current State: 80:[18, 37, 3], Operations: ['74-71=3'] Exploring Operation: 37-18=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 80:[3, 19] Operation: 37-18=19 Moving to Node #0,0,0 Current State: 80:[3, 19], Operations: ['74-71=3', '37-18=19'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,80 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 24, 43, 62, 11 ]
16
[ "24+43=67", "62-11=51", "67-51=16" ]
Current State: 16:[24, 43, 62, 11], Operations: [] Exploring Operation: 24+43=67, Resulting Numbers: [62, 11, 67] Generated Node #2: [62, 11, 67] from Operation: 24+43=67 Current State: 16:[62, 11, 67], Operations: ['24+43=67'] Exploring Operation: 62-11=51, Resulting Numbers: [67, 51] Generated Node #3: [67, 51] from Operation: 62-11=51 Current State: 16:[67, 51], Operations: ['24+43=67', '62-11=51'] Exploring Operation: 67-51=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[24, 43, 62, 11], Operations: [] Exploring Operation: 62-43=19, Resulting Numbers: [24, 11, 19] Generated Node #0,0: 16:[24, 11, 19] Operation: 62-43=19 Moving to Node #0,0 Current State: 16:[24, 11, 19], Operations: ['62-43=19'] Exploring Operation: 24-19=5, Resulting Numbers: [11, 5] Generated Node #0,0,0: 16:[11, 5] Operation: 24-19=5 Moving to Node #0,0,0 Current State: 16:[11, 5], Operations: ['62-43=19', '24-19=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[24, 43, 62, 11], Operations: [] Exploring Operation: 62-43=19, Resulting Numbers: [24, 11, 19] Generated Node #0,0: 16:[24, 11, 19] Operation: 62-43=19 Moving to Node #0,0 Current State: 16:[24, 11, 19], Operations: ['62-43=19'] Exploring Operation: 24-19=5, Resulting Numbers: [11, 5] Generated Node #0,0,0: 16:[11, 5] Operation: 24-19=5 Moving to Node #0,0,0 Current State: 16:[11, 5], Operations: ['62-43=19', '24-19=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 8, 76, 53, 16 ]
91
[ "8*76=608", "608/16=38", "53+38=91" ]
Current State: 91:[8, 76, 53, 16], Operations: [] Exploring Operation: 8*76=608, Resulting Numbers: [53, 16, 608] Generated Node #2: [53, 16, 608] from Operation: 8*76=608 Current State: 91:[53, 16, 608], Operations: ['8*76=608'] Exploring Operation: 608/16=38, Resulting Numbers: [53, 38] Generated Node #3: [53, 38] from Operation: 608/16=38 Current State: 91:[53, 38], Operations: ['8*76=608', '608/16=38'] Exploring Operation: 53+38=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[8, 76, 53, 16], Operations: [] Exploring Operation: 53+16=69, Resulting Numbers: [8, 76, 69] Generated Node #0,0: 91:[8, 76, 69] Operation: 53+16=69 Exploring Operation: 76-53=23, Resulting Numbers: [8, 16, 23] Generated Node #0,1: 91:[8, 16, 23] Operation: 76-53=23 Exploring Operation: 76+16=92, Resulting Numbers: [8, 53, 92] Generated Node #0,2: 91:[8, 53, 92] Operation: 76+16=92 Moving to Node #0,1 Current State: 91:[8, 16, 23], Operations: ['76-53=23'] Exploring Operation: 16-8=8, Resulting Numbers: [23, 8] Generated Node #0,1,0: 91:[23, 8] Operation: 16-8=8 Exploring Operation: 23-16=7, Resulting Numbers: [8, 7] Generated Node #0,1,1: 91:[8, 7] Operation: 23-16=7 Exploring Operation: 23-8=15, Resulting Numbers: [16, 15] Generated Node #0,1,2: 91:[16, 15] Operation: 23-8=15 Moving to Node #0,0 Current State: 91:[8, 76, 69], Operations: ['53+16=69'] Exploring Operation: 8+76=84, Resulting Numbers: [69, 84] Generated Node #0,0,0: 91:[69, 84] Operation: 8+76=84 Exploring Operation: 76-69=7, Resulting Numbers: [8, 7] Generated Node #0,0,1: 91:[8, 7] Operation: 76-69=7 Exploring Operation: 8+69=77, Resulting Numbers: [76, 77] Generated Node #0,0,2: 91:[76, 77] Operation: 8+69=77 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[8, 7], Operations: ['53+16=69', '76-69=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[69, 84], Operations: ['53+16=69', '8+76=84'] Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 69+84=153, Resulting Numbers: [153] 153,91 unequal: No Solution Exploring Operation: 69*84=5796, Resulting Numbers: [5796] 5796,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[76, 77], Operations: ['53+16=69', '8+69=77'] Exploring Operation: 76*77=5852, Resulting Numbers: [5852] 5852,91 unequal: No Solution Exploring Operation: 77-76=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 76+77=153, Resulting Numbers: [153] 153,91 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: 91:[8, 53, 92], Operations: ['76+16=92'] Exploring Operation: 92-53=39, Resulting Numbers: [8, 39] Generated Node #0,2,0: 91:[8, 39] Operation: 92-53=39 Exploring Operation: 53-8=45, Resulting Numbers: [92, 45] Generated Node #0,2,1: 91:[92, 45] Operation: 53-8=45 Exploring Operation: 8+53=61, Resulting Numbers: [92, 61] Generated Node #0,2,2: 91:[92, 61] Operation: 8+53=61 Moving to Node #0,1,1 Current State: 91:[8, 7], Operations: ['76-53=23', '23-16=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[16, 15], Operations: ['76-53=23', '23-8=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,91 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[23, 8], Operations: ['76-53=23', '16-8=8'] Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,91 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,91 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[8, 39], Operations: ['76+16=92', '92-53=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,91 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,91 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[92, 61], Operations: ['76+16=92', '8+53=61'] Exploring Operation: 92*61=5612, Resulting Numbers: [5612] 5612,91 unequal: No Solution Exploring Operation: 92-61=31, Resulting Numbers: [31] 31,91 unequal: No Solution Exploring Operation: 92+61=153, Resulting Numbers: [153] 153,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[92, 45], Operations: ['76+16=92', '53-8=45'] Exploring Operation: 92*45=4140, Resulting Numbers: [4140] 4140,91 unequal: No Solution Exploring Operation: 92+45=137, Resulting Numbers: [137] 137,91 unequal: No Solution Exploring Operation: 92-45=47, Resulting Numbers: [47] 47,91 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 50, 87, 9, 9 ]
37
[ "87-50=37", "9-9=0", "37+0=37" ]
Current State: 37:[50, 87, 9, 9], Operations: [] Exploring Operation: 87-50=37, Resulting Numbers: [9, 9, 37] Generated Node #2: [9, 9, 37] from Operation: 87-50=37 Current State: 37:[9, 9, 37], Operations: ['87-50=37'] Exploring Operation: 9-9=0, Resulting Numbers: [37, 0] Generated Node #3: [37, 0] from Operation: 9-9=0 Current State: 37:[37, 0], Operations: ['87-50=37', '9-9=0'] Exploring Operation: 37+0=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[50, 87, 9, 9], Operations: [] Exploring Operation: 87-50=37, Resulting Numbers: [9, 9, 37] Generated Node #0,0: 37:[9, 9, 37] Operation: 87-50=37 Exploring Operation: 50-9=41, Resulting Numbers: [87, 9, 41] Generated Node #0,1: 37:[87, 9, 41] Operation: 50-9=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[9, 9, 37], Operations: ['87-50=37'] Exploring Operation: 9/9=1, Resulting Numbers: [37, 1] Generated Node #0,0,0: 37:[37, 1] Operation: 9/9=1 Exploring Operation: 9+9=18, Resulting Numbers: [37, 18] Generated Node #0,0,1: 37:[37, 18] Operation: 9+9=18 Moving to Node #0,0,1 Current State: 37:[37, 18], Operations: ['87-50=37', '9+9=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[37, 1], Operations: ['87-50=37', '9/9=1'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[50, 87, 9, 9], Operations: [] Exploring Operation: 87-50=37, Resulting Numbers: [9, 9, 37] Generated Node #0,0: 37:[9, 9, 37] Operation: 87-50=37 Moving to Node #0,0 Current State: 37:[9, 9, 37], Operations: ['87-50=37'] Exploring Operation: 9/9=1, Resulting Numbers: [37, 1] Generated Node #0,0,0: 37:[37, 1] Operation: 9/9=1 Moving to Node #0,0,0 Current State: 37:[37, 1], Operations: ['87-50=37', '9/9=1'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 36, 43, 15, 90 ]
70
[ "43-15=28", "90*28=2520", "2520/36=70" ]
Current State: 70:[36, 43, 15, 90], Operations: [] Exploring Operation: 43-15=28, Resulting Numbers: [36, 90, 28] Generated Node #2: [36, 90, 28] from Operation: 43-15=28 Current State: 70:[36, 90, 28], Operations: ['43-15=28'] Exploring Operation: 90*28=2520, Resulting Numbers: [36, 2520] Generated Node #3: [36, 2520] from Operation: 90*28=2520 Current State: 70:[36, 2520], Operations: ['43-15=28', '90*28=2520'] Exploring Operation: 2520/36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[36, 43, 15, 90], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [36, 43, 6] Generated Node #0,0: 70:[36, 43, 6] Operation: 90/15=6 Exploring Operation: 90-15=75, Resulting Numbers: [36, 43, 75] Generated Node #0,1: 70:[36, 43, 75] Operation: 90-15=75 Exploring Operation: 90-43=47, Resulting Numbers: [36, 15, 47] Generated Node #0,2: 70:[36, 15, 47] Operation: 90-43=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[36, 43, 6], Operations: ['90/15=6'] Exploring Operation: 43-6=37, Resulting Numbers: [36, 37] Generated Node #0,0,0: 70:[36, 37] Operation: 43-6=37 Exploring Operation: 36/6=6, Resulting Numbers: [43, 6] Generated Node #0,0,1: 70:[43, 6] Operation: 36/6=6 Exploring Operation: 43-36=7, Resulting Numbers: [6, 7] Generated Node #0,0,2: 70:[6, 7] Operation: 43-36=7 Moving to Node #0,0,2 Current State: 70:[6, 7], Operations: ['90/15=6', '43-36=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[36, 37], Operations: ['90/15=6', '43-6=37'] Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,70 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[43, 6], Operations: ['90/15=6', '36/6=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[36, 43, 75], Operations: ['90-15=75'] Exploring Operation: 75-36=39, Resulting Numbers: [43, 39] Generated Node #0,1,0: 70:[43, 39] Operation: 75-36=39 Exploring Operation: 75-43=32, Resulting Numbers: [36, 32] Generated Node #0,1,1: 70:[36, 32] Operation: 75-43=32 Exploring Operation: 43-36=7, Resulting Numbers: [75, 7] Generated Node #0,1,2: 70:[75, 7] Operation: 43-36=7 Moving to Node #0,1,1 Current State: 70:[36, 32], Operations: ['90-15=75', '75-43=32'] Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,70 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[75, 7], Operations: ['90-15=75', '43-36=7'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,70 unequal: No Solution Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,70 unequal: No Solution Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[43, 39], Operations: ['90-15=75', '75-36=39'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 43*39=1677, Resulting Numbers: [1677] 1677,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[36, 15, 47], Operations: ['90-43=47'] Exploring Operation: 47-15=32, Resulting Numbers: [36, 32] Generated Node #0,2,0: 70:[36, 32] Operation: 47-15=32 Exploring Operation: 47-36=11, Resulting Numbers: [15, 11] Generated Node #0,2,1: 70:[15, 11] Operation: 47-36=11 Exploring Operation: 15+47=62, Resulting Numbers: [36, 62] Generated Node #0,2,2: 70:[36, 62] Operation: 15+47=62 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[15, 11], Operations: ['90-43=47', '47-36=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,70 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,70 unequal: No Solution No 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: 70:[36, 32], Operations: ['90-43=47', '47-15=32'] Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,70 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,70 unequal: No Solution No 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: 70:[36, 62], Operations: ['90-43=47', '15+47=62'] Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,70 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 86, 96, 13, 1 ]
23
[ "96-86=10", "13*1=13", "10+13=23" ]
Current State: 23:[86, 96, 13, 1], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [13, 1, 10] Generated Node #2: [13, 1, 10] from Operation: 96-86=10 Current State: 23:[13, 1, 10], Operations: ['96-86=10'] Exploring Operation: 13*1=13, Resulting Numbers: [10, 13] Generated Node #3: [10, 13] from Operation: 13*1=13 Current State: 23:[10, 13], Operations: ['96-86=10', '13*1=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[86, 96, 13, 1], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [13, 1, 10] Generated Node #0,0: 23:[13, 1, 10] Operation: 96-86=10 Exploring Operation: 86-1=85, Resulting Numbers: [96, 13, 85] Generated Node #0,1: 23:[96, 13, 85] Operation: 86-1=85 Exploring Operation: 86-13=73, Resulting Numbers: [96, 1, 73] Generated Node #0,2: 23:[96, 1, 73] Operation: 86-13=73 Exploring Operation: 96-13=83, Resulting Numbers: [86, 1, 83] Generated Node #0,3: 23:[86, 1, 83] Operation: 96-13=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[13, 1, 10], Operations: ['96-86=10'] Exploring Operation: 13+1=14, Resulting Numbers: [10, 14] Generated Node #0,0,0: 23:[10, 14] Operation: 13+1=14 Exploring Operation: 13+10=23, Resulting Numbers: [1, 23] Generated Node #0,0,1: 23:[1, 23] Operation: 13+10=23 Exploring Operation: 13*1=13, Resulting Numbers: [10, 13] Generated Node #0,0,2: 23:[10, 13] Operation: 13*1=13 Exploring Operation: 1+10=11, Resulting Numbers: [13, 11] Generated Node #0,0,3: 23:[13, 11] Operation: 1+10=11 Moving to Node #0,0,0 Current State: 23:[10, 14], Operations: ['96-86=10', '13+1=14'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,23 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[13, 11], Operations: ['96-86=10', '1+10=11'] Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,23 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[1, 23], Operations: ['96-86=10', '13+10=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[86, 96, 13, 1], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [13, 1, 10] Generated Node #0,0: 23:[13, 1, 10] Operation: 96-86=10 Moving to Node #0,0 Current State: 23:[13, 1, 10], Operations: ['96-86=10'] Exploring Operation: 13+10=23, Resulting Numbers: [1, 23] Generated Node #0,0,1: 23:[1, 23] Operation: 13+10=23 Moving to Node #0,0,1 Current State: 23:[1, 23], Operations: ['96-86=10', '13+10=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 70, 96, 30, 11 ]
64
[ "96-30=66", "66/11=6", "70-6=64" ]
Current State: 64:[70, 96, 30, 11], Operations: [] Exploring Operation: 96-30=66, Resulting Numbers: [70, 11, 66] Generated Node #2: [70, 11, 66] from Operation: 96-30=66 Current State: 64:[70, 11, 66], Operations: ['96-30=66'] Exploring Operation: 66/11=6, Resulting Numbers: [70, 6] Generated Node #3: [70, 6] from Operation: 66/11=6 Current State: 64:[70, 6], Operations: ['96-30=66', '66/11=6'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[70, 96, 30, 11], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [30, 11, 26] Generated Node #0,0: 64:[30, 11, 26] Operation: 96-70=26 Exploring Operation: 96-30=66, Resulting Numbers: [70, 11, 66] Generated Node #0,1: 64:[70, 11, 66] Operation: 96-30=66 Exploring Operation: 96-11=85, Resulting Numbers: [70, 30, 85] Generated Node #0,2: 64:[70, 30, 85] Operation: 96-11=85 Moving to Node #0,0 Current State: 64:[30, 11, 26], Operations: ['96-70=26'] Exploring Operation: 11+26=37, Resulting Numbers: [30, 37] Generated Node #0,0,0: 64:[30, 37] Operation: 11+26=37 Exploring Operation: 26-11=15, Resulting Numbers: [30, 15] Generated Node #0,0,1: 64:[30, 15] Operation: 26-11=15 Exploring Operation: 30-26=4, Resulting Numbers: [11, 4] Generated Node #0,0,2: 64:[11, 4] Operation: 30-26=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[30, 15], Operations: ['96-70=26', '26-11=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,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:[11, 4], Operations: ['96-70=26', '30-26=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,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:[30, 37], Operations: ['96-70=26', '11+26=37'] Exploring Operation: 30*37=1110, Resulting Numbers: [1110] 1110,64 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 30+37=67, Resulting Numbers: [67] 67,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:[70, 11, 66], Operations: ['96-30=66'] Exploring Operation: 70-66=4, Resulting Numbers: [11, 4] Generated Node #0,1,0: 64:[11, 4] Operation: 70-66=4 Exploring Operation: 66/11=6, Resulting Numbers: [70, 6] Generated Node #0,1,1: 64:[70, 6] Operation: 66/11=6 Exploring Operation: 70-11=59, Resulting Numbers: [66, 59] Generated Node #0,1,2: 64:[66, 59] Operation: 70-11=59 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[11, 4], Operations: ['96-30=66', '70-66=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[66, 59], Operations: ['96-30=66', '70-11=59'] Exploring Operation: 66*59=3894, Resulting Numbers: [3894] 3894,64 unequal: No Solution Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 66+59=125, Resulting Numbers: [125] 125,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[70, 6], Operations: ['96-30=66', '66/11=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,64 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[70, 96, 30, 11], Operations: [] Exploring Operation: 96-30=66, Resulting Numbers: [70, 11, 66] Generated Node #0,1: 64:[70, 11, 66] Operation: 96-30=66 Moving to Node #0,1 Current State: 64:[70, 11, 66], Operations: ['96-30=66'] Exploring Operation: 66/11=6, Resulting Numbers: [70, 6] Generated Node #0,1,1: 64:[70, 6] Operation: 66/11=6 Moving to Node #0,1,1 Current State: 64:[70, 6], Operations: ['96-30=66', '66/11=6'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic