Assuming the random numbers are being generated by an unknown random number generator that is practically indistinguishable from a "true" random source, then the answers are:
Is it possible predict the next number in the stream knowing the PDF and the stream?
No, this is either completely impossible even in theory, or a practical impossibility for most modern PRNGs. By practical impossibility I mean you would need to collect some huge number of samples e.g. $2^{128}$ and it would take longer than the lifetime of the universe and use up more energy than the suns output over its entire lifetime.
What kind of approach could be taken?
None, it is impossible, and AI won't help.
What if the random number generator was not so good . . .
Poorly designed random number generators can be predicted. Really old ones might fall to statistical analysis, and you could even train something like an LSTM to predict the next number in the sequence. This has nothing to do with the PDF, although you will need to reverse-engineer how the PDF is being produced in order to get at the raw PRNG outputs for analysis. Also, almost no modern computer language or library uses a random number function that is so simple.
For modern but insecure generators, such as the Mersenne Twister algorithm if you know or can reverse-engineer the algorithm being used, sometimes it may be possible to infer the current state of a random number generator from a certain number of samples. This is not really an AI issue though, but more closely related to cryptography. I believe the minimum number of samples to infer Mersenne Twister state is something like 640.