A fast algorithm for counting the arrangements for packing identical items on a one-dimensional grid with application in DNAprotein and similar interactions
Molecular Recognition Centre and Department of Biochemistry, University of Bristol Medical School, University Walk Bristol BS8 1TD. UK
*To whom reprint requests should be sent
An algorithm is described, originally developed for use with DNAprotein complexes, which precisely counts the number of possible arrangements for non-overlapping items, each occupying M points, on a lattice of N such points. The algorithm counts the total number of arrangments for a given number of items and can be readily extended to count the number of arrangements which meet an additional criterion. Examples are given of two such classifications and of the application of one of them to a problem in DNAprotein interactions.
Received on August 9, 1991; accepted on January 9, 1992