Say I want the first N numbers generated by PRNG to be some list [n1, n2, n3, n1, nx...]. Is there any way to accomplish this (basically find the appropriate seed for the PRNG?) in some efficient manor, short of bruteforcing it?
2026-03-27 16:47:08.1774630028
PRNG to generate a known set of values
30 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
What's the point? If you have a random number generator
g, you can write your own random number generatorhthat returnsn1,n2,...for the firstNcalls and thereafter returns the same asg.But to answer your question: if the PRNG is any good, then you will have to brute-force it, which will be impractical if
Nis more than about four or five.