def jumpahead(self, n):

        if not n >= 0:
            raise ValueError("n must be >= 0")
        x, y, z = self._seed
        x = int(x * pow(171, n, 30269)) % 30269
        y = int(y * pow(172, n, 30307)) % 30307
        z = int(z * pow(170, n, 30323)) % 30323
        self._seed = x, y, z
Act as if n calls to random() were made, but quickly.
dataset/ETHPy150Open babble/babble/include/jython/Lib/random.py/WichmannHill.jumpahead