“…If m > 2, for each (p, q) pair, we find all possible third nucleotides r for which two additional constraints are met: (14) This results in a list of (p, q, r) triples from the RNA 3D structure file which satisfy all pairwise constraints for query motif nucleotides (1, 2, 3). Now we reject some of these partial candidates by applying the subset screening criterion (10) with I = {1, 2, 3}; we reject (p, q, r) triples for which (15) because we can be certain that any m-nucleotide candidate for which (p, q, r) correspond to ( (p 1 ,…, p k , q) for (1, 2,…, k, k + 1) provided that (16) so that all pairwise constraints between the k existing nucleotides and the one new nucleotide are met. We then use the subset screening criterion; we reject those candidates for which: (17) Here S * is the corresponding sum for (p 1 ,…, p k ).…”