A quadratic congruential generator is an extension of a multiplicative congruential generator in the form x2=(x12∗x0∗amodm)+c.