randommultiple
Randommultiple is a concept used in mathematics and computer science to describe a number chosen at random from the set of multiples of a given integer. Formally, let n be a nonzero integer. A random multiple X is defined as X = k n, where k is an integer random variable drawn from a specified distribution over integers.
In common practice, k is sampled uniformly from a finite interval [a, b], so that X takes
Properties of a randommultiple depend on the distribution of k. If E[k] = mu and Var(k) = sigma^2,
Applications of randommultiples include randomized algorithms that operate on multiples of a base value, simulations involving
See also: uniform distribution, random number generation, multiples, modular arithmetic.