

   HHiigghhllyy CCoommppoossiittee NNuummbbeerrss

        nextn(n, factors=c(2,3,5))

   AArrgguummeennttss::

          n: an integer.

    factors: a vector of positive integer factors.

   DDeessccrriippttiioonn::

        `nextn' returns the smallest integer, greater than or
        equal to `n', which can be obtained as a product of
        powers of the values contained in `factors'.  `nextn'
        is intended to be used to find a suitable length to
        zero-pad the argument of `fft' to so that the transform
        is computed quickly.  The default value for `factors'
        ensures this.

   SSeeee AAllssoo::

        `convolve', `fft'.

