Number-theoretic problems in pseudorandom number generation