lcg

function lcg(seed: integer): integer