If you had intimate knowledge of its formulas and input data, you can predict the outcome of a random number generator. In practice, however, the RNG itself is both hidden away and difficult to crack, so it is unlikely for anyone to accurately do the same from the limited perspective of the player.