Mathematical theory of biological periodicities: formulation of the n-body case.