...
Calling a PRNG in the same initial state, either without seeding it explicitly or by seeding it with the same value, results in generating the same sequence of random numbers in different runs of the program. If Consider a PRNG function is called 10 times consecutively to produce a sequence of 10 random numbers without being seeded, running the code for the first time with some seed value, and produces the sequence S = {r1, r2, r3, r4, r5, r6, r7, r8, r9, r10}
. If the PRNG is subsequently seeded with the same initial seed value, then it will generate the same sequence S
.
...